LaTeX Wiki
Advertisement

The cases environment provided by AMS-LaTeX renders a large curly-brace to the left of multiple lines. It can be used for piecewise-defined functions.

Example[]

Markup
f(n) = \begin{cases}
  n/2  & n \text{ is even} \\
  3n+1 & n \text{ is odd}
\end{cases}
Renders as
Advertisement