1

I want to write two equations in consecutive lines and I want to give them a single equation number. Often, in notebooks, we write multiple equations in consecutive lines and use a big } sign to allocate only a single equation number. Is it possible to do the same in LaTex? If yes, how do I do that?

I hope I could clearly state my problem.

marked as duplicate by Stefan Pinnow, Phelype Oleinik, TeXnician, Werner equations Apr 16 '18 at 16:55

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • No, this is not what I was asking. I want to put one big } at the end of line which covers both equations and at the end of the } the equation number would be given. – Samapan Bhadury Apr 16 '18 at 15:47
  • 1
    you could use the rcases environment as shown in this answer: tex.stackexchange.com/a/196634/579 – barbara beeton Apr 16 '18 at 16:13
4

Simpler: load mathtools (needless to load amsmath in this case: the latter does it for you) and use its rcases environment:

\begin{equation}
    \begin{rcases}
        x = y \\
        w = z
    \end{rcases} = xy
  \end{equation

enter image description here

2

Use align and don't number the first one.

\begin{align}
 x &= y \nonumber \\
 w &= z 
 \end{align}

You can try this also:

  \begin{equation}
    \left.\begin{array}{ll}
        x &= y \\
        w &= z
        \end{array}\right\}
  \end{equation}
  • this is putting the whole equation in a single line in the pdf. But I wanted separate lines. – Samapan Bhadury Apr 16 '18 at 15:52
  • @SamapanBhadury I missed a `\\`. See the edited anwer. – nidhin Apr 16 '18 at 15:57
  • Okay, I got what you are trying to tell. But the problem with this format is, the equation number is being implied to the later equation only. Whereas i want to give a set of relations the same equation number. And I think that can be implied by, using a curly bracket that stretches to multiple lines and is at the end of line to the right of which the equation number can be put. Is this even possible to do in LaTex? – Samapan Bhadury Apr 16 '18 at 16:01
  • Thanks. It was the second answer, that I was looking for. Problem solved. Thanks – Samapan Bhadury Apr 16 '18 at 16:03
0
\begin{equation}
\left.
\begin{array}{c}
A=7\\
B=8
\end{array}
\right\}
\end{equation}

Try the above code.

  • It is showing the following error: ! Missing delimiter (. inserted).<to be read again>} ...in{array}{c} A=7\ B=8 \end{array} \right} ! Missing delimiter (. inserted).<to be read again>} ...in{array}{c} A=7\ B=8 \end{array} \right} – Samapan Bhadury Apr 16 '18 at 15:54
  • \begin{equation} \left. \begin{array}{c} A=7\\ B=8 \end{array} \right\} \end{equation} Try the above code – SaBha Apr 16 '18 at 16:12
  • @SamapanBhadury it should read \right\}, note that dash before the }. – daleif Apr 16 '18 at 16:15

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