Latex page x of y footer
Latex tips and tricks
Today I wanted to add a page x of y in my latex document. This can be achieved by using the package lastpage and adding the following lines of code to the document:
This results in a nice page 1 of 5 in the footer of the document.
Posted by Stef on 2009-09-16 - 22:04:00 in Latex - Comments (6791)
\usepackage{lastpage}
\fancyfoot[C]{\small{Page \thepage\ of \pageref{LastPage}}}