aboutsummaryrefslogtreecommitdiff
path: root/structure/book/00-header.yml
diff options
context:
space:
mode:
Diffstat (limited to 'structure/book/00-header.yml')
-rw-r--r--structure/book/00-header.yml45
1 files changed, 45 insertions, 0 deletions
diff --git a/structure/book/00-header.yml b/structure/book/00-header.yml
new file mode 100644
index 0000000..2ad19fe
--- /dev/null
+++ b/structure/book/00-header.yml
@@ -0,0 +1,45 @@
+# Bookdown YAML header
+# See https://bookdown.org/yihui/bookdown/usage.html#usage
+# https://bookdown.org/yihui/bookdown/yaml-options.html
+
+# Site
+site: "bookdown::bookdown_site"
+
+# Automatically generate the list of tables and figures
+# These can also be explicitly generated using LaTeX commands
+lot: false
+lof: false
+
+# Cover image
+#cover-image: "images/cover.png"
+
+# Fonts
+mainfont: "Linux Libertine O"
+monofont: "Liberation Mono"
+
+# Paper size
+#papersize: a4paper
+#papersize: letterpaper
+papersize: b5paper
+
+# Geometry
+#geometry: paperwidth=6in,paperheight=9in
+
+# Class option
+# Use "symmetric" in the classoption if you want margin notes in alternating sides
+#classoption: "symmetric,justified"
+#classoption: "twoside,symmetric,justified"
+classoption: "justified"
+
+# Header includes
+header-includes:
+ # Support for deeply nested lists
+ # See https://stackoverflow.com/questions/57945414/too-deeply-nested-at-just-fourth-nesting-level-using-pandoc-with-markdown
+ - \usepackage{enumitem}
+ - \setlistdepth{20}
+ - \renewlist{itemize}{itemize}{20}
+ - \renewlist{enumerate}{enumerate}{20}
+ - \setlist[itemize]{label=$\cdot$}
+ - \setlist[itemize,1]{label=\textbullet}
+ - \setlist[itemize,2]{label=--}
+ - \setlist[itemize,3]{label=*}