<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, 3 Jan 2025 at 05:07, Rolf Turner <<a href="mailto:rolfturner@posteo.net">rolfturner@posteo.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
In order to get the break<br>
to come after the third displayed equation, I have to put the<br>
\displaybreak command after the *second* equation. This makes no sense<br>
to me.<br>
<br>
Can anyone explain to me what I am missing? Or do I just have to say<br>
"Them's the breaks"? 🙂️<br></blockquote><div><br></div><div>your test file uses \pagebreak (which does not cause a break at all here) not \displaybreak <br></div><br><div><br></div><div>Your described result presumably means you had<br></div><div><br></div><div>\documentclass{article}<br>\usepackage{amsmath}<br>\allowdisplaybreaks<br>\begin{document}<br>\begin{align*}<br>x &= 1 \\<br>y &= 2 \\<br> \displaybreak z &= 3 \\<br>a &= 4 \\<br>b &= 5 \\<br>c &= 6 \\<br>\end{align*}<br>\end{document}<br></div><div><br></div><div><br></div><div>\displaybreak sets the penalty at the next \\ to force a page break if that is possible (and warns if not.)</div><div><br></div><div>This is similar to the behaviour of \pagebreak outside math, where if used in horizontal mode it causes a page break after the current line. This forces a page break after bbb not after aaa<br></div><div><br></div><div>\documentclass{article}<br><br>\begin{document}<br>aaa\\ \pagebreak<br>bbb\\<br>ccc<br>\end{document}</div><div><br></div><div><br></div><div><br></div><div>David</div><div><br></div></div></div>