Re: Pagebreaks in an aligned environment.
Lars Madsen via texhax <[email protected]>
| Newsgroups | gmane.comp.tex.texhax |
|---|---|
| Message-ID | <HE1PR0102MB2844FF6C4068930BA37D70F7F2152@HE1PR0102MB2844.eurprd01.prod.exchangelabs.com> |
Note that the proper method to discourage page breaks is to use \\* between the lines that should not be broken. \pagebreak or \newpage is not supported in any display math construction that I know of. The former is just ignored, the latter gives an error. Lars Madsen Programmør Institut for Matematik Aarhus Universitet person.au.dk/daleif@math<https://person.au.dk/daleif@math> ________________________________ From: texhax <[email protected]> on behalf of Rolf Turner <[email protected]> Sent: 03 January 2025 06:06 To: [email protected] <[email protected]> Subject: Pagebreaks in an aligned environment. I can get the results that I want, but the syntax does not make sense to me. So I thought I'd try to augment my understanding. I found from web-searching that a fundamental requirement is to put \allowdisplaybreaks in the preamble. This has the desired effect, but my situation is that I am not happy with the point at which LaTeX chooses to put the break. I tried putting in a \pagebreak command at the point where I wanted the break, but this command seemed to be ignored. More web-searching led me to the \displaybreak command. This "works", but what puzzles me is that I have to put this command one line *before* the point at which I want the break to come. The attached file demo.tex demonstrates the phenomenon. In order to get the break to come after the third displayed equation, I have to put the \displaybreak command after the *second* equation. This makes no sense to me. Can anyone explain to me what I am missing? Or do I just have to say "Them's the breaks"? 🙂️ cheers, Rolf -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretaries) phone: +64-9-373-7599 ext. 89622 Home phone: +64-9-480-4619