Combined cover frequently overflows
Opened this issue · 2 comments
kingjon3377 commented
Unless the chosen image is particularly wide compared to its height, the \tartanimagecover
command frequently overflows the bottom-text to the next page. We should:
- Strongly suppress a page break after the image and suggest one after the bottom-text
- Account for the height of the bottom-text when calculating how tall the image is allowed to be.
kingjon3377 commented
This is alleviated, but not really fixed, by 8fcbffd.
kingjon3377 commented
I managed to implement something that I think should solve this, using the solution explained in this StackOverflow answer, but didn't commit it because it caused the \clearpage
at the beginning of the cover to insert a page break even though the cover was (supposed to be) the first page and there wasn't anything visible on the "previous" page.