Alignmentalignedat

alignedatEnvironment

Used as a nested aligned equation structure with a fixed number of column pairs, often inside another display, with optional top/center/bottom vertical positioning.

\begin{alignedat}{1}a&=b\end{alignedat}
Topic
Alignment
Available in
ams
Allowed mode
math
Body mode
math
Frequency
0.01% of corpus formulasrank 26 of 31
Commonality
low
Tags
math-alignment, nestable
Renderer support
PackageMathJaxKaTeXXeTeX
amsMathJax: FullKaTeX: PartialXeTeX: Full
About the test scope

Syntax#

\begin{alignedat}o[a]optional math contentm:I{1}integer…math body\end{alignedat}

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

Examples#

\begin{alignedat}[t]{1}a&=b\end{alignedat}

In TeXForm#

TeXForm reads the environment body in math mode.

See also#

Test cases#

ams
InputCaseMathJaxKaTeXXeTeX
\begin{alignedat}{1} a & b \end{alignedat}Positive · baselinePassPassPass
\begin{alignedat}[a]{1} a & b \end{alignedat}Positive · vary:o[0]PassFailPass
\begin{alignedat}1 a & b \end{alignedat}Positive · bare[1]PassPassPass
\begin{alignedat}{a} a & b \end{alignedat}Negative · neg:I[1]FailFailFail
All 25 in Alignment