I need to make a "pagebreak" after a figure so I use \clearpage. But I want the figure to stay at the top of the page and not centering at the now empty page. My code right now looks like:



  • One assumes the figure actually fits the entire page (or close to it)? And you have surrounding text you want to flow as per usual? – Werner Jun 23 '16 at 16:13
  • \makeatletter\setlength\@fptop{0pt}\makeatother – David Carlisle Jun 23 '16 at 16:15
  • or use \newpage rather than \clearpage – David Carlisle Jun 23 '16 at 16:16

You can use afterpage to perform some magic between page shipouts:

enter image description here


\usepackage{showframe,lipsum}% Just for this example


\section{First section}\lipsum[1-3]


\clearpage% or more text (like \lipsum[4-6])

\section{Second section}\lipsum[4-6]


The image is stored in a non-float (using float's [H]ere float specifier) and output after the current page, together with a \clearpage. That ensure the figure appears on its own at the top between two pages of continuous content.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.