From 4134aa176d5b9b017fa45137e678a599ebba2a6b Mon Sep 17 00:00:00 2001 From: Xavier Danaux Date: Sun, 17 Mar 2013 19:15:37 -0400 Subject: [PATCH] Added a command to control the font of the page numbering: \pagenumberfont --- CHANGELOG | 1 + examples/template-es.pdf | Bin 171988 -> 171988 bytes examples/template-zh.pdf | Bin 241627 -> 241627 bytes examples/template_banking_red.pdf | Bin 169202 -> 169202 bytes examples/template_casual_orange.pdf | Bin 235052 -> 235052 bytes examples/template_classic_green.pdf | Bin 279245 -> 279245 bytes examples/template_multibib.pdf | Bin 235582 -> 235582 bytes examples/template_oldstyle_grey.pdf | Bin 70640 -> 70640 bytes moderncv.cls | 4 +++- 9 files changed, 4 insertions(+), 1 deletion(-) 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 926516af9343215d6478eb8256ffc5de286a0803..f8eae9040325ae6b31671946a1a944339e1fdee6 100644 GIT binary patch delta 112 zcmcbzpXWNu+;;%MY(YNudBNXd5NHOwoR0hC`J)Bpeg delta 116 zcmcb8pYQg4zJ?aY7N#xCk}KGajf_o=3=O9%tYDUbake|JU|!4YY+~eO=4NDUWai}P kYT{yKWNK((Zfb7n=ICtdX5nmLVW(h2NXd5NHOwoR0f+n^#sB~S diff --git a/examples/template_banking_red.pdf b/examples/template_banking_red.pdf index 045adc8fd9c412ac027f40100340685e9c88c302..b3fe7192253878cfc1b25b1aab57acea97838537 100644 GIT binary patch delta 136 zcmeyglIzn-u7(!IElj+9TIPn9hDIiax&|id1_tVyT>8HGDK3d6sR|k{Rz?Pf#sV`VBx;j}JI@&4N5K^*Tbu!ag FMgZAtBW(Zx delta 136 zcmeyglIzn-u7(!IElj+9TE<4krbY(lx&|id1_tVyT>8HGDK3d6sR|k{Rz?Pf#sV`5K^*Tbu!ag FMgXD!4J{3gjHd7HW|oDrw?F7+{=n{RVd!FN?CR{~WNzW) j;^t;%YG`h1Y~X0@%#ut1upA!^ delta 114 zcmZ3phHuRpzJ?aY7N#xC+q>C}jf_nVO{eeeW|oDrw?F7+{=n{RX=LH#Xlm~4WN2h* jX<=q*>|*I;X=z~UY-a4}=4NSTr(i=!$#&r>%#ut1pST{s diff --git a/examples/template_classic_green.pdf b/examples/template_classic_green.pdf index c5d11cfdb38f6b588ee2d8f8bd874e2c510e2502..46b26360f74de87d96bd48bdebdbc442bd245ccd 100644 GIT binary patch delta 118 zcmX@xDtNY4u%U&qg{g&k3rnX3ySbsIp^>rS^a&O$GBD2e%@!;d*`3WSO(^b diff --git a/examples/template_oldstyle_grey.pdf b/examples/template_oldstyle_grey.pdf index 14b6d445aa4ecad9daf3c49cb570d4b9cd27d5d5..0163e663bfa6f74cb28b3e35e6d84a71b2600611 100644 GIT binary patch delta 112 zcmeycoaMuEmWC~imwDOE4J{3gjLoOt;$@V9akl^EWqix*Y-VI?X69;O;$&>$WMOV- gWMXOJW?}YQ6X71=}=44>t?BwL+ g?B?p`WN75#WNGeVVc}xzY^PvDNXd3xA;!au06I|~T>t<8 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}{}