As much as I have tried, it doesn't seem possible to use separate labels when using a cases
construction (from the amsmath
package).
Ideally, I would like to be able to write something like
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
f(x)=\begin{cases}
1&x\geq0\label{positive}\\
0&x<0\label{negative}
\end{cases}
\end{equation}
\end{document}
and later refer to both cases at different places. What would be the best way to achieve this result?