Math & Science2 Line equation with a large brace

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
dizzam
Posts: 3
Joined: Mon May 04, 2009 8:09 pm

2 Line equation with a large brace

Post by dizzam »

Hi all,

I've been trying to write an equation that you place on 2 lines, joined together with a large brace on the left.

I've tried using \left\{ but you need to add the right bit which I don't need. I've also tried \bigg\{ but I'm sure there's a proper way of doing it.

The equation should look like:

Code: Select all

V = { 0         L<x<G
         Inf       x
(the left brace to cover both lines)

thanks in advance!
Last edited by cgnieder on Wed Aug 07, 2013 1:32 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

fatra2
Posts: 126
Joined: Fri May 01, 2009 1:43 pm

Re: 2 Line equation with a large brace

Post by fatra2 »

Hi there,

It has been a long time, and I don't have a running LaTeX version in front of me. But from the top of my mind, have you tried the array environment, nested in the math mode.

Cheers
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

2 Line equation with a large brace

Post by Stefan Kottwitz »

Hi dizzam,

you could use the cases environment of amsmath, it's described in the amsmath user's guide.

Stefan
LaTeX.org admin
stefanfuglsang
Posts: 2
Joined: Tue May 12, 2009 11:34 am

2 Line equation with a large brace

Post by stefanfuglsang »

I am using something like this for a piecewise defined function:

Code: Select all

f(x)=\left\{
\begin{array}{c l}	
    x & x>0\\
    -x & x<0
\end{array}\right.
Note the \right. to avoid error messages (missing })
Last edited by cgnieder on Wed Aug 07, 2013 1:33 pm, edited 1 time in total.
dnemoc
Posts: 19
Joined: Mon May 11, 2009 2:29 pm

2 Line equation with a large brace

Post by dnemoc »

Hi dizzam,

I second Stefan: the

Code: Select all

\begin{cases} \end{cases}
works very nicely.

- D.
Post Reply