TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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




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

share|improve this question
Welcome to TeX.sx! – texenthusiast Mar 25 '13 at 12:12
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}. – Jubobs Mar 25 '13 at 12:14
It's not clear what you want to achieve: do you want nested numcases? – egreg Mar 25 '13 at 12:32
similar question: Separate labels in cases – barbara beeton Mar 25 '13 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? – Suzie Mar 25 '13 at 12:59

Here is a way to go using some ideas from this answer:

\makebox[0pt][l]{\smash{\raisebox{-.5\baselineskip}{${} y \hspace{0.3em} \left\{\rule{0pt}{1.1\baselineskip}\right.$}}}
 \hphantom{{} y \hspace{1em} {}}\;\;x<2\\
 \hphantom{{} y \hspace{1em} {}}\;\;x>3\\

The output is the following:


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.