aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2020-10-20 09:03:56 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2020-10-20 09:03:56 +0200
commit8430b3c02962ab71edf5e72bbb3cf2841f24f7e2 (patch)
tree6426a4a791a3e08afd16276f9d1c5d9e8479e71f /source
parent326eceed9df6e4d01f6f50e1dff205c09ba3187e (diff)
Some styling for the PDF output
Diffstat (limited to 'source')
-rw-r--r--source/conf.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/source/conf.py b/source/conf.py
index 14d9070..c7e91c5 100644
--- a/source/conf.py
+++ b/source/conf.py
@@ -63,3 +63,17 @@ html_static_path = ['_static']
latex_engine = 'xelatex'
latex_show_urls = 'footnote'
+latex_toplevel_sectioning = 'part'
+
+latex_elements = {
+ 'papersize': 'a5paper',
+ 'fontpkg': r'''
+ \setmainfont{Essays1743}
+ \setsansfont{Essays1743}
+ ''',
+ 'sphinxsetup': r'''
+ TitleColor={named}{black},
+ InnerLinkColor={named}{brown},
+ OuterLinkColor={named}{brown},
+ '''
+ }