TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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
up vote 7 down vote accepted

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:

\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:
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

enter image description here

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.