I'm trying to create a CV using Overleaf with Tex Live 2014 and moderncv. How can I add page numbers to my document? Looking at a template, it appears you can only add page numbers if the you include \makelettertitleand \makeletterclosing, but this ruins the formatting of my document.
1 Answer
Now I have tried with TeX Live 2014 ver. on Overleaf and found out the problem. The label lastpage is broken in that version. All u need to do is to manually set the lastpage label just before \end{document}, as follows:
\label{lastpage}\end{document} Again, do not forget to compile twice.
- Overleaf MWE: overleaf.com/read/cmhmdvmhmwqddomperor– domperor2020-07-31 08:43:53 +00:00Commented Jul 31, 2020 at 8:43
-
\makelettertitle. Maybe your test case is too small for the page numbers to appear. Also note that you need to compile TWICE.