Added a command to control the font of the page numbering: \pagenumberfont

This commit is contained in:
Xavier Danaux
2013-03-17 19:15:37 -04:00
parent 70bfb01ef8
commit 4134aa176d
9 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,7 @@ version 1.4.0 (dd MMM 2013)
- deprecated \phone, \mobile and \fax in favour of \phone[<type>], where <type>
can be "mobile", "fixed" (default) or "fax".
- deprecated \firstname and \familyname in favour of \name{<first>}{<last>}.
- 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)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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}{}