#

Search | Home | Alpha | Brief | Topical | Hierarchical

afterpage

Execute command after the next page break.

Implements a command that causes the commands specified in its argument to be expanded after the current page is output. For example, LaTeX's float positioning mechanism sometimes gets overloaded and all floating figures and table drift to the end of the document. One may flush out all the unprocessed floats by issuing a `\clearpage` command, but this has the effect of making the current page end prematurely. Now you can issue `\afterpage{\clearpage}` and the current page will be filled up with text as usual, but then the `\clearpage` command will flush out all the floats before the next text page begins.

This package is part of the tools bundle in the LaTeX required distribution.

The author is David Carlisle. The package is Copyright © 1994,1995 David Carlisle.

License: lppl Version: 1.08 Catalogued: 2006-12-17

- Visit
  - Visit a nearby CTAN:/macros/latex/required/tools. If this fails, try Cambridge.
  - Visit Cambridge:/macros/latex/required/tools
- Download
  - Download from a nearby CTAN (automatically identified).
  - Download from Cambridge.
- Documentation
  - Read documentation for this package from: afterpage.pdf.
- Distributions
  - This package is included in TeX Live.
  - This package is included in teTeX.
  - This package is included in MikTeX.