Syntax#
\begin{vmatrix}…math body\end{vmatrix}Takes no arguments. Reading argspecs
In TeXForm#
TeXForm reads the environment body in math mode.
Rewrite the fenced vmatrix environment to explicit vertical bars around a core matrix environment.
\begin{vmatrix} #1 \end{vmatrix} \left|\begin{matrix} #1 \end{matrix}\right|See also#
Test cases#
| Input | Case | MathJax | KaTeX | XeTeX |
|---|---|---|---|---|
\begin{vmatrix}
a & b \\\\ c & d
\end{vmatrix} | Positive · baseline | Pass | Pass | Pass |