Skip to content

Commit

Permalink
LaTeX: Use CSS-style options, avoid sphinxheavybox work-around
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed May 24, 2023
1 parent ce39da6 commit e1179c2
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,17 @@
'printindex': '',
'sphinxsetup': r"""
HeaderFamily=\rmfamily\bfseries,
%verbatimwithframe=false,
%verbatimwrapslines=false,
%verbatimhintsturnover=false,
noteBorderColor={HTML}{E0E0E0},
noteborder=0.5pt,
warningBorderColor={HTML}{E0E0E0},
warningborder=1.5pt,
warningBgColor={HTML}{FBFBFB},
div.note_border-TeXcolor={HTML}{E0E0E0},
div.note_border-width=0.5pt,
div.note_box-decoration-break=slice,
div.warning_border-TeXcolor={HTML}{E0E0E0},
div.warning_border-width=1.5pt,
div.warning_background-TeXcolor={HTML}{FBFBFB},
div.warning_box-decoration-break=slice,
div.topic_box-shadow=none,
div.topic_border-TeXcolor={HTML}{E0E0E0},
div.topic_border-width=0.5pt,
div.topic_box-decoration-break=slice,
""",
'fontpkg': r"""
\usepackage{mathpazo}
Expand All @@ -162,8 +165,6 @@
""",
'preamble': r"""
\urlstyle{tt}
\renewenvironment{sphinxnote}[1]
{\begin{sphinxheavybox}\sphinxstrong{#1} }{\end{sphinxheavybox}}
""",
}

Expand Down

0 comments on commit e1179c2

Please sign in to comment.