CTAN Comprehensive TeX Archive Network

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, '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 latex-tools bundle in the required distribution.

Sources/macros/latex/required/tools
Documentation
Version1.08 2023-07-04
LicensesThe Project Public License 1.3c
Copyright1993–2023 The 3 Project et al.
MaintainerDavid Carlisle
The Project Team
TDS archivelatex-tools.tds.zip
Contained inTeX Live as tools
MiKTeX as latex-tools
TopicsMacro support

Download the contents of this package in one zip archive (6.9M).

Community Comments

Loading...
Guest Book Sitemap Contact Contact Author