3

I'm creating a document with 10 figures, which I specify to sit on float pages using \begin{figure}[p] . All the figures are the same size and each float page can fit 6 of them.

However, I would like two float pages, each with 5 figures on, not a page of 6 then 4.

E.g. the following code produces a single float page with 4 floats, how could I generate two pages with two each?

\documentclass[twocolumn]{article}
\usepackage[demo]{graphicx}

\begin{document}

\begin{figure}[p] \includegraphics[width=0.7\columnwidth]{} \end{figure}
\begin{figure}[p] \includegraphics[width=0.7\columnwidth]{} \end{figure}
\begin{figure}[p] \includegraphics[width=0.7\columnwidth]{} \end{figure}
\begin{figure}[p] \includegraphics[width=0.7\columnwidth]{} \end{figure}

\end{document}
  • Simply add \clearpage after the second figure. – Fran Nov 26 '13 at 11:09
  • 2
    why use floats at all in this situation and not simply use \includegraphics directly? – David Carlisle Nov 26 '13 at 17:06
  • You could increase the height of one or more floats so only 5 will fit. Just stick a \vspace{<somelength>} before and/or after the graphic. – Dan Nov 26 '13 at 22:49
1

I've just discovered the FloatBarrier command from the placeins package, which is designed to resolve this exact problem; similarly to Max's answer on Clearpage without pagebreak?.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.