serhii.net

In the middle of the desert you can say anything you want

08 Sep 2023

Latex page-breaks

TL;DR \newpage~\newpage~\newpage~\newpage for 3 empty pages

\newpage doesn’t always work for well me in, esp. not in the IEEE and LREC templates. Either only one column is cleared, or there are issues with images/tables/… positions.

\clearpage works for me in all cases I’ve tried.

EDIT: but only one page, not multiple! For multiple empty pages one after the other this1 does the trick:

\newpage 
~\newpage 

ChatGPT thinks it works because ~ being a non-breaking space makes LaTex try to add both empty pages on the same page, leading to two empty pages. Somehow allowing a newline between new pages makes it interpret both pages as the same command, since it’s already a new page.

Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus