I'm having some sections in a report with more images (figures) than text. I include the images in the following way:
\begin{figure}[h]
\centering
\resizebox{10cm}{!}{\includegraphics{images/test.png}}
\caption{Test image.}
\label{some label}
\end{figure}
The problem now is that some of the figures are shown in the next section.
How can I enfore the figures to be placed in the section where I'm including them (even if white space must be introduced)? Otherwise it gets very confusing for the reader.
I have tried to use \begin{figure}[H] but it did not help.
Hyou need to load thefloatpackage. – cfr Nov 07 '14 at 23:46[h]makes it inevitable that the floats go out of position, latex usually warns and changes it to[ht]it means not t, not b, not p, so prevents latex from placing the float more or less anywhere so makes it likely it gets held to the end. – David Carlisle Nov 08 '14 at 00:21