Browse Source

It is now possible to change the text in the header and footer.

pull/55/head
Wandmalfarbe 6 years ago
parent
commit
540173c741
  1. 18
      README.md
  2. 12
      eisvogel.tex

18
README.md

@ -77,6 +77,24 @@ This template defines some new variables to control the appearance of the title
- `disable-header-and-footer` (default to `false`)
disables the header and footer completely on all pages
- `header-left` (defaults to the title)
the text in the left of the header
- `header-center`
the text in the center of the header
- `header-right` (defaults to the date)
the text in the right of the header
- `footer-left` (defaults to the author)
the text in the left of the footer
- `footer-center`
the text in the center of the footer
- `footer-right` (defaults to the page number)
the text in the right of the footer
## Examples

12
eisvogel.tex

@ -647,12 +647,12 @@ $else$
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\lhead{$title$}
\chead{}
\rhead{$date$}
\lfoot{$for(author)$$author$$sep$, $endfor$}
\cfoot{}
\rfoot{\thepage}
\lhead{$if(header-left)$$header-left$$else$$title$$endif$}
\chead{$if(header-center)$$header-center$$else$$endif$}
\rhead{$if(header-right)$$header-right$$else$$date$$endif$}
\lfoot{$if(footer-left)$$footer-left$$else$$for(author)$$author$$sep$, $endfor$$endif$}
\cfoot{$if(footer-center)$$footer-center$$else$$endif$}
\rfoot{$if(footer-right)$$footer-right$$else$\thepage$endif$}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
$endif$

Loading…
Cancel
Save