I need to put more than two pictures/figures with text in between on one page. Now I'm having the problem, that more or less always one picture is floating on the next page, even though there would be "optically" place on the same page. I tried it with htb and H, both resulting in either the text or at least one of the images floating to the next page.
Instead of \fbox I use \includegraphics.
\documentclass[a4paper, openany, oneside, titlepage, toc=bib, toc=listof]{scrbook}
\usepackage[a4paper, left=2.5cm, right=2.5cm, top=2.5cm, bottom=2.2cm, footskip=.8cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[final]{graphicx}
\begin{document}
\begin{figure}[htb]%
\centering
\caption{Test}
\fbox{\parbox[c][150pt]{0.4\linewidth}{Test}}
\label{fig:Test1}
\end{figure}
Short text. Blahblah. Short text. Blahblah. Short text. Blahblah.
\begin{figure}[htb]%
\centering
\caption{Test}
\fbox{\parbox[c][100pt]{0.4\linewidth}{Test}}
\label{fig:Test2}
\end{figure}
Third short text. Blahblah. Short text. Blahblah. Short text. Blahblah.
\begin{figure}[htb]%
\centering
\caption{Test}
\fbox{\parbox[c][200pt]{0.4\linewidth}{Test}}
\label{fig:Test3}
\end{figure}
\end{document}
Many thanks.
[!htb]on the third figure puts it all on a single page. – latex user Jun 24 '13 at 11:07!says to ignore the constraint so normally it's better to just change the constraint if you do not want that constraint enforcing. – David Carlisle Jun 24 '13 at 11:19