This text is in Markdown.

This uses \ [ and \ ] for LaTeX equations without alignment:

\[ 3 = 1 + 2 \\ = 2 + 1 \]

This uses \ [ and \ ] with "align" for LaTeX equations with alignment, but throws a (recoverable) error:

\[ \begin{align} 3 &= 1 + 2 \\ &= 2 + 1 \end{align} \]

With explicit begin/end align and "\newline":

\begin{align} 3 &= 1 + 2 \newline &= 2 + 1 \end{align} With explicit begin/end align and backslash newline: \begin{align} 3 &= 1 + 2 \\\ &= 2 + 1 \end{align}

(End Markdown)

This text is in LaTeX.

\begin{align}
3 & =1+2 \\
& =2+1\\
\end{align}

## Share on Social Media