Alignmentalign

alignEnvironment

Displayed multi-line derivations and systems with alignment points, usually at relation signs.

\begin{align} a &= b \end{align}
Topic
Alignment
Available in
ams
Allowed mode
math
Body mode
math
Frequency
10.14% of corpus formulasrank 2 of 31
Commonality
high
Tags
math-alignment
Renderer support
PackageMathJaxKaTeXXeTeX
amsMathJax: FullKaTeX: NoneXeTeX: Full
About the test scope

Syntax#

\begin{align}…math body\end{align}

Takes no arguments. Reading argspecs

Common tasks#

How to align a multi-line derivation on equals#

\begin{align} a &= b + c \\ &= d \end{align}

How to align several equations at once#

\begin{align} x &= a+b \\ y &= c+d \end{align}

How to align two columns of equations#

Each extra alignment point needs a pair of & columns.

\begin{align} a &= b & c &= d \\ e &= f & g &= h \end{align}

In TeXForm#

TeXForm reads the environment body in math mode.

See also#

Test cases#

ams
InputCaseMathJaxKaTeXXeTeX
\begin{align} a & b \end{align}Positive · baselinePassFailPass
All 25 in Alignment