From bd8894c65af5704c402760c24d546e2a823004b2 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Mon, 20 Dec 2021 15:46:57 +0100 Subject: Improve looks of pdf --- source/conf.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'source') diff --git a/source/conf.py b/source/conf.py index da2a7d5..720baa4 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