Best Viewed
This website is best viewed with any webbrowser that supports HTML 4.01 and CSS. Screen resolution 800x600 and up.
Cat•e•go•ry Latex
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:

\fancyfoot[C]{\small{Page \thepage\ of \pageref{LastPage}}}

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 (168)