1. Apr 3, 2013

Hi all,

I need to type very long equations in LATEX.

x = x'' + y'' + blah blah blah + z'' + blah ...\end {equation}

When I compile and create the pdf , the equations(the long ones) run into the edge of the page and beyond.

I want the RHS to start in the

2. Jul 1, 2013

### djelovin

You should use "eqnarray" instead of "equation". Eg.
\begin{eqnarray}
blah blah blah 1 \nonumber\\
blah blah blah 2 \nonumber\\
...
blah blah blah end
\end{eqnarray}

3. Jul 2, 2013

### Hypersphere

I prefer using "align" for most things. While I'm not as fanatical as some, align is just more consistent and generally looks nicer. (Although I'm not entirely happy about the lack of space after the + in the second row on the board.)

\begin{align} x &= x'' + blah blah \nonumber\\ &+ y''+ blah blah \end{align}

4. Jul 9, 2013

### wle

I think the recommendation for multi-line equations nowadays is to use the multline environment where it works, and use the IEEEeqnarray environment (provided by the IEEEtrantools package) for everything else. IEEEeqnarray is an environment for the display of aligned equations that's more flexible than either align or eqnarray, without the formatting problems of the eqnarray environment.

The Not So Short Introduction to LaTeX2e recommends IEEEeqnarray this way in its math section as of a couple of years ago. There's also a more detailed overview available here.