Syntax#
\begin{matrix}…math body\end{matrix}Takes no arguments. Reading argspecs
Common tasks#
How to write a matrix with no fences#
How to wrap a bare matrix in your own delimiters#
matrix is the unfenced building block behind pmatrix and friends.
In TeXForm#
TeXForm reads the environment body in math mode.
See also#
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\begin{matrix}
a & b \\\\ c & d
\end{matrix} | Positive · baseline | Pass | Pass | Pass |