CTAN Comprehensive TeX Archive Network

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, '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 la­tex-tools bun­dle in the re­quired dis­tri­bu­tion.

Li­censesThe Project Public Li­cense 1.3
Copy­right1994, 1995 David Carlisle
Main­tainerDavid Carlisle
The Team
TDS archivelatex-tools.tds.zip
Con­tained inTeX Live as tools
MiKTeX as tools
TopicsMacro sup­port

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

Com­mu­nity Com­ments

Guest Book Sitemap Contact Contact Author