mirror of
https://github.com/Wandmalfarbe/pandoc-latex-template.git
synced 2024-12-19 14:27:52 +00:00
Issue #283: Add an example for a table of contents
This commit is contained in:
parent
30cfc57a0c
commit
93261ad404
1
examples/table-of-contents/build.sh
Normal file
1
examples/table-of-contents/build.sh
Normal file
@ -0,0 +1 @@
|
||||
pandoc "document.md" -o "document.pdf" --from markdown --template "../../eisvogel.tex"
|
59
examples/table-of-contents/document.md
Normal file
59
examples/table-of-contents/document.md
Normal file
@ -0,0 +1,59 @@
|
||||
---
|
||||
title: "Example PDF"
|
||||
author: [Author]
|
||||
date: "2022-03-04"
|
||||
subject: "Markdown"
|
||||
keywords: [Markdown, Example]
|
||||
lang: "en"
|
||||
toc: true
|
||||
toc-own-page: true
|
||||
...
|
||||
|
||||
# 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/table-of-contents/document.pdf
Normal file
BIN
examples/table-of-contents/document.pdf
Normal file
Binary file not shown.
BIN
examples/table-of-contents/preview.png
Normal file
BIN
examples/table-of-contents/preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 227 KiB |
Loading…
Reference in New Issue
Block a user