docs: proposal for pdf title page customization
This commit is contained in:
committed by
Richard Berger
parent
216be2e96f
commit
d39354d569
@ -299,6 +299,7 @@ latex_elements = {
|
|||||||
|
|
||||||
# Additional stuff for the LaTeX preamble.
|
# Additional stuff for the LaTeX preamble.
|
||||||
'preamble': r'''
|
'preamble': r'''
|
||||||
|
\usepackage{xcolor}
|
||||||
\setcounter{tocdepth}{2}
|
\setcounter{tocdepth}{2}
|
||||||
\renewcommand{\sfdefault}{ptm} % Use Times New Roman font for \textrm
|
\renewcommand{\sfdefault}{ptm} % Use Times New Roman font for \textrm
|
||||||
\renewcommand{\sfdefault}{phv} % Use Helvetica font for \textsf
|
\renewcommand{\sfdefault}{phv} % Use Helvetica font for \textsf
|
||||||
@ -343,7 +344,14 @@ latex_elements = {
|
|||||||
\renewcommand*\l@subsection{\@dottedtocline{2}{4.6em}{4.5em}}
|
\renewcommand*\l@subsection{\@dottedtocline{2}{4.6em}{4.5em}}
|
||||||
}
|
}
|
||||||
\makeatother
|
\makeatother
|
||||||
'''
|
''',
|
||||||
|
'maketitle': r'''
|
||||||
|
\pagecolor{black}
|
||||||
|
\color{white}
|
||||||
|
\sphinxmaketitle
|
||||||
|
\nopagecolor
|
||||||
|
\color{black}
|
||||||
|
''',
|
||||||
}
|
}
|
||||||
|
|
||||||
# Grouping the document tree into LaTeX files. List of tuples
|
# Grouping the document tree into LaTeX files. List of tuples
|
||||||
|
|||||||
Reference in New Issue
Block a user