The lastpage package
H.-M. Münch, Jeffrey P. Goldberg · 2015
This LTEX package puts the label LastPage (\AtEndDocument) into the .aux file, allowing the user to refer to the last page of a document. This might be particularly useful in places like headers or footers. – When more than one page numbering scheme is used, or the fnsymbol page numbering scheme is used, or another package has output after this package, or the number of pages instead of the last page’s name is needed, or the page numbers exceed a certain range, there might be problems, which can be solved by using the pageslts package instead. Disclaimer for web links: The author is not responsible for any contents referred to in this work unless he has full knowledge of illegal contents. If any damage occurs by the use of information presented there, only the author of the respective pages might be liable, not the one who has referred to these pages. Save per page about 200 ml water, 2 g CO2 and 2 g wood: Therefore please print only if this is really necessary.