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: lppl1.3 Version: 1.2m Catalogued: 2015-03-30