13

I have a series of equations steps, about 20 lines or so. I would like to have it automatically decide page break when necessary, but it resists and always tries to stay in a whole page, rendering the previous page a lot of while space.

I tried \allowdisplaybreaks and \displaybreak, but doesn't seem to work.

{\allowdisplaybreaks\begin{equation}\allowdisplaybreaks[4]
\begin{split}\allowdisplaybreaks
\alpha\beta\gamma&=abc\\
=def\\
=ghi\\
\end{split}
\end{equation}}
1
  • 1
    Have you consider accepting the answer?
    – luchonacho
    Commented Jul 12, 2017 at 19:58

1 Answer 1

14

From page 6 of the amsmath manual:

Certain equation environments wrap their contents in an unbreakable box, with the consequence that neither \displaybreak nor \allowdisplaybreaks will have any effect on them. These include split, aligned, gathered, and alignedat.

Put differently, use an align environment -- along with something like \allowdisplaybreaks.

Personally I always try to break up long sequences of equations with a few words or sentences.

7
  • 1
    This is a nice workaround but not really a solution. I think its a bug in LaTeX. Commented Dec 15, 2012 at 18:21
  • 2
    It is not a bug in LaTeX. It is the behaviour described by the package manual. Commented Dec 16, 2012 at 16:30
  • 1
    @IanThompson: In fairness, documenting an undesirable behaviour doesn't make it desirable by decree. This being fixed is not beyond debate in my opinion. :)
    – Neil G
    Commented Dec 24, 2012 at 6:53
  • 3
    You could justifiably argue that it is a limitation of the amsmath package, but it is neither a bug nor part of LaTeX itself. Commented Dec 30, 2012 at 18:04
  • @IanThompson -- the decision to disallow page breaking with split was based on long-standing publishing practice. you may disagree with it, but i believe i can find published documentation (from the metal type era) supporting it. Commented Jul 13, 2017 at 1:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .