From 4b77a9b33d80a2d1ecebe2af32e477355b816500 Mon Sep 17 00:00:00 2001 From: Xavier Danaux Date: Sun, 13 Nov 2016 20:09:38 -0800 Subject: [PATCH] Changed pagenumbering code to fix a reported bug --- moderncv.cls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moderncv.cls b/moderncv.cls index f5c53bf..c21a86d 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -155,8 +155,8 @@ \settowidth{\pagenumberwidth}{\color{color2}\addressfont\itshape\strut\thepage/\pageref{lastpage}}% \fancypagestyle{plain}{% \fancyfoot[r]{\parbox[b]{\pagenumberwidth}{\color{color2}\pagenumberfont\strut\thepage/\pageref{lastpage}}}}% the parbox is required to ensure alignment with a possible center footer (e.g., as in the casual style) - \pagestyle{plain}}{}}% - \AtEndDocument{\label{lastpage}}\else\fi}} + \pagestyle{plain}}{}}\fi}% + \AtEndDocument{\label{lastpage}}} \pagestyle{plain} % reduced list spacing