LaTeX template: Load xcolor if available

The `xcolor` package must be loaded before the `footnote` package, which we load to fix foonotes in tables. Closes #4861.
This commit is contained in:
Andrew Dunning 2019-01-01 14:45:20 -05:00
parent d410554f46
commit 275cedc59c

View file

@ -173,9 +173,7 @@ $endif$
$if(verbatim-in-note)$
\usepackage{fancyvrb}
$endif$
$if(colorlinks)$
\usepackage{xcolor}
$endif$
\IfFileExists{xcolor.sty}{\usepackage{xcolor}}{}
\usepackage{hyperref}
\hypersetup{
$if(title-meta)$