# Numbering equations in cases environment separately

I have a problem with separate numbering of equations. My code is:

    \documentclass[10pt,a4paper]{article}
\usepackage{amsmath}
\usepackage[subnum]{cases}

\begin{document}
\begin{numcases}{n=}
y
\begin{cases}
x<2
\\
x>3
\end{cases}
\\
0
\end{numcases}
\end{document}


I'd like each of three cases to have their own number on its line. Can someone help me?

• Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. Mar 25, 2013 at 12:14
• It's not clear what you want to achieve: do you want nested numcases? Mar 25, 2013 at 12:32
• similar question: Separate labels in cases Mar 25, 2013 at 12:34
• Thank you for help, but I have there two cases environments and that is why I have problem. Is there any way to number equations separately if there are two cases environments used inside each other? Mar 25, 2013 at 12:59
• I think yes, what I want might be nested numcases. Is that possible? Mar 25, 2013 at 15:03

\begin{numcases}{n=}
\makebox[0pt][l]{\smash{\raisebox{-.5\baselineskip}{${} y \hspace{0.3em} \left\{\rule{0pt}{1.1\baselineskip}\right.$}}}