From 8430b3c02962ab71edf5e72bbb3cf2841f24f7e2 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Tue, 20 Oct 2020 09:03:56 +0200 Subject: Some styling for the PDF output --- source/conf.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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}, + ''' + } -- cgit v1.2.3