# [texhax] long curly braces in an equation

Justin C. Walker justin at mac.com
Tue Jul 12 05:19:48 CEST 2005

On Jul 11, 2005, at 19:27 , M.N.A.Smadi wrote:

> hi;
> if i have an equation like this:
>
>
> S:=(i,j) s.t. {i = 0..M, j =0..N       for M >N
>                    {i=0..M, j=0..M        for N > M
>
> I wan to write one long curly brace on the left and have both lines
> in it.  any idea?

This is discussed in The Guide To Latex (Kopka/Daly, 3rd ed., p 130,
sec. 5.4.1).  You need automatic sizing of brackets, and a contained
array, as in

p\equiv\left\{\begin{array}{ll}1\pmod{4}&\Rightarrow F=\mathbb{Q}
(\sqrt{p})\\
3\pmod{4}&\Rightarrow F=\mathbb{Q}(\sqrt{-p})\end{array}\right.

(which needs to be typeset in math mode).  I didn't find anything in
the FAQ (not sure exactly what to search for); the automatic sizing
of brackets is discussed there.

HTH.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
Men are from Earth.
Women are from Earth.
Deal with it.
--------