3

It seems it tries to fill an entire A4, as the image of the next page is too big. So it puts a lot of space between the paragraphs. But, I'd much rather have a big chunk of white at the bottom of the first page: as it looks now, it looks like there are stuff missing (for example figures).

5
  • 1
    Use \clearpage before \begin{figure} Commented Jun 2, 2012 at 13:53
  • Simple as that. Commented Jun 2, 2012 at 13:56
  • 1
    And don't use the [H] specifier provided by float.
    – egreg
    Commented Jun 2, 2012 at 14:00
  • 1
    You might look for \raggedbottom (cf. this question, possible duplicate).
    – dgs
    Commented Jun 2, 2012 at 14:47
  • @egrep: I'm not following? Commented Jun 2, 2012 at 19:13

1 Answer 1

8

Based on your given information I guess you are using a document class like book. By default the command \flushbottom is active which will balance the complete text at the top and bottom of a page.

If you get a page break the text before will be balanced. A simple \clearpage before you start the environment figure will solve the problem.

The behaviour can be reproduced very simple if you are using the float specifier H provided by the package float:

\documentclass{book}

\usepackage{showframe}
\usepackage{mwe}
\usepackage{lipsum}
\usepackage{float}
\begin{document}
\chapter{foo}
\blindtext

\blindtext

\begin{figure}[H]
\includegraphics[width=.48\linewidth]{example-image-a}\hfill
\includegraphics[width=.48\linewidth]{example-image-b}
\caption{MWE to demonstrate how to place to images side-by-side}
\end{figure}

\end{document}

So I recommend to use the specifiers !htb. More information about the float algorithm and the specifiers are given in the great answer of Frank Mittelbach:

How to influence the position of float environments like figure and table in LaTeX?

1
  • I am using \report and yes, \clearpage did it. Commented Jun 5, 2012 at 10:59

You must log in to answer this question.

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