I am getting an error message when I try to use the multline
environment inside cases. This is my equation:
\begin{equation} \label{eq:SMSKIN_TU2009}
\begin{split}
SM_{SKIN,Int} &= SM_{SKIN,Old} + INI - Q_M - EA_{SKIN} + SM_{SKIN,Upd} \\
SM_{SKIN,New} &=
\begin{cases}
FC_{SKIN} &
\begin{multline}
\quad \text{if } SM_{SKIN,Int} > FC_{SKIN}, \quad Q_{SKIN} = SM_{SKIN,Int} - \\ FC_{SKIN}
\end{multline} \\
0 & \quad \text{if } SM_{SKIN,Int} < 0, \quad Q_{SKIN} = 0\\
SM_{SKIN,Int} & \quad \text{otherwise }, \quad Q_{SKIN} = 0\\
\end{cases}
\end{split}
\end{equation}
If I don't use the multline
environment, the equation is correctly displayed but the compiler throws a warning since the line doesn't fit the page.
I appreciate all your help. Thanks!
Best Answer
As @GuM has suggested, you could load the
mathtools
package (a superset of theamsmath
package) and use itsmultlined
environment instead of the illegalmultline
environment However, I think you're better off using a simple\parbox
to display the material in question.I would also use
\mathit
to typeset the multi-letter variable names and\mathrm
to typeset the acronyms placed in the subscripts.