Longtable has wonderful logic that allows it to continue to the next page. However, if you have one longtable after another it can be jarring to the reader to follow a complex heading from the previous page - or have to re-read the heading. I have a situation where I would like to suppress this behavior and instead have a pagebreak after the first table, pushing the header to the next page:
Let's say you have two longtables, L1 and L2 and two pages, P1 and P2:
This is a psuedocode illustration of the current functionality.
P1 - L1
P1 - L2
P2 - ...L2
However, what I want is that if L2 would cross pages that it instead gets pushed to the next page.
P1 - L1
P2 - L2

\clearpagebefore the second table – David Carlisle Feb 21 '22 at 19:36I was previously using this solution (https://tex.stackexchange.com/questions/94699/absolutely-definitely-preventing-page-break) but it doesn't seem to work anymore. Instead giving off a dimension error.
– Brandon Bertelsen Feb 21 '22 at 19:43\\*at the end of every row. Are there any caveats that you can think of with that? – Brandon Bertelsen Feb 21 '22 at 20:04