Math & Science ⇒ Multi-line right brace
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?
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Multi-line right brace
Take a look at the empheq package from the mh bundle.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Multi-line right brace
What's wrong with this?
Code: Select all
\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: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Multi-line right brace
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.kaiserkarl13 wrote:What's wrong with this?Code: Select all
\begin{equation} f(x) = \left\{ \begin{array} 1 & x > 0 \\ 0 & x = 0 \\ -1 & x < 0 \end{array} \right. \end{equation}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Multi-line right brace
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:Code: Select all
\left.\begin{aligned}
Equation 1 \\
Equation 2 \\
Equation 3
\end{aligned}\right\rbrace
Multi-line right brace
Code: Select all
\begin{equation}
f(x) = \left\{
\begin{array}{cc}
1 & x > 0 \\
0 & x = 0 \\
-1 & x < 0
\end{array}
\right.
\end{equation}