Syntax#
\begin{cases}…math body\end{cases}Takes no arguments. Reading argspecs
Common tasks#
How to write a piecewise function#
How to write a piecewise definition with text#
In TeXForm#
TeXForm reads the environment body in math mode.
See also#
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\begin{cases}
a & b \\\\ c & d
\end{cases} | Positive · baseline | Pass | Pass | Pass |