Alignmentmultline

multlineEnvironment

Used for long equations that span multiple lines, typically with the first line left-justified, the last line right-justified, and middle lines centered.

\begin{multline} a+b \end{multline}
Topic
Alignment
Available in
ams
Allowed mode
math
Body mode
math
Frequency
0.44% of corpus formulasrank 13 of 31
Commonality
medium
Tags
math-alignment
Renderer support
PackageMathJaxKaTeXXeTeX
amsMathJax: FullKaTeX: NoneXeTeX: Full
About the test scope

Syntax#

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

Takes no arguments. Reading argspecs

Common tasks#

How to break a long equation across lines#

First line flush left, last line flush right; no & alignment.

\begin{multline} a+b+c+d \\ +e+f+g \end{multline}

How to split a long expansion#

\begin{multline} (1+x)^n = 1+nx \\ +\frac{n(n-1)}{2}x^2+\cdots \end{multline}

In TeXForm#

TeXForm reads the environment body in math mode.

See also#

Test cases#

ams
InputCaseMathJaxKaTeXXeTeX
\begin{multline} a \end{multline}Positive · baselinePassFailPass
All 25 in Alignment