diff --git a/CHANGELOG b/CHANGELOG index e33e951..56d8fe2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,7 @@ version 1.4.0 (dd MMM 2013) - deprecated \phone, \mobile and \fax in favour of \phone[], where can be "mobile", "fixed" (default) or "fax". - deprecated \firstname and \familyname in favour of \name{}{}. + - added a command to control the font of the page numbering: \pagenumberfont. - removed the use of the suffix package. version 1.3.0 (09 Feb 2013) diff --git a/examples/template-es.pdf b/examples/template-es.pdf index 926516a..f8eae90 100644 Binary files a/examples/template-es.pdf and b/examples/template-es.pdf differ diff --git a/examples/template-zh.pdf b/examples/template-zh.pdf index 115b534..27ff68d 100644 Binary files a/examples/template-zh.pdf and b/examples/template-zh.pdf differ diff --git a/examples/template_banking_red.pdf b/examples/template_banking_red.pdf index 045adc8..b3fe719 100644 Binary files a/examples/template_banking_red.pdf and b/examples/template_banking_red.pdf differ diff --git a/examples/template_casual_orange.pdf b/examples/template_casual_orange.pdf index 63e1811..6c705ea 100644 Binary files a/examples/template_casual_orange.pdf and b/examples/template_casual_orange.pdf differ diff --git a/examples/template_classic_green.pdf b/examples/template_classic_green.pdf index c5d11cf..46b2636 100644 Binary files a/examples/template_classic_green.pdf and b/examples/template_classic_green.pdf differ diff --git a/examples/template_multibib.pdf b/examples/template_multibib.pdf index aa63275..f6508d0 100644 Binary files a/examples/template_multibib.pdf and b/examples/template_multibib.pdf differ diff --git a/examples/template_oldstyle_grey.pdf b/examples/template_oldstyle_grey.pdf index 14b6d44..0163e66 100644 Binary files a/examples/template_oldstyle_grey.pdf and b/examples/template_oldstyle_grey.pdf differ diff --git a/moderncv.cls b/moderncv.cls index ce899cd..02dcf92 100644 --- a/moderncv.cls +++ b/moderncv.cls @@ -161,7 +161,7 @@ \newlength{\pagenumberwidth}% \settowidth{\pagenumberwidth}{\color{color2}\addressfont\itshape\strut\thepage/\pageref{lastpage}}% \fancypagestyle{plain}{% - \fancyfoot[r]{\parbox[b]{\pagenumberwidth}{\color{color2}\addressfont\itshape\strut\thepage/\pageref{lastpage}}}}% the parbox is required to ensure alignment with a possible center footer (e.g., as in the casual style) + \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} @@ -320,6 +320,7 @@ \newcommand*{\sectionfont}{} \newcommand*{\subsectionfont}{} \newcommand*{\hintfont}{} +\newcommand*{\pagenumberfont}{\addressfont\itshape} % styles \newcommand*{\namestyle}[1]{{\namefont#1}} @@ -329,6 +330,7 @@ \newcommand*{\sectionstyle}[1]{{\sectionfont#1}} \newcommand*{\subsectionstyle}[1]{{\subsectionfont#1}} \newcommand*{\hintstyle}[1]{{\hintfont#1}} +\newcommand*{\pagenumberstyle}[1]{{\pagenumberfont#1}} % recompute all resume lengths \newcommand*{\recomputecvlengths}{}