Is there a way to dynamically get Page X of Y in LaTeX using the fancy pagestyle or is some other package needed?
Use the lastpage package:
\usepackage{lastpage}
\usepackage{fancyhdr}
...
\cfoot{\thepage\ of \pageref{LastPage}}
will put the current page counter \thepage
, in front of the total number of pages.
Edit Thanks! I added fancyhdr
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With