Skip to content

Commit cf6273a

Browse files
committed
LaTeX: fix nits with some mark-up in doc and code comment
1 parent c951f5f commit cf6273a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/latex.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,10 +1117,10 @@ Do not use quotes to enclose values, whether numerical or strings.
11171117
``importantBgColor``, ``tipBgColor``
11181118

11191119
.. |notetextcolors| replace:: ``noteTextColor``, ``hintTextColor``,
1120-
``importantTextColor``, ``tipTextColor``
1120+
``importantTextColor``, ``tipTextColor``
11211121

11221122
.. |notetexextras| replace:: ``noteTeXextras``, ``hintTeXextras``,
1123-
``importantTeXextras``, ``tipTeXextras``
1123+
``importantTeXextras``, ``tipTeXextras``
11241124

11251125
.. |warningbdcolors| replace:: ``warningBorderColor``, ``cautionBorderColor``,
11261126
``attentionBorderColor``, ``dangerBorderColor``,

sphinx/texinputs/sphinx.sty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ will be set to white}%
925925
padding=\fboxsep,% but done here out of habit
926926
border-radius=\fboxsep,%
927927
box-shadow=none,%
928-
% As xcolor is perhaps not loaded we can not use border-TeXcolor=VerbatimColor
928+
% As xcolor is perhaps not loaded we can not use background-TeXcolor=VerbatimColor
929929
% which would not be compatible with \definecolor syntax.
930930
border-TeXcolor={RGB}{32,32,32},% the default VerbatimBorderColor
931931
background-TeXcolor={gray}{0.95},% the default VerbatimColor

sphinx/texinputs/sphinxlatexshadowbox.sty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
\@setminipage
9898
}%
9999
\color@begingroup % workaround upstream framed.sty bug
100-
\csname ifspx@topic@withtextcolor\endcsname
100+
\ifspx@topic@withtextcolor
101101
\color{sphinxtopicTextColor}%
102102
\fi
103103
\spx@topic@TeXextras

0 commit comments

Comments
 (0)