CTAN Comprehensive TeX Archive Network

CTAN update: lastpage

Date: August 15, 2025 1:53:18 PM CEST
Hans-Martin Münch submitted an update to the lastpage package. Version: 2.1h 2025-08-14 License: lppl1.3c Summary description: Reference last page for Page N of M type footers Announcement text:
The hook label for lastpagemodern.sty is now set to "lastpage". A fix for compatibility with the titlesec package was applied.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/lastpage The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/lastpage/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

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.

Packagelastpage
Version2.1h 2025-08-14
Copyright2010–2025 H.-Martin Münch
MaintainerHans-Martin Münch
Jeffrey Goldberg (inactive)

Announcements

more

Guest Book Sitemap Contact Contact Author