mirror of
https://github.com/Wandmalfarbe/pandoc-latex-template.git
synced 2024-12-30 10:59:24 +00:00
Book: Distinguish even/odd pages in header with twoside
fixes https://github.com/Wandmalfarbe/pandoc-latex-template/issues/56
This commit is contained in:
parent
e31aedde72
commit
154bc35e22
12
eisvogel.tex
12
eisvogel.tex
@ -647,12 +647,12 @@ $else$
|
|||||||
\pagestyle{fancy}
|
\pagestyle{fancy}
|
||||||
\fancyhead{}
|
\fancyhead{}
|
||||||
\fancyfoot{}
|
\fancyfoot{}
|
||||||
\lhead{$if(header-left)$$header-left$$else$$title$$endif$}
|
\lhead[$if(header-right)$$header-right$$else$$date$$endif$]{$if(header-left)$$header-left$$else$$title$$endif$}
|
||||||
\chead{$if(header-center)$$header-center$$else$$endif$}
|
\chead[$if(header-center)$$header-center$$else$$endif$]{$if(header-center)$$header-center$$else$$endif$}
|
||||||
\rhead{$if(header-right)$$header-right$$else$$date$$endif$}
|
\rhead[$if(header-left)$$header-left$$else$$title$$endif$]{$if(header-right)$$header-right$$else$$date$$endif$}
|
||||||
\lfoot{$if(footer-left)$$footer-left$$else$$for(author)$$author$$sep$, $endfor$$endif$}
|
\lfoot[$if(footer-right)$$footer-right$$else$\thepage$endif$]{$if(footer-left)$$footer-left$$else$$for(author)$$author$$sep$, $endfor$$endif$}
|
||||||
\cfoot{$if(footer-center)$$footer-center$$else$$endif$}
|
\cfoot[$if(footer-center)$$footer-center$$else$$endif$]{$if(footer-center)$$footer-center$$else$$endif$}
|
||||||
\rfoot{$if(footer-right)$$footer-right$$else$\thepage$endif$}
|
\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{\headrulewidth}{0.4pt}
|
||||||
\renewcommand{\footrulewidth}{0.4pt}
|
\renewcommand{\footrulewidth}{0.4pt}
|
||||||
$endif$
|
$endif$
|
||||||
|
Loading…
Reference in New Issue
Block a user