Next: \newpage, Up: Page breaking [Contents][Index]
\clearpage & \cleardoublepageSynopsis:
\clearpage
or
\cleardoublepage
End the current page and output all of the pending floating figures and
tables (see Floats). If there are too many floats to fit on the
page then LaTeX will put in extra pages containing only floats. In
two-sided printing, \cleardoublepage also makes the next page of
content a right-hand page, an odd-numbered page, if necessary inserting
a blank page. The \clearpage command is robust while
\cleardoublepage is fragile (see \protect).
LaTeX’s page breaks are optimized so ordinarily you only use this command in a document body to polish the final version, or inside commands.
The \cleardoublepage command will put in a blank page, but it
will have the running headers and footers. To get a really blank
page, use this command.
\let\origdoublepage\cleardoublepage
\newcommand{\clearemptydoublepage}{%
\clearpage
{\pagestyle{empty}\origdoublepage}%
}
If you want LaTeX’s standard \chapter command to do this then
add the line \let\cleardoublepage\clearemptydoublepage.
The command \newpage (see \newpage) also ends the current
page, but without clearing pending floats. And, if LaTeX is in
two-column mode then \newpage ends the current column while
\clearpage and \cleardoublepage end the current page.