As much as I have tried, it doesn't seem possible to use separate labels when using a casesconstruction (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?



subnumpackage option that turns everynumcasesenvironment into asubnumcasesone. – FelixCQ Oct 19 '11 at 06:23previewto the\documentclassinstruction. The default behavior of thestandalonedocument class has changed since 2011, and your MWE won't compile correctly any longer without thepreviewoption. – Mico Aug 03 '14 at 12:45