summaryrefslogtreecommitdiff
path: root/vuc/ep
diff options
context:
space:
mode:
Diffstat (limited to 'vuc/ep')
-rw-r--r--vuc/ep/guarana.md21
1 files changed, 20 insertions, 1 deletions
diff --git a/vuc/ep/guarana.md b/vuc/ep/guarana.md
index a42035c..b0fe55e 100644
--- a/vuc/ep/guarana.md
+++ b/vuc/ep/guarana.md
@@ -4,12 +4,31 @@ subtitle: Eksamensprojekt i Dansk A og Historie B
author: Jonas Smedegaard
date: 2023-05-02
lang: da-DK
-documentclass: scrreprt
mainfont: Libertinus Serif
mainfontoptions:
- Numbers=Lowercase
sansfont: Libertinus Sans
monofont: Libertinus Mono
+format:
+# html:
+# embed-resources: true
+ pdf:
+ pdf-engine: lualatex
+ documentclass: scrreprt
+ classoption:
+ - DIV=calc
+ papersize: a4
+ include-in-header:
+# turn inline hyperlinks into footnotes
+ - text: |
+ \usepackage{hyperref}
+ \renewcommand{\href}[2]{#2\footnote{\url{#1}}}
+# recalculate page margins, since mainfont was set after documentclass
+ - text: |
+ \KOMAoptions{DIV=last}
+# avoid widow or orphan lines
+ - text: |
+ \usepackage[defaultlines=4,all]{nowidow}
toc: true
toc-depth: 2
bibliography: ref.bib