I'd like to have a cases
environment with some cases that are too long to fit on one line. I tried this:
\begin{cases}
\begin{split}
long expression \\ second line of long expression
\end{split} & condition \\
...
but I get the warning
Package amsmath Warning: Cannot use 'split' here; trying to recover with 'aligned' on input line 201.
It automatically replaces the split
with an aligned
environment, which looks like this:
Is there any way to get these long expressions to behave like they were in split
or multline
environments, with the top line flush left and the next line indented a little?
cases
changes totextstyle
, butaligned
changes back todisplaystyle
(so you get bigger fractions and sums, etc.). As explained in this answer, you can get back totextstyle
by defining a new environmenttalign
that redefinesdisplaystyle
astextstyle
. (You could also do that manually in a group, if you prefer.)