diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2021-12-20 15:46:57 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2021-12-20 15:46:57 +0100 |
commit | bd8894c65af5704c402760c24d546e2a823004b2 (patch) | |
tree | 85be7c7f07aca4596366da371814f247189f0c3d /source | |
parent | b41928adfb8f892f1ebadb292208a8568984b4d8 (diff) |
Improve looks of pdf
Diffstat (limited to 'source')
-rw-r--r-- | source/conf.py | 19 |
1 files changed, 19 insertions, 0 deletions
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}', + } |