mirror of
https://github.com/Wandmalfarbe/pandoc-latex-template.git
synced 2024-12-19 06:17:51 +00:00
Issue #109: Added example on how to change header and footer.
This commit is contained in:
parent
5d23d3f93a
commit
e475fc8cef
@ -7,6 +7,10 @@ echo "# Building examples"
|
||||
echo "##"
|
||||
echo ""
|
||||
|
||||
echo "- header-and-footer"
|
||||
pandoc "header-and-footer/header-and-footer.md" -o "header-and-footer/header-and-footer.pdf" --from markdown --template "../eisvogel.latex" --listings --resource-path "./header-and-footer/"
|
||||
pdftoppm -r 150 -png "header-and-footer/header-and-footer.pdf" > "header-and-footer/header-and-footer.png"
|
||||
|
||||
echo "- titlepage-background"
|
||||
cd "titlepage-background"
|
||||
pandoc "titlepage-background.md" -o "titlepage-background.pdf" --from markdown --template "../../eisvogel.latex" --listings
|
||||
|
62
examples/header-and-footer/header-and-footer.md
Normal file
62
examples/header-and-footer/header-and-footer.md
Normal file
@ -0,0 +1,62 @@
|
||||
---
|
||||
title: "Example PDF"
|
||||
author: [Author]
|
||||
date: "2017-02-20"
|
||||
subject: "Markdown"
|
||||
keywords: [Markdown, Example]
|
||||
header-left: "\\hspace{1cm}"
|
||||
header-center: "\\leftmark"
|
||||
header-right: "Page \\thepage"
|
||||
footer-left: "\\thetitle"
|
||||
footer-center: "This is \\LaTeX{}"
|
||||
footer-right: "\\theauthor"
|
||||
...
|
||||
|
||||
# Vinaque sanguine metuenti cuiquam Alcyone fixus
|
||||
|
||||
## Aesculeae domus vincemur et Veneris adsuetus lapsum
|
||||
|
||||
Lorem markdownum Letoia, et alios: figurae flectentem annis aliquid Peneosque ab
|
||||
esse, obstat gravitate. Obscura atque coniuge, per de coniunx, sibi **medias
|
||||
commentaque virgine** anima tamen comitemque petis, sed. In Amphion vestros
|
||||
hamos ire arceor mandere spicula, in licet aliquando.
|
||||
|
||||
```java
|
||||
public class Example implements LoremIpsum {
|
||||
public static void main(String[] args) {
|
||||
if(args.length < 2) {
|
||||
System.out.println("Lorem ipsum dolor sit amet");
|
||||
}
|
||||
} // Obscura atque coniuge, per de coniunx
|
||||
}
|
||||
```
|
||||
|
||||
Porrigitur et Pallas nuper longusque cratere habuisse sepulcro pectore fertur.
|
||||
Laudat ille auditi; vertitur iura tum nepotis causa; motus. Diva virtus! Acrota
|
||||
destruitis vos iubet quo et classis excessere Scyrumve spiro subitusque mente
|
||||
Pirithoi abstulit, lapides.
|
||||
|
||||
## Lydia caelo recenti haerebat lacerum ratae at
|
||||
|
||||
Te concepit pollice fugit vias alumno **oras** quam potest
|
||||
[rursus](http://example.com#rursus) optat. Non evadere orbem equorum, spatiis,
|
||||
vel pede inter si.
|
||||
|
||||
1. De neque iura aquis
|
||||
2. Frangitur gaudia mihi eo umor terrae quos
|
||||
3. Recens diffudit ille tantum
|
||||
|
||||
\begin{equation}\label{eq:neighbor-propability}
|
||||
p_{ij}(t) = \frac{\ell_j(t) - \ell_i(t)}{\sum_{k \in N_i(t)}^{} \ell_k(t) - \ell_i(t)}
|
||||
\end{equation}
|
||||
|
||||
Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae
|
||||
adessent arbor. Florente perque at condeturque saxa et ferarum promittis tendebat. Armos nisi obortas refugit me.
|
||||
|
||||
> Et nepotes poterat, se qui. Euntem ego pater desuetaque aethera Maeandri, et
|
||||
[Dardanio geminaque](http://example.com#Dardanio_geminaque) cernit. Lassaque poenas
|
||||
nec, manifesta $\pi r^2$ mirantia captivarum prohibebant scelerato gradus unusque
|
||||
dura.
|
||||
|
||||
- Permulcens flebile simul
|
||||
- Iura tum nepotis causa motus diva virtus Acrota. Tamen condeturque saxa Pallorque num et ferarum promittis inveni lilia iuvencae adessent arbor. Florente perque at ire arcum.
|
BIN
examples/header-and-footer/header-and-footer.pdf
Normal file
BIN
examples/header-and-footer/header-and-footer.pdf
Normal file
Binary file not shown.
BIN
examples/header-and-footer/header-and-footer.png
Normal file
BIN
examples/header-and-footer/header-and-footer.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 235 KiB |
Loading…
Reference in New Issue
Block a user