Thanks to the answer provided here, however, is it possible that I only number some of the conditions instead all?
Asked
Active
Viewed 641 times
1 Answers
1
\documentclass[margin=3mm, preview]{standalone}
\usepackage{amsmath}
\usepackage{cases}
\begin{document}
\begin{numcases}{f(x)=}
1 & $x>0$ \label{positive} \\
0 & $x=0$ \notag \\ % <-- not numbered case, you also can use \nonumber
-1 & $x<0$ \label{negative}
\end{numcases}
See \eqref{positive} or the \eqref{negative} \dots
\end{document}
Zarko
- 296,517

alignenvironment, how can you label some (but not all) of the equations? – Werner Jun 13 '17 at 05:57