diff --git a/doc/utils/sphinx-config/conf.py.in b/doc/utils/sphinx-config/conf.py.in index cc003ffa48..8eca64b9e2 100644 --- a/doc/utils/sphinx-config/conf.py.in +++ b/doc/utils/sphinx-config/conf.py.in @@ -299,6 +299,7 @@ latex_elements = { # Additional stuff for the LaTeX preamble. 'preamble': r''' +\usepackage{xcolor} \setcounter{tocdepth}{2} \renewcommand{\sfdefault}{ptm} % Use Times New Roman font for \textrm \renewcommand{\sfdefault}{phv} % Use Helvetica font for \textsf @@ -343,7 +344,14 @@ latex_elements = { \renewcommand*\l@subsection{\@dottedtocline{2}{4.6em}{4.5em}} } \makeatother -''' +''', +'maketitle': r''' +\pagecolor{black} +\color{white} +\sphinxmaketitle +\nopagecolor +\color{black} +''', } # Grouping the document tree into LaTeX files. List of tuples