summaryrefslogtreecommitdiff
path: root/_report.yml
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-02-13 12:35:31 +0100
committerJonas Smedegaard <dr@jones.dk>2024-02-13 13:48:29 +0100
commit8647bf18dc3244885683f283a07b7cb23729f30c (patch)
tree4fa8e64f2a46bea1b805af286cbdc36fcc939cbf /_report.yml
parent157c9a56e36a24cbbcb5930543d0bd36a8b3801e (diff)
render only html by default
Diffstat (limited to '_report.yml')
-rw-r--r--_report.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/_report.yml b/_report.yml
new file mode 100644
index 0000000..997f985
--- /dev/null
+++ b/_report.yml
@@ -0,0 +1,35 @@
+format:
+ pdf:
+# links-as-notes: true
+ colorlinks: false
+ pdf-engine: lualatex
+ documentclass: scrreprt
+ classoption:
+ - DIV=calc
+ csquotes: true
+ papersize: a4
+# template-partials:
+# - title.tex
+
+ include-in-header:
+# recalculate page margins, since mainfont was set after documentclass
+ - text: |
+ \KOMAoptions{DIV=last}
+# avoid widow or orphan lines
+ - text: |
+ \usepackage[defaultlines=4,all]{nowidow}
+
+ include-before-content:
+# avoid english style of double space after punctuation
+ - text: |
+ \frenchspacing
+# setup graph visualization libraries
+ - text: |
+ \usepackage{tikz}
+ \usetikzlibrary{arrows.meta,chains,positioning,shapes.geometric}
+ \tikzset{
+ node distance = 0.75cm and 2cm, font=\bfseries,
+ >=stealth,
+ vertex/.style={circle,draw,minimum size=1.5em}
+ }
+ \tikzstyle{bag} = [align=center]