[OS X TeX] multiline bracket in a table, text in math mode?

Claus Gerhardt gerhardt at math.uni-heidelberg.de
Wed Oct 4 13:46:37 EDT 2006


I defined a new environment rcases (with a right brace), needs amsmath.

\makeatletter
\newenvironment{rcases}{%
   \matrix at check\rcases\env at rcases
}{%
   \endarray\right\rbrace%
}
\def\env at rcases{%
   \let\@ifnextchar\new at ifnextchar
\left.
   \def\arraystretch{1.2}%
   \array{@{}l@{}l@{}}%
}\makeatother


Use it as in

\begin{equation}
\text{il}\quad
\begin{rcases}
a\\
b\\
c
\end{rcases}
\quad \text{text}
\end{equation}


Claus
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list