This question stems from Add text at an optional page-break only when breaking occurs and David Carlisle's excellent answer.
The question there was how to put text between tables when there is an (optional) page-break, e.g.
[ Table 1 ] Continued on next page ---- page break ---- Continued from previous page [ Table 2 ]
David's answer was to use a longtable. The question I have here is if one has three or more tables, how can one insert custom text between each table when there is a page break between them. For example:
[ Table 1 ] The result of Table 1, XYZ, is carried over to the next page. ---- page break ---- The result of Table 1 being: XYZ (for more details see the previous page) [ Table 2 ] The conclusion of Table 2, XYZ, is used on the next page. ---- page break ---- The conclusion of Table 2, being: XYZ, is calculated on the previous page. [ Table 3 ]
The problem with the
longtable is that the optional text must be identical between tables (i.e. one cannot customize it as between tables). Multiple
longtable environments would overlap (i.e. a
longtable for Table 1 + 2, and Table 2 + 3).
Is there a solution where one can have 'custom' optional text between tables that break across a page?
I would expect that a solution for tables could be extended to parboxes.
Thanks for reading.