Added a command to control the font of the page numbering: \pagenumberfont
This commit is contained in:
@ -2,6 +2,7 @@ version 1.4.0 (dd MMM 2013)
|
|||||||
- deprecated \phone, \mobile and \fax in favour of \phone[<type>], where <type>
|
- deprecated \phone, \mobile and \fax in favour of \phone[<type>], where <type>
|
||||||
can be "mobile", "fixed" (default) or "fax".
|
can be "mobile", "fixed" (default) or "fax".
|
||||||
- deprecated \firstname and \familyname in favour of \name{<first>}{<last>}.
|
- 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.
|
- removed the use of the suffix package.
|
||||||
|
|
||||||
version 1.3.0 (09 Feb 2013)
|
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.
@ -161,7 +161,7 @@
|
|||||||
\newlength{\pagenumberwidth}%
|
\newlength{\pagenumberwidth}%
|
||||||
\settowidth{\pagenumberwidth}{\color{color2}\addressfont\itshape\strut\thepage/\pageref{lastpage}}%
|
\settowidth{\pagenumberwidth}{\color{color2}\addressfont\itshape\strut\thepage/\pageref{lastpage}}%
|
||||||
\fancypagestyle{plain}{%
|
\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}}{}}%
|
\pagestyle{plain}}{}}%
|
||||||
\AtEndDocument{\label{lastpage}}\else\fi}}
|
\AtEndDocument{\label{lastpage}}\else\fi}}
|
||||||
\pagestyle{plain}
|
\pagestyle{plain}
|
||||||
@ -320,6 +320,7 @@
|
|||||||
\newcommand*{\sectionfont}{}
|
\newcommand*{\sectionfont}{}
|
||||||
\newcommand*{\subsectionfont}{}
|
\newcommand*{\subsectionfont}{}
|
||||||
\newcommand*{\hintfont}{}
|
\newcommand*{\hintfont}{}
|
||||||
|
\newcommand*{\pagenumberfont}{\addressfont\itshape}
|
||||||
|
|
||||||
% styles
|
% styles
|
||||||
\newcommand*{\namestyle}[1]{{\namefont#1}}
|
\newcommand*{\namestyle}[1]{{\namefont#1}}
|
||||||
@ -329,6 +330,7 @@
|
|||||||
\newcommand*{\sectionstyle}[1]{{\sectionfont#1}}
|
\newcommand*{\sectionstyle}[1]{{\sectionfont#1}}
|
||||||
\newcommand*{\subsectionstyle}[1]{{\subsectionfont#1}}
|
\newcommand*{\subsectionstyle}[1]{{\subsectionfont#1}}
|
||||||
\newcommand*{\hintstyle}[1]{{\hintfont#1}}
|
\newcommand*{\hintstyle}[1]{{\hintfont#1}}
|
||||||
|
\newcommand*{\pagenumberstyle}[1]{{\pagenumberfont#1}}
|
||||||
|
|
||||||
% recompute all resume lengths
|
% recompute all resume lengths
|
||||||
\newcommand*{\recomputecvlengths}{}
|
\newcommand*{\recomputecvlengths}{}
|
||||||
|
|||||||
Reference in New Issue
Block a user