From fdca128cba6598d4ff1eae4dffd8749c572d22f6 Mon Sep 17 00:00:00 2001 From: Merlijn Sebrechts Date: Mon, 22 Apr 2019 16:55:54 +0200 Subject: [PATCH] Page numbers always on outside in booklet --- eisvogel.tex | 4 ++-- pandoc-metadata.yaml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/eisvogel.tex b/eisvogel.tex index 02c3212..348ce4c 100644 --- a/eisvogel.tex +++ b/eisvogel.tex @@ -712,9 +712,9 @@ $else$ \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$]{$if(header-center)$$header-center$$else$$endif$} \rhead[$if(header-left)$$header-left$$else$$title$$endif$]{$if(header-right)$$header-right$$else$$date$$endif$} - \lfoot[$if(footer-right)$$footer-right$$else$\thepage$endif$]{$if(footer-left)$$footer-left$$else$$for(author)$$author$$sep$, $endfor$$endif$} + \rfoot[$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$]{$if(footer-center)$$footer-center$$else$$endif$} - \rfoot[$if(footer-left)$$footer-left$$else$$for(author)$$author$$sep$, $endfor$$endif$]{$if(footer-right)$$footer-right$$else$\thepage$endif$} + \lfoot[$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} } diff --git a/pandoc-metadata.yaml b/pandoc-metadata.yaml index 297fe13..1638235 100644 --- a/pandoc-metadata.yaml +++ b/pandoc-metadata.yaml @@ -15,6 +15,7 @@ toc-title: "Table of Contents" # # Options specific to Latex (PDF version) # +book: true footer-left: "Hackerspace Gent" links-as-notes: yes # This is an inline yaml metadata code block that specifies custom headers and footers