3

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?

10

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.

  • 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} – yo' 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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