1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 06:44:21 +00:00

🔧 Or like this?

This commit is contained in:
Steffo 2021-12-07 18:32:26 +01:00
parent 31db41190f
commit 29dc9162a7
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -139,7 +139,9 @@ latex_setup = {
"errorBorderColor": "{rgb}{0.95,0.62,0.59}", "errorBorderColor": "{rgb}{0.95,0.62,0.59}",
"errorBgColor": "{rgb}{0.95,0.62,0.59}", "errorBgColor": "{rgb}{0.95,0.62,0.59}",
"bookmarksdepth": 2, "bookmarksdepth": "2",
"verbatimforcewraps": "true",
} }
latex_elements = { latex_elements = {
"papersize": "a4paper", "papersize": "a4paper",
@ -150,14 +152,6 @@ 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}}]}
""",
"maketitle": r""" "maketitle": r"""
\begin{titlepage} \begin{titlepage}