Documentation/Spacing & Layout/How to Force a Page Break in LaTeX
Spacing & Layout

How to Force a Page Break in LaTeX

While LaTeX handles pagination automatically, there are times when you need to force a page break — before a new chapter, after a title page, or to push floats out. LaTeX provides three commands with different behaviors: \newpage, \clearpage, and \cleardoublepage. Knowing which to use prevents unexpected blank pages and misplaced figures. Bibby AI highlights forced page breaks with a visual marker in the editor, making them easy to locate and manage compared to invisible commands in Overleaf.

\newpage vs \clearpage

\newpage starts a new page but may leave pending floats. \clearpage starts a new page AND flushes all pending floats first:

\documentclass{article}
\begin{document}

\section{First Section}
Content of first section...

% Simple page break (floats may still be pending)
\newpage

\section{Second Section}
Content of second section...

% Page break that also outputs all pending figures/tables
\clearpage

\section{Third Section}
All previous floats appear before this section.

\end{document}

\cleardoublepage for Two-Sided Documents

In two-sided documents (books), \cleardoublepage ensures the next content starts on a right-hand (odd) page, inserting a blank page if necessary:

\documentclass[twoside]{book}
\begin{document}

\chapter{Chapter 1}
Content...

% Forces next chapter to start on a right-hand page
\cleardoublepage

\chapter{Chapter 2}
This chapter always starts on a right (odd) page.

% Customize the blank page that \cleardoublepage inserts
\makeatletter
\renewcommand{\cleardoublepage}{%
    \clearpage
    \if@twoside
        \ifodd\c@page\else
            \thispagestyle{empty}
            \hbox{}
            \newpage
        \fi
    \fi
}
\makeatother

\end{document}

💡 Tips

  • Use \clearpage before major sections to ensure all figures and tables from the previous section are placed.
  • \newpage in twocolumn mode only breaks the current column — use \clearpage to break the entire page.
  • Avoid excessive \newpage commands — they create rigid layout that breaks when you edit content later.
  • Bibby AI marks forced page breaks with a visual rule in the editor gutter, so they're easy to find and remove.

Try This in Bibby AI

Write LaTeX faster with AI auto-complete and instant compilation.

Start Writing Free

Related Tutorials

How to Force a Page Break in LaTeX | Bibby AI