mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Change the footer algorithm of style casual to avoid lines starting with a footer symbol
This commit is contained in:
parent
cd56d14420
commit
d4b40f96fc
9 changed files with 51 additions and 21 deletions
|
|
@ -99,7 +99,7 @@
|
|||
% hyper links
|
||||
\RequirePackage{url}
|
||||
\urlstyle{tt}
|
||||
% load hyperred at the end of the preamble to pass options required by loaded packages (like CJK)
|
||||
% load hyperref at the end of the preamble to pass options required by loaded packages (like CJK)
|
||||
\AtEndPreamble{
|
||||
\@ifpackageloaded{CJK}
|
||||
{\RequirePackage[unicode]{hyperref}}
|
||||
|
|
@ -313,9 +313,9 @@
|
|||
\AtBeginDocument{%
|
||||
\if@displaypagenumbers%
|
||||
\@ifundefined{r@lastpage}{}{%
|
||||
\ifthenelse{\pageref{lastpage} > 1}{%
|
||||
\ifthenelse{\pageref{lastpage}>1}{%
|
||||
\fancypagestyle{plain}{%
|
||||
\fancyfoot[r]{\addressfont\color{color2}\footnotesize\thepage/\pageref{lastpage}}}%
|
||||
\fancyfoot[r]{\color{color2}\footnotesize\itshape\thepage/\pageref{lastpage}}}%
|
||||
\pagestyle{plain}}{}}%
|
||||
\AtEndDocument{\label{lastpage}}\else\fi}}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue