mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 06:44:21 +00:00
🔧 Test sphinx directives fix
This commit is contained in:
parent
9123db12ec
commit
3483778410
1 changed files with 9 additions and 0 deletions
|
@ -150,6 +150,15 @@ latex_elements = {
|
||||||
\setsansfont{EB Garamond}
|
\setsansfont{EB Garamond}
|
||||||
\setmonofont{Fira Code}
|
\setmonofont{Fira Code}
|
||||||
""",
|
""",
|
||||||
|
"preamble": r"""
|
||||||
|
\renewcommand{\pysigline}[1]{%
|
||||||
|
\setlength{\py@argswidth}{\dimexpr\labelwidth+\linewidth\relax}%
|
||||||
|
\item[{\parbox[t]{\py@argswidth}{\raggedright#1}}]}
|
||||||
|
\renewcommand{\pysiglinewithargsret}[1]{%
|
||||||
|
\setlength{\py@argswidth}{\dimexpr\labelwidth+\linewidth\relax}%
|
||||||
|
\item[{\parbox[t]{\py@argswidth}{\raggedright#1}}]}
|
||||||
|
\makeatother
|
||||||
|
""",
|
||||||
"maketitle": r"""
|
"maketitle": r"""
|
||||||
\begin{titlepage}
|
\begin{titlepage}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue