Matricesdarray

darrayEnvironment

Used for array-style mathematical tables when displaystyle entries are desired throughout the cells, such as for larger fractions or operators inside an array.

\begin{darray}{cc} \frac{1}{2} & x \end{darray}
Topic
Matrices
Available in
base
Allowed mode
math
Body mode
math
Frequency
Not measured
Commonality
low
Tags
math-alignment, nestable, mathjax-extension
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: PartialXeTeX: None
About the test scope

Syntax#

\begin{darray}o[a]optional math contentm:C{cc}column template…math body\end{darray}

Argspec o m:C — one optional and one mandatory argument. Reading argspecs

Examples#

\begin{darray}[t]{cc} x & y \end{darray}

In TeXForm#

TeXForm reads the environment body in math mode.

See also#

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
\begin{darray}{cc} a & b \end{darray}Positive · baselinePassPassFail
\begin{darray}[a]{cc} a & b \end{darray}Positive · vary:o[0]PassFailFail
\begin{darray}cc a & b \end{darray}Positive · bare[1]PassPassFail
All 18 in Matrices