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.