summaryrefslogtreecommitdiff
path: root/source/conf.py
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-12-20 14:27:57 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-12-20 14:27:57 +0100
commit969db3ecfa1429be88d12372821ac33808ad02da (patch)
treeab69eb4a28a42270d516c25c1c988863f13f8eb8 /source/conf.py
parent8cc52da266f28745098735d57e0b846fccf0621e (diff)
Improve looks of pdf
Diffstat (limited to 'source/conf.py')
-rw-r--r--source/conf.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/source/conf.py b/source/conf.py
index 209e71c..5fec8d7 100644
--- a/source/conf.py
+++ b/source/conf.py
@@ -50,3 +50,22 @@ html_theme = 'alabaster'
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
+
+# -- Options for latex output -------------------------------------------------
+
+latex_engine = 'xelatex'
+latex_show_urls = 'footnote'
+
+latex_elements = {
+ 'papersize': 'a5paper',
+ 'fontpkg': r'''
+ \setmainfont{Gentium}
+ \setsansfont{Gentium}
+ ''',
+ 'sphinxsetup': r'''
+ TitleColor={named}{black},
+ InnerLinkColor={named}{gray},
+ OuterLinkColor={named}{gray},
+ ''',
+ 'fncychap': r'\usepackage[Rejne]{fncychap}',
+ }