I understand from other posts that a single float should automatically be centered vertically on the page; however, this does not seem to be the case in my code. Why?

I use the book class.

Both examples below result in the figures being placed on the top of the page.


  • 1
    If you use \begin{figure}[p] or \begin{figure}[H] it does work (unless you have specific stuff that interfers with them). Note that the latter requires the float package. Commented Sep 2, 2013 at 17:56
  • 2
    @karlkoeller not H unless your normal page text is vertically centred which isn't usually the case Commented Sep 2, 2013 at 18:07
  • It seems that \begin{figure}[p] did the trick. However, \begin{figure}[H] does not work even with the float package. I have noticed that the large figures got centered when they happend to be alone on the page, but when I added a \clearpage after each figure this changed.
    – Mykje
    Commented Sep 2, 2013 at 18:07
  • @David, sure, you're right. But strangely it works if you don't load float ?!? Any thought? Is it because H is not recognised and p is used as default? Commented Sep 2, 2013 at 18:27
  • @karlkoeller well htpb is default and presumably it ended up being p Commented Sep 2, 2013 at 19:45

1 Answer 1


The problem is solved by using

  • did not work with me, the image just dissappared \begin{figure}[p]\includegraphics{./img.png}\end{figure}, why?
    – hhh
    Commented Aug 15, 2015 at 20:56
  • [p] moves floats to a special page for floats only, so the image probably moved to its own page. Commented Jul 17, 2016 at 19:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .