mirror of
https://github.com/Wandmalfarbe/pandoc-latex-template.git
synced 2025-03-11 15:04:16 +00:00
Fix headers and footers bug introduced in commit 4b7c6f41e4bda1645eb5… (#248)
* Fix headers and footers bug introduced in commit 4b7c6f41e4bda1645eb5b88d9e510348dcf261f3
This commit is contained in:
parent
6f0a73dec6
commit
1c3ba2cbf9
12
eisvogel.tex
12
eisvogel.tex
@ -830,12 +830,12 @@ $else$
|
|||||||
|
|
||||||
\newpairofpagestyles{eisvogel-header-footer}{
|
\newpairofpagestyles{eisvogel-header-footer}{
|
||||||
\clearpairofpagestyles
|
\clearpairofpagestyles
|
||||||
\ihead[$if(header-right)$$header-right$$else$$date$$endif$]{$if(header-left)$$header-left$$else$$title$$endif$}
|
\ihead*{$if(header-left)$$header-left$$else$$title$$endif$}
|
||||||
\chead[$if(header-center)$$header-center$$else$$endif$]{$if(header-center)$$header-center$$else$$endif$}
|
\chead*{$if(header-center)$$header-center$$else$$endif$}
|
||||||
\ohead[$if(header-left)$$header-left$$else$$title$$endif$]{$if(header-right)$$header-right$$else$$date$$endif$}
|
\ohead*{$if(header-right)$$header-right$$else$$date$$endif$}
|
||||||
\ifoot[$if(footer-right)$$footer-right$$else$\thepage$endif$]{$if(footer-left)$$footer-left$$else$$for(author)$$author$$sep$, $endfor$$endif$}
|
\ifoot*{$if(footer-left)$$footer-left$$else$$for(author)$$author$$sep$, $endfor$$endif$}
|
||||||
\cfoot[$if(footer-center)$$footer-center$$else$$endif$]{$if(footer-center)$$footer-center$$else$$endif$}
|
\cfoot*{$if(footer-center)$$footer-center$$else$$endif$}
|
||||||
\ofoot[$if(footer-left)$$footer-left$$else$$for(author)$$author$$sep$, $endfor$$endif$]{$if(footer-right)$$footer-right$$else$\thepage$endif$}
|
\ofoot*{$if(footer-right)$$footer-right$$else$\thepage$endif$}
|
||||||
\addtokomafont{pageheadfoot}{\upshape}
|
\addtokomafont{pageheadfoot}{\upshape}
|
||||||
}
|
}
|
||||||
\pagestyle{eisvogel-header-footer}
|
\pagestyle{eisvogel-header-footer}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user