Graphics, Figures & TablesCan't include the 19th figure

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
rudrales
Posts: 16
Joined: Wed Mar 11, 2009 1:52 am

Can't include the 19th figure

Post by rudrales »

Hi

I'm writing a appendix with a lot of figures. I could include 18 figures but when I included the 19th the compiler outputs the following error:
! LaTeX Error: Too many unprocessed floats.

See the LaTeX manual or LaTex Companion for explanation. Type H <return> for immediate help.
...

l.113 \begin{figures}[htbp]

?H
You've lost some text. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit
?
! Undefined control sequence.
\@xfloat ...@fltovf \fi \global \setbox \@currbox
\color@vbox \normalcolor \...
l.113 \begin{figure}[htbp]

?
!Missing number, treated as zero.
<to be read again>
\vbox
l.113 \begin{figure}[htbp]

?
<use "images/kraftFFT/MGK6-KraftFFT.png">
! Undefined control sequence.
\@largefloatchech ->\ifdim \ht \@currbox
>\textheight \@tempdima -\textheigh...
I need to include more figures.

I include the figures with the following code:

Code: Select all

Code, edit and compile here:
\begin{figure}[htbp]
\centering
\includegraphics[width=0.9\textwidth]{images/kraftFFT/MVL1-KraftFFT.png}
\caption{Spektrum der Kraftmessung MVL1}
\label{Spektrum der Kraftmessung MVL1}
\end{figure
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Can anyone tell me how I can fix the "too many unprocessed floats"-error?
Thank you for the help.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Can't include the 19th figure

Post by localghost »

Insert a \clearpage command regularly (let's say after every fifth figure).


Best regards
Thorsten
rudrales
Posts: 16
Joined: Wed Mar 11, 2009 1:52 am

Re: Can't include the 19th figure

Post by rudrales »

Thanks Thorsten, it works. Now, I can include all figures. The problem is if I insert the command \clearpage after every second figure the two figures between the commands aren't on the same page anymore. What can i do?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Can't include the 19th figure

Post by localghost »

Force them to be placed on a float page.

Code: Select all

Code, edit and compile here:
\begin{figure}[!p]
% figure contents
\end{figure}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Otherwise provide a minimal working example (MWE).
Post Reply