The TeX Catalogue OnLine, Entry for lastpage, Ctan Edition

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-08-03

Go to http://custom-software-development.biz/ for software development
Powered by QArea Company and Bughuntress QA Lab