Fix #36: No option clash for package xcolor.

This commit is contained in:
Wandmalfarbe 2018-05-06 11:58:41 +02:00
parent 20c7cdd7b2
commit 40b00f3002

View File

@ -40,9 +40,7 @@
\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere \PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
\PassOptionsToPackage{hyphens}{url} \PassOptionsToPackage{hyphens}{url}
$if(colorlinks)$ \PassOptionsToPackage{svgnames*,table}{xcolor}
\PassOptionsToPackage{dvipsnames,svgnames*,x11names*,table}{xcolor}
$endif$
% %
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$else$a4paper,$endif$$if(beamer)$ignorenonframetext,$if(handout)$handout,$endif$$if(aspectratio)$aspectratio=$aspectratio$,$endif$$endif$$for(classoption)$$classoption$$sep$,$endfor$,tablecaptionabove]{scrartcl} \documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$else$a4paper,$endif$$if(beamer)$ignorenonframetext,$if(handout)$handout,$endif$$if(aspectratio)$aspectratio=$aspectratio$,$endif$$endif$$for(classoption)$$classoption$$sep$,$endfor$,tablecaptionabove]{scrartcl}
$if(beamer)$ $if(beamer)$
@ -425,10 +423,7 @@ $endif$
% %
% colors % colors
% %
$if(colorlinks)$ \usepackage[]{xcolor}
$else$
\usepackage[dvipsnames,svgnames*,x11names*,table]{xcolor}
$endif$
% %
% listing colors % listing colors