mirror of
https://github.com/Wandmalfarbe/pandoc-latex-template.git
synced 2024-12-19 22:37:51 +00:00
Fix #36: No option clash for package xcolor.
This commit is contained in:
parent
20c7cdd7b2
commit
40b00f3002
@ -40,9 +40,7 @@
|
||||
|
||||
\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
|
||||
\PassOptionsToPackage{hyphens}{url}
|
||||
$if(colorlinks)$
|
||||
\PassOptionsToPackage{dvipsnames,svgnames*,x11names*,table}{xcolor}
|
||||
$endif$
|
||||
\PassOptionsToPackage{svgnames*,table}{xcolor}
|
||||
%
|
||||
\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)$
|
||||
@ -425,10 +423,7 @@ $endif$
|
||||
%
|
||||
% colors
|
||||
%
|
||||
$if(colorlinks)$
|
||||
$else$
|
||||
\usepackage[dvipsnames,svgnames*,x11names*,table]{xcolor}
|
||||
$endif$
|
||||
\usepackage[]{xcolor}
|
||||
|
||||
%
|
||||
% listing colors
|
||||
|
Loading…
Reference in New Issue
Block a user