Skip to main content
14 votes
Accepted

Option clash for package [square]{natbib}

Instead of (re)loading the natbib package with various options, simply execute \usepackage{natbib} \setcitestyle{square, comma, numbers,sort&compress, super} By the way, the options numbers and ...
Mico's user avatar
  • 515k
12 votes

Is it ok to load a package twice (as long as no extra options are given)?

Experiment 1: \documentclass{article} \usepackage[cmyk]{xcolor} \usepackage{xcolor} \begin{document} a \end{document} Terminal output: This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) ...
egreg's user avatar
  • 1.1m
6 votes

Calculators packages : TI and Casio

Just swap the order so the package using xcolor options is first \documentclass[a4paper,12pt]{report} \usepackage{tipfr} % TIcalculator \usepackage[color=real]{graph35} % Casio calculator \begin{...
David Carlisle's user avatar
5 votes
Accepted

Option clash from another class emulating package

Not really, you can use \DisemulatePackage{appendix} to stop memoir claiming that appendix is loaded, but then if you try to load it \documentclass[titletoc,header]{memoir} \DisemulatePackage{...
David Carlisle's user avatar
5 votes
Accepted

option clash hyper ref colorlinks and transparent

hyperref is already in the "kitchen sink", as you called it - so no need to load it yourself (and provoke the option clash), just pass the options you want via hyperref={colorlinks} to the beamer ...
samcarter_is_at_topanswers.xyz's user avatar
5 votes

Calculators packages : TI and Casio

The tipfr package has \RequirePackage[dvipsnames,table]{xcolor} while graph35 has \RequirePackage{tikz} which loads xcolor without options. Thus the order of the packages has to be reversed. If you ...
egreg's user avatar
  • 1.1m
4 votes
Accepted

How to resolve general "package clash" in Latex

The most general solution is \PassOptionsToPackage[option,more=options]{package} before loading a package for the first time. This can ensure that it is loaded with every option it needs, even when ...
Davislor's user avatar
  • 45.5k
4 votes
Accepted

How should I cope with the clash between the package "xeCJK" and "mathspec"?

The problem is that mathspec and xeCJK both load fontspec but while xeCJK loads it without any options, mathspec by default loads fontspec with the no-math option. That is an option clash. To work ...
Henri Menke's user avatar
4 votes
Accepted

Option clash for package footmisc

The ragged2e package loads footmisc with some options, so you cannot load it again with a different set of options. You can pass the bottom option to ragged2e, because it is set up so that uknown ...
egreg's user avatar
  • 1.1m
3 votes
Accepted

Can't use "arabtex" package with this template: Option clash for package babel

The class file does \usepackage[greek,latin,english]{babel} (which in my opinion is not a thing a class should do). This is such a common problem that the babel manual has a note telling you the way ...
cgnieder's user avatar
  • 67k
3 votes

Option clash with RMarkdown and beamer

Thanks to @AlanMunn I stumbled across a solution to the problem. Both machines are essentially set up identically, including: OSX version (MacOS High Sierra, version 10.13.6 (17G65)) Rstudio version (...
Rob Smith's user avatar
  • 181
2 votes

Option clash for package tkz-tab

inline is not a valid option for tkz-tab, if you try \documentclass[11pt,a4paper]{article} \usepackage[inline]{tkz-tab} \begin{document} test \end{document} you end up with ! LaTeX Error: Unknown ...
Torbjørn T.'s user avatar
2 votes
Accepted

polyglossia conflicts with \.{S} but not \.{R}

The polyglossia package is not really involved and just fontspec is sufficient to reproduce the issue (it is loaded by polyglossia). The Latin Modern font used by default seem to have a bug with the ...
egreg's user avatar
  • 1.1m
2 votes

Option clash with hyperref

I was using acmart.cls and had the review option enabled: \documentclass[sigconf,review]{acmart} Removed review, and arxiv was happy: \documentclass[sigconf]{acmart}
Brenton Chapin's user avatar
2 votes

Latex error: Option clash for package inputenc

I just stumbled upon the same issue with the frontiers style. You can add \DeclareOption{utf8}{\PassOptionsToPackage{utf8}{inputenc}} in line 25 of frontiersSCNS.cls and use \documentclass[utf8]{...
Jochen Martin Eppler's user avatar
2 votes

Option clash for package [square]{natbib}

I don't know whether this gives the desired results, but the following will compile without the option-clash: \PassOptionsToPackage{square,comma,numbers,sort&compress,super}{natbib} \...
Skillmon's user avatar
  • 61.6k
2 votes

tufte handouts hyperref problem on arxiv

Try include a file called 00README.XXX with your submission containing the following contents: nohypertex This will disable hyperref which is included automatically (but with different options than ...
mforbes's user avatar
  • 5,601
2 votes
Accepted

Option clash for package fontspec

Remove all the unneeded packages. Your preamble should better look like this: \documentclass[12pt]{article} \usepackage[polish]{babel} \usepackage{mathspec} \usepackage{cancel} \usepackage{multicol} \...
Ulrike Fischer's user avatar
2 votes

How to resolve general "package clash" in Latex

There can clearly be no general solution. If you load package A that internally uses \RequirePackage[final]{foo} and you use another package B that uses \RequirePackage[draft]{foo} Then you will get ...
David Carlisle's user avatar
2 votes

How to resolve general "package clash" in Latex

I guess you mean an option clash. Package xcolor is loaded by some package with option svgnames and later with option x11names, e.g. No, there isn't a way to resolve those issues »in general«. And ...
Keks Dose's user avatar
  • 31.3k
2 votes
Accepted

package arydshln breaks package vhistory

The arydshln package has often conflicted with other tabular packages (and vhistory loads ltxtable which loads longtable and tabularx). I thought these issues had been resolved, but maybe not. Loading ...
Alan Munn's user avatar
  • 220k
1 vote
Accepted

How can I display the `\gtrsymBorn` symbol in red colour?

See section 9.1.2 in the manual of genealogytree. \documentclass{article} \usepackage[dvipsnames]{xcolor} \usepackage{genealogytree} \begin{document} {\gtrSymbolsSetCreate{Red}\gtrsymBorn} \...
egreg's user avatar
  • 1.1m
1 vote
Accepted

Conflict of pdfx (hyperref), ntheorem, and cleveref

The option thref of ntheorem is not necessary as you may use the tools provided by cleveref instead of \thref. The following simple change runs without the error. \documentclass{article} \usepackage[...
CampanIgnis's user avatar
  • 4,634
1 vote

How to solve option clash for xcolor?

As @Zarko suggested in the comments, the error disappears (at least for me) if one loads xcolor before tcolorbox. Does this fix your problem? Here is a MWE: \documentclass{article} \usepackage[T1]{...
Vebjorn's user avatar
  • 1,884
1 vote
Accepted

Incorrect graph output using pgfplots

The graph is correct --- your y axis starts from 2, look: \documentclass[a4paper,12pt]{article} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} \begin{center} \begin{...
Rmano's user avatar
  • 42.2k
1 vote
Accepted

Is \usepackage{xcolor} clash with package \usepackage{hhline, boldline}?

Based on the information from the screenshot and from your comments, I guess, you used something like: \documentclass{article} \usepackage{pdfpages} \usepackage[table,svgnames]{xcolor} \begin{...
leandriis's user avatar
  • 63.1k
1 vote
Accepted

Colouring tables - Option clash for package xcolor

The pdfpages package loads the eso-pic package, which loads the xcolor package without any options, then when you load xcolor with the [table] option later, LaTeX tells you about the option clash: ...
Phelype Oleinik's user avatar
1 vote

Option clash for package biblatex

I just deleted these lines: \usepackage[backend=bibtex]{biblatex} \DeclareLanguageMapping{dutch}{dutch-apa} \addbibresource{biblio.bib} Apparently they were already implemented in the artikeltin ...
Ian Martens's user avatar
1 vote

IEEEtrantools clash with cleveref

Compatibility with newer versions of IEEEtrantools should be fixed in the latest pre-release version (0.21) available from my web site: http://www.dr-qubit.org/latex.html
Toby Cubitt's user avatar
  • 2,072

Only top scored, non community-wiki answers of a minimum length are eligible