Change the footer algorithm of style casual to avoid lines starting with a footer symbol

This commit is contained in:
Xavier Danaux
2012-01-22 19:00:38 +01:00
parent cd56d14420
commit d4b40f96fc
9 changed files with 51 additions and 21 deletions

View File

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