diff --git a/source/_static/Logo_SIB_electricindigo.png b/source/_static/Logo_SIB_electricindigo.png new file mode 100644 index 0000000..b43ad9f Binary files /dev/null and b/source/_static/Logo_SIB_electricindigo.png differ diff --git a/source/conf.py b/source/conf.py index e338b29..7a54e4e 100644 --- a/source/conf.py +++ b/source/conf.py @@ -54,3 +54,26 @@ 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_elements = { + 'papersize': r'a4paper', + 'fontpkg': r''' +%\usepackage[default]{lato} +%\setmainfont{DejaVu Serif} +%\setsansfont{DejaVu Sans} +%\setmonofont{DejaVu Sans Mono} +''', + 'preamble': r''' +\usepackage[titles]{tocloft} +\cftsetpnumwidth {1.25cm}\cftsetrmarg{1.5cm} +\setlength{\cftchapnumwidth}{0.75cm} +\setlength{\cftsecindent}{\cftchapnumwidth} +\setlength{\cftsecnumwidth}{1.25cm} +''', + 'fncychap': r'\usepackage[Bjornstrup]{fncychap}', + 'printindex': r'\footnotesize\raggedright\printindex', +} +latex_logo = '_static/Logo_SIB_electricindigo.png' +latex_show_urls = 'footnote'