I'm trying to put a stroke across an equation inside the cases mode. I tried both ulem and soul packages but I don't understand how they work in the cases environment.
This is what I got with ulem:
while if I use $ in \sout I got an error.
And here is the code:
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{mathtools}
\usepackage[normalem]{ulem}
\begin{document}
\[\begin{cases}
\sout{f(x) \geq 0} \\
g(x) \geq 0 \\
\end{cases}\]
% \[\begin{cases}
% \sout{$f(x) \geq 0$} \\
% g(x) \geq 0 \\
% \end{cases}\]
\end{document}

\soutis a text-mode command provided by theulempackage. To "cancel" terms inside math mode, load thecancelpackage and write, say,\cancel{f(x) \geq 0}. – Mico Nov 28 '17 at 13:17\[\begin{cases} \cancel{f(x) \geq 0} \\ g(x) \geq 0 \\ \end{cases}\]with thecancelpackage?? – Steven B. Segletes Nov 28 '17 at 13:18