Two floats are giving me trouble. Together, they would fit comfortably on a page with enough space for some text and yet, if theres so few as one line of text on the page, the second Float will be moved to the next page:

enter image description here

Here's the same page with no text:

enter image description here

As you can see, there a huge amount of white space between the floats, more that enough to acommodate the text and yet, it won't fit.

enter image description here

Here's an example from the next page, where the text fits snugly around the float. It seems to me that two floats can't be right next to each other? I'm not quite sure what of the Latex source is needed if any for someone to figure this out, I will provide it as needed. The figures are using [htb].

  • Welcome to TeX.SX! This could depend on many factors, the main one being the class you're using.
    – egreg
    Mar 24, 2018 at 21:47
  • Thank you! The document class is \documentclass[a4paper,twoside,openright,11pt]{book} as per the template I'm using.
    – Marv
    Mar 24, 2018 at 21:49
  • 3
    [htb] stops the figures being placed on a page on their own, as you have removed p so it is not enough that the two figures fit, they have to fit and allow some text from the page. Mar 24, 2018 at 21:56
  • 1
    It's hard to explain what you need to change as you have provided no example code, but by removing p you force the figures to go on text pages not float pages, (unless flushed out by \clearpage or the end of the document) by default in book at least 20% of a text page has to be text so without seeing the text it is impossible to say whether it should fit or not. [!htbp] would give it a better chance of fitting. Mar 24, 2018 at 22:48
  • 2
    @Marv You should read tex.stackexchange.com/questions/39017/…
    – Fran
    Mar 25, 2018 at 21:13

1 Answer 1


As per @DavidCarlisle, using [!htb] fixed the issue for me.

You must log in to answer this question.

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