Browse Source

Issue #77: Defined a default pagestyle to make it easier to change the pagestyle on certain pages or define a custom one.

pull/78/head 1.1.0
Wandmalfarbe 6 years ago
parent
commit
c1d4c2fc38
  1. 5
      eisvogel.tex

5
eisvogel.tex

@ -658,7 +658,8 @@ $endif$
$if(disable-header-and-footer)$
$else$
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancypagestyle{eisvogel-header-footer}{
\fancyhead{}
\fancyfoot{}
\lhead[$if(header-right)$$header-right$$else$$date$$endif$]{$if(header-left)$$header-left$$else$$title$$endif$}
@ -669,6 +670,8 @@ $else$
\rfoot[$if(footer-left)$$footer-left$$else$$for(author)$$author$$sep$, $endfor$$endif$]{$if(footer-right)$$footer-right$$else$\thepage$endif$}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
}
\pagestyle{eisvogel-header-footer}
$endif$
%%

Loading…
Cancel
Save