Document 356 Error: Too many unprocessed floatsVersion: 3.x, 4.x, 5.x - Scientific WorkPlace & Scientific Word ProblemTypesetting the document results in this LaTeX error message: Too many unprocessed floats The message appears in the LaTeX window and in the .log file for the document. ExplanationDocuments that contain many floating objects may occasionally encounter LaTeX processing problems. When you typeset your document, LaTeX tries to process floating objects as it encounters them, anchoring them throughout the document. However, if it can't place an object because of its size or if float placement options don't fit, LaTeX holds the object and all following floating objects until the end of the document. If there are too many such objects for LaTeX to handle, it generates the error message. SolutionYou can force LaTeX to process floating objects with a TeX command in the body of your document. Alternatively, you can use the float package or the placeins package to manage the placement of floating objects. Method 1: Use a \clearpage commandThe \clearpage command forces LaTeX to output any floating objects that occur in the document before the command.
Method 2: Use the float packageThe float package includes the "HERE" placement option, which forces the placement at the current location of the floating object, even if typographically HERE is a bad choice. Read more about the float package. (If you're using Version 3.0, download a newer version of the tcilatex.tex file, as described in the article. If you are using Version 3.5 or later, you already have a newer version of the tcilatex.tex file and don't need to download it.) This option isn't available if you're using the Portable LaTeX filter or creating a PDF file.
Method 3: Use the placeins packageTo create barriers in your document beyond which floating objects can't be typeset, use the placeins package. You can prevent floating objects from appearing in the next section:
You can also prevent a floating object from appearing after a designated point:
By default, the \FloatBarrier command is very
strict. It prevents a floating object from appearing above the start of the
current section or below the start of the next section, even if the floating
object would appear on the same page as its intended section. Each restriction
can be relaxed separately by using the Last revised 03/02/06 This document was created with Scientific WorkPlace. |