0
votes

I have the problem that latex creates empty pages while using the float package. This is the Code:

\section{Sample}
Sample Text.
\section{Title}

\begin {figure}[H]
Insert figure via R-Code.
\captionlistentry{Title Boxplot}
Insert figure via R-Code.
\captionlistentry{Dressiergrad Boxplot}
\end{figure}

\begin{figure}[H]
Insert figure via R-Code.
\captionlistentry{Reckgrad Boxplot}
\end{figure}

So i got 2 Sections "Sample" and "Example ". In Sample there is some text and in Title there are 3 figures. 2 of the figures and the section heading are fitting onto 1 page.

So there should be smth. like that:

Page1: Sample title + text

Page2: Example title + 2 figures

Page3: 1 figure

But Latex makes this:

Page1: Sample title + text

Page2: Empty Page

Page3: Example title + 2 figures

Page4: 1 figure

I'm using documentclass{article}, thanks for helping!

1

1 Answers

2
votes

Try removing the [H] option. If the image sizes are little bigger than what can be fit in the same page, LaTeX pushes it to the next page.

As a second option, you can reduce the size of the image a little bit!