mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #1906 from kieranh5511/master
Use xcolor over color for \fcolorbox where available for LaTeX output
This commit is contained in:
commit
476f8093ea
@ -19,7 +19,13 @@
|
||||
\RequirePackage{makeidx}
|
||||
\RequirePackage{framed}
|
||||
\RequirePackage{ifthen}
|
||||
\RequirePackage{color}
|
||||
%The xcolor package draws better fcolorboxes
|
||||
%around verbatim code
|
||||
\IfFileExists{xcolor.sty}{
|
||||
\RequirePackage[xcdraw]{xcolor}
|
||||
}{
|
||||
\RequirePackage{color}
|
||||
}
|
||||
% For highlighted code.
|
||||
\RequirePackage{fancyvrb}
|
||||
% For table captions.
|
||||
|
Loading…
Reference in New Issue
Block a user