Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse

afterpage – Execute command after the next page break

Im­ple­ments a com­mand that causes the com­mands spec­i­fied in its ar­gu­ment to be ex­panded af­ter the cur­rent page is out­put. For ex­am­ple, LaTeX's float po­si­tion­ing mech­a­nism some­times gets over­loaded and all float­ing fig­ures and ta­ble drift to the end of the doc­u­ment. One may flush out all the un­pro­cessed floats by is­su­ing a \clearpage com­mand, but this has the ef­fect of mak­ing the cur­rent page end pre­ma­turely. Now you can is­sue \af­ter­page{\clearpage} and the cur­rent page will be filled up with text as usual, but then the \clearpage com­mand will flush out all the floats be­fore the next text page be­gins.

This pack­age is part of the tools bun­dle in the LaTeX re­quired dis­tri­bu­tion.

Sources/macros/latex/required/tools
Doc­u­men­ta­tion
Ver­sion1.08
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right1994,1995 David Carlisle
Main­tainerDavid Carlisle
Con­tained inTeXlive as tools
MikTeX as tools
Topics sup­port for de­vel­op­ment of (La)TeX macros

Down­load the con­tents of this pack­age in one zip archive (6.0M).

Guest Book Sitemap Contact