We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ddf6acd + 454a4b9 commit 476f809Copy full SHA for 476f809
1 file changed
sphinx/texinputs/sphinx.sty
@@ -19,7 +19,13 @@
19
\RequirePackage{makeidx}
20
\RequirePackage{framed}
21
\RequirePackage{ifthen}
22
-\RequirePackage{color}
+%The xcolor package draws better fcolorboxes
23
+%around verbatim code
24
+\IfFileExists{xcolor.sty}{
25
+ \RequirePackage[xcdraw]{xcolor}
26
+}{
27
+ \RequirePackage{color}
28
+}
29
% For highlighted code.
30
\RequirePackage{fancyvrb}
31
% For table captions.
0 commit comments