The TeX Catalogue Online

lastpage

Reference last page for Page N of M type footers.

Reference the number of pages in your LaTeX document through the introduction of a new label which can be referenced like \pageref{LastPage} to give a reference to the last page of a document. It is particularly useful in the page footer that says: Page N of M.

See also totpages.

The authors are Hans-Martin Münch and Jeffrey Goldberg.

License: gpl2 Version: 1.2k Catalogued: 2011-09-01