I have an equation using a cases
environment, with one case with a long description text:
\begin{eqnarray*}
\begin{cases}
1 \text{too long description of the first case,
not fitting on the page}\\
0 \text{shorter description}
\end{cases}
\end{eqnarray*}
The text of the first case is cut of, as it is too long for my page width.
How can I let LaTeX split the line? Using a matrix does not seem like a clean solution to me…
Best Answer
You could use
\parbox
with top alignment:Further, better avoid the old
eqnarray
environment. Usealign
or another multi-line displayed math environment ofamsmath
. Here, even simplyequation*
or\[ ... \]
would be sufficient, since it's a single line, and also doesn't need alignment.cases
within is multi-line, but that doesn't matter for the outer environment.