I read a great post by Frank Mittelbach on how floats work, but I still have a problem: Is there a way to empty the float holding queue, thus placing all figures/tables ect at a certain point. Namely I would like a function that works as follows:
\section{1}
figure 1
figure 2
\emptyFloatQueue
\section{2}
figure 3
table 1
\emptyFloatQueue
\section{3}
...
The \emptyFloatQueue function should ensure that all floats are typeset before any subsequent lines. Thus figure 1 and figure 2 MUST appear before section 2 and figure 3 and table 1 MUST appear before section 3 etc. It doesn't matter where the floats are placed, as long as they are placed before their respective subsequent sections.
Any help is appreciated
EDIT:
- If there are no floats in the queue I don't want behavior to change.
- I would like the floats to be placed as normally as possible (not separately on a float page, but inline along with the text)
\clearpage?? (As that answer says.) – cfr Jun 08 '15 at 01:07