From 969db3ecfa1429be88d12372821ac33808ad02da Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Mon, 20 Dec 2021 14:27:57 +0100 Subject: Improve looks of pdf --- source/conf.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'source/conf.py') 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}', + } -- cgit v1.2.3