## LaTeX forum ⇒ Math & Science ⇒ Multi-line right brace Topic is solved

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
AkkawiRS
Posts: 1
Joined: Sat Oct 08, 2011 1:14 pm

### Multi-line right brace

Hey guys, I'm writing a 3-line equation and need a brace to join them all on the right side. I know I can use "\begin{cases}" but that gives me a brace on the left side. What do you propose?

Tags:

localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany
Take a look at the empheq package from the mh bundle.

Best regards and welcome to the board
Thorsten
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

kaiserkarl13
Posts: 582
Joined: Tue Mar 25, 2008 5:02 pm
Location: Columbia, Missouri, USA
What's wrong with this?
\begin{equation}   f(x) = \left\{   \begin{array}     1 & x > 0 \\     0 & x = 0 \\     -1 & x < 0   \end{array}   \right.\end{equation}

localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany
kaiserkarl13 wrote:What's wrong with this?
\begin{equation}   f(x) = \left\{   \begin{array}     1 & x > 0 \\     0 & x = 0 \\     -1 & x < 0   \end{array}   \right.\end{equation}

It still has a brace on the left side. And the OP wants a brace at the right side. Furthermore it is unclear if the OP wants that brace beside equations which are numbered separately.
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

Posts: 4
Joined: Mon Apr 15, 2013 3:58 pm
I don't think he wants to number them, if what he writes is correct. (I'm taking the fact that he states he could use the {cases} environment into consideration.) He could do it this way:

\left.\begin{aligned}Equation 1 \\Equation 2 \\Equation 3\end{aligned}\right\rbrace

Owolabi
Posts: 1
Joined: Thu Jun 22, 2017 6:25 am
\begin{equation}   f(x) = \left\{   \begin{array}{cc}     1 & x > 0 \\     0 & x = 0 \\     -1 & x < 0   \end{array}   \right.\end{equation}