mirror of
https://github.com/Wandmalfarbe/pandoc-latex-template.git
synced 2024-12-20 14:53:06 +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{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
|
||||||
|
Loading…
Reference in New Issue
Block a user