CTAN Comprehensive TeX Archive Network

lastpage – Reference last page for Page N of M type footers

Reference the number of pages in your 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.

Version2.1c 2024-07-07
LicensesThe Project Public License 1.3c
Copyright2010–2024 H.-Martin Münch
MaintainerHans-Martin Münch
Jeffrey Goldberg (inactive)
TDS archivelastpage.tds.zip
Contained inTeX Live as lastpage
MiKTeX as lastpage
TopicsLabel and References
See alsototpages

Download the contents of this package in one zip archive (590.4k).

Community Comments



Here you can see a respective diagram in newer browsers.


Guest Book Sitemap Contact Contact Author