forked from wtf-eg/handbuch-gen
initial settings for wtf cooperative latex CI added
This commit is contained in:
parent
3d7cfada53
commit
0f67e0cd92
BIN
sphinx/source/_static/wtf_coop_header.png
Normal file
BIN
sphinx/source/_static/wtf_coop_header.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
@ -66,3 +66,26 @@ html_theme_path = ["../theme"]
|
|||||||
# relative to this directory. They are copied after the builtin static files,
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||||
#html_static_path = ['_static']
|
#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/wtf_coop_header.png'
|
||||||
|
latex_show_urls = 'footnote'
|
||||||
|
Loading…
Reference in New Issue
Block a user