# formula transfer to a new line

How I can make a transfer of a long math equation in a new line? I suppose there are at least two methods: manually by hands and adjust math container to do that automatically. Can you show me, please this two methods.

-
Welcome to TeX.SE! Please post an example of an equation that you need to get broken across two or more lines. –  Mico Apr 23 '12 at 2:43

If you want to make an equation centered on its own line, put it inside $...$.

If you want to break a long equation across many lines, the align environment from the amsmath package is a great tool.

Here is a basic example:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\noindent Here is an equation centered on its own line:
$ax + by + cz = 2x + 3y + 4z$
And here is an equation broken across multiple lines:
\begin{align*}
ax + by + cz
& = 2x + 3y + 4z \\
& = z \left( 2\frac{x}{z} + 3\frac{y}{z} + 4 \right)
\quad \text{(as long as $z \neq 0$)} \\
& = 0
\end{align*}
\end{document}


-
+1 from me, nice work –  cmhughes Apr 23 '12 at 14:23
Note that \begin{align} means you don't need to do . Additionally, if you try to nest them, you will get an error. –  Seanny123 Jul 24 at 16:24