Document 457

The LaTeX afterpage package

Version: 3.x, 4.x, 5.x - Scientific WorkPlace & Scientific Word

The package implements the \afterpage command and causes LaTeX to expand its argument after the current page is filled and output. Although you can specify any command in the \afterpage argument, using the \clearpage command is a particularly useful way to force the printing of any floating objects (graphics and long tables) that haven't yet been anchored to a position. LaTeX fills the page on which the \afterpage command occurs and then prints any unanchored floating objects before continuing with the text. Use the \afterpage command in an encapsulated TeX field. The package has no options.

  1. Add the afterpage package to your document.
  2. Place the insertion point on the page after which you want accumulated floating objects to appear.
  3. Enter an encapsulated TeX field.
  4. In the entry area, type \afterpage{\clearpage} and choose OK.

Although you can add the afterpage package to documents in most document classes, note that the package doesn't work for two-column layouts. The package is installed in the {TCITeX/TeX/LaTeX/required/tools} directory and is part of the Standard LaTeX Tools Bundle.

Last revised 01/20/06

This document was created with Scientific WorkPlace.