Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm writing a paper in which I have long eqnarrays, many of them 10 lines or longer. Since TeX seems to not want to page-break these equations, this results in weird formatting, eg pages that have large amounts of whitespace and not much actual text. Is there any way to force TeX to page-break eqnarray equations in a natural way?

share|improve this question
    
Welcome to TeX.SE. Here is a related question that might be helpful: custom alignment of columns in align environment –  Peter Grill Jan 27 '12 at 18:10
1  
Don't use the eqnarray environment; instead, load the amsmath package and use its align environment. To allow page breaks, issue the statement \allowdisplaybreaks. –  Mico Jan 27 '12 at 18:19
add comment

1 Answer

up vote 10 down vote accepted

Avoid eqnarray! Use the amsmath package and its align environment to replace eqnarray. The \allowdisplaybreaks command in the preamble of your document will enable page breaks within equation arrays.

share|improve this answer
1  
As \allowdisplaybreaks will allow page break after any line in a display environment, its use should be limited to document preparation; for the final version, suitably chosen \displaybreak commands should be used at the spots where page breaks are more convenient. –  egreg Jan 27 '12 at 18:25
    
Just to add, with align, you specify only one & for each line, and it has to be on the left from the equals sign, like `\begin{align} f(x) &= x^2 \\ g(x) &= \sqrt x \end{align} –  tohecz Jan 27 '12 at 18:31
    
Wow, thanks! That was fast. Okay, sounds good: I'll try the align environment. –  Chuck Hague Jan 27 '12 at 18:46
add comment

Your Answer

 
discard

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.