In LaTeX prefer figures on text-heavy pages.

Posted by bjarkef on Stack Overflow See other posts from Stack Overflow or by bjarkef
Published on 2010-05-11T09:24:09Z Indexed on 2010/05/11 11:24 UTC
Read the original article Hit count: 355

Filed under:
|
|
|

Hi

LaTeX seems to have a preference for placing figures together on a page, and placing surrounding text on a separate page. Can I somehow change that balance a bit, as I prefer figures to break up the text to avoid too black text-heavy pages.

Example:

\section{Some section}

[Half a page of text]

\begin{figure}
    [...]
    \caption{Figure text 1}
\end{figure}

[Half a page of text]

\begin{figure}
    [...]
    \caption{Figure text 2}
\end{figure}

[More text]

So what LaTeX usually does is to stack the two half pages of text on a single page, and the figures on the following page. I believe this really gives a bad balance, and bores the reader. So can I change that somehow?

I know about postfixing the \begin{figure} with [ht!], but often it does not really matter. I would like to configure the balancing algorithms in LaTeX to naturally prefer pages with combined figures and text.

© Stack Overflow or respective owner

Related posts about latex

Related posts about figure