AZ logo

Package 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.

Getting it

If possible, get this package from your distribution using its installation manager. (For installation help, click on your distribution's name.)

Distribution Package name
MiKTeX tools
TeX Live tools

You can also visit afterpage's CTAN directory to browse the source or download the material for installation by hand.

More

Documentation on CTAN
Package documentation
Documentation off CTAN -none known-
Maintainers
David Carlisle
Version 1.08
License LaTeX Project Public License, version 1.3 or later
Related packages -none recorded-
Keywords
macro programming
page breaks
Characterizations
primary:
Page-focused > Other

You can suggest changes to the keywords and characterizations and the maintainer information.

You can get information about any package.