I am working with a
\moderncvstyle{casual}
template to create my CV. The template includes automatic page numbering, which is styled like this: 1/5, 2/5, 3/5 ….
I don't want this style, I just want plain numbers for each page, like this: 1, 2, 3
However, there is no indication where I can modify the page numbering style.
I can turn off page numbering by using
\nopagenumbers{}
but that's all I can do.
I have tried
\pagenumbers{plain}
which causes the error:
)) (./moderncvcolorblue.sty)
./main.tex:24:Undefined control sequence.
<recently read> \pagenumbers
l.24 \pagenumbers
{Plain}
uncomment to sup....%
?
I also looked through the moderncvcolorblue.sty file and found nothing that indicates page numbers in any way. Equally so for the other sty files I searched.
Please do you have any ideas how I can modify the page number style?
Many thanks.
Best Answer
I don't know why, but I don't get the page numbers printed (although they should be there).
For a reference of the issue, see Page numbers with moderncv package on MacTeX 2014 don't show.
I assume that you have some packages older than mines.
Anyway, to have the numbers as you want them in the
moderncv
style, add the following lines in your preamble:MWE (excerpt of the template)
Output: