Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to a large number of figures. The code is

\caption{M2T, Problem Size 513}

I'm not able to compile, I get the error

! LaTeX Error: Too many unprocessed floats.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
l.113 \includegraphics
You've lost some text. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Undefined control sequence.
\@float@Hx ...ltovf \fi \global \setbox \@currbox
\color@vbox \normalcolor \...
l.113 \includegraphics
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Missing number, treated as zero.
<to be read again>
l.113 \includegraphics
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
pdfTeX warning: pdflatex (file ./m2T4.pdf): PDF inclusion: found PDF version <1
.5>, but at most version <1.4> allowed
<m2T4.pdf, id=1121, 538.28104pt x 212.1526pt>
File: m2T4.pdf Graphic file (type pdf)
<use m2T4.pdf>
share|improve this question
you may want to take a look at the theory behind it at tex.stackexchange.com/questions/39017/… –  Frank Mittelbach Mar 2 '12 at 16:41

3 Answers 3

up vote 59 down vote accepted

You can use the command \clearpage. This prints all floats that are not yet placed and starts a new page.

share|improve this answer
Hi, where is supposed I must put the \clearpage command. –  sgmart Jan 30 '14 at 19:56
I got it! Thanks so much. –  sgmart Jan 30 '14 at 20:00
where do you put \clearpage ? –  cmo Feb 26 '14 at 15:36

Try the morefloats package. From the README:

LaTeX can, by default, only cope with 18 outstanding floats; any more, and you get the error “too many unsuppressed floats”. This package releases the limit; TeX itself imposes limits (which are interdependent of the help offered by e-TeX). However, if your floats can’t be placed anywhere, extending the number of floats merely delays the arrival of the inevitable error message.

share|improve this answer
Thank you very much for this solution. I used morefloats package and the problem has solved now :) –  Weam Apr 28 at 10:57

For LaTeX releases from 2015 onwards you can allocate more (several thousand more) floats than the standard 18, using a command such as


in the preamble. As this mechanism uses the etex extended box registers it can allocate many more float boxes than the morefloats package mechanism (which uses \newinsert and is thus restricted to the classic TeX registers 0-255).

If for some reason you are using a LaTeX format built on tex rather than etex, \extrafloats is still defined, but falls back to using \newinsert so fewer float boxes are available.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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