Math & ScienceOver a page long equation hassle

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Makaremi
Posts: 13
Joined: Tue May 25, 2010 8:59 pm

Over a page long equation hassle

Post by Makaremi »

Hi folks,

I have a pretty long equation which goes over a page. I am using the following format for representation (obviously what i'm dealing with is much longer).

Code: Select all

\begin{eqnarray}
sth_left&=&sth_right\nonumber\\
&=&sth_else_right\nonumber\\
&=&final_line,
\end{eqnarray}
My problem is that the equation doesn't break down into two pages, and latex tries to fit them all in one single page, which looks ugly. The template I am using is provided by Elsevier. I have another latex file with the same setting and a long equation. I see it broken down in two pages, but it does not work with the new equation which is a bit longer.
Any clue? I highly appreciate your help.
Last edited by Makaremi on Wed Sep 01, 2010 12:11 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Over a page long equation hassle

Post by localghost »

Do not use the eqnarray environment [1]. Include the amsmath package and use its align environment in conjunction with the preamble command \allowdisplaybreaks. For other useful information take a look at the »Math mode« document.

[1] The PracTeX Journal — TeX Users Group, Lars Madsen: Avoid eqnarray!


Thorsten
Makaremi
Posts: 13
Joined: Tue May 25, 2010 8:59 pm

Re: Over a page long equation hassle

Post by Makaremi »

sweeeet
Post Reply