Questions tagged [option-clash]

{option-clash} is about clashes of options when a package is loaded more than once with different options (e.g. once directly and once by a different package)

Filter by
Sorted by
Tagged with
0 votes
1 answer
85 views

How to solve option clash for xcolor?

I use a bunch of packages. I eventually wanted to use bashful but now I have a clash with xcolor. How should I solve/investigate this? \documentclass{article} \usepackage[T1]{fontenc} \usepackage[...
user avatar
  • 1,097
1 vote
1 answer
85 views

package arydshln breaks package vhistory

It seems to me that the package arydshln breaks the package vhistory. Here is a MWE from the vhistory CTAN documentation page: \documentclass{article} \usepackage{vhistory, hyperref} \begin{document} ...
user avatar
  • 155
1 vote
1 answer
37 views

Incorrect graph output using pgfplots

I am trying to plot the graph of y=3^x+2 with domain [-2,2], using the pgfplots package. It is part of a larger document which involves quite a few packages, as you can see from the MWE (below). I ...
user avatar
  • 35
1 vote
0 answers
72 views

Option clash xcolor in moderncv [duplicate]

I am trying to color a hyperlink in my cv with a non-standard blue in overleaf. When I load xcolor package, it gives me the error LaTex Error: Option clash for package xcolor Am I right in thinking ...
user avatar
  • 343
0 votes
0 answers
37 views

On the usage of global option "style=..."

I created a document class and it has a key-val option style=... for setting the visual style of it. Now I load my class as follows: \documentclass[style=STYLE1]{MyClass} And since this option is ...
user avatar
  • 6,566
0 votes
1 answer
87 views

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

I have an error here, cannot find what is the reason,
user avatar
  • 2,433
1 vote
3 answers
263 views

How to resolve general "package clash" in Latex

There are so many questions related to "package clash" in this forum, but all of them relate to specific packages (why?). For instance I use more than 50 packages in my document. Even if I ...
user avatar
1 vote
0 answers
40 views

clashing packages

What shall I do in general if some 2 packages clashes (say in XeTeX), but I need them both. Say I can see the error like this: !LaTeX Error: Command `\ring' already defined. So how do I comment out ...
user avatar
  • 1,878
0 votes
0 answers
313 views

Adding "\usepackage{pdfpages}" generates ! LaTeX Error: Option clash for package graphicx

I want to add at the end of the PDF some other PDF stuff, 2 documents with 4 and 2 pages. Therefore, I want to use \usepackage{pdfpages}. By inserting it in the document i get the error: ! LaTeX Error:...
user avatar
0 votes
0 answers
84 views

want to use my own language babel but clashing with document class

I want to use mongolian babel with the other document class but it crashes everytime. \documentclass[colophon, english]{phduio} \usepackage{phdstyle} % Custom style \usepackage{kantlipsum} % Dummy ...
user avatar
  • 155
2 votes
1 answer
696 views

Option clash for package footmisc

I'm trying to use the footmisc package to move my footnotes down, but I can't figure out for the life of me how to stop the option clash. Here is the preamble of my document: \documentclass[11pt]{...
user avatar
  • 148
0 votes
1 answer
126 views

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

I am using this thesis template. I need to add some arabic text. I need to add this preamble: \usepackage{arabtex} \usepackage[utf8]{inputenc} \usepackage[LFE,LAE]{fontenc} \usepackage[arabic]{babel} ...
user avatar
0 votes
0 answers
460 views

! LaTeX Error: Option clash for package hyperref

I am trying to upload my publication(which is in ACL2019 format) to arXiv. But I am getting the following error: ! LaTeX Error: Option clash for package hyperref. In my main tex file I am using the ...
user avatar
0 votes
0 answers
374 views

Option clash for package graphicx

I am facing the above error message. Any who can help me. \documentclass[10pt]{amsart} \usepackage{mathrsfs} \usepackage{amstext} \usepackage{amscd} \usepackage{latexsym} \usepackage{amsfonts} \...
user avatar
1 vote
0 answers
98 views

How to pass options from beamertheme to beamer class?

How to pass options from custom beamertheme to beamer class (and already loaded packages)? slides.tex: \documentclass[ %xcolor=table, % this option should be set in the theme! 17pt, % you can ...
user avatar
  • 1,415
3 votes
0 answers
784 views

Option clash for textcomp with newtxtext, minted and xwatermark

I am having an option clash for package textcomp, it happens with this code: \documentclass{book} \usepackage{newtxtext} \usepackage{minted} \usepackage{xwatermark} \begin{document} Hi \end{...
user avatar
1 vote
1 answer
93 views

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

I wanted to configure math fonts in my document, and tried with mathspec, only to find it clashed with fontspec. For I have to use Chinese in my document, I have to load xeCJK package which ...
user avatar
1 vote
1 answer
2k views

Option clash for package fontspec

Can someone help with option clash for package fontspec? I'm compiling by using XeLaTeX in TeXmaker 5.0.3. I get this error and I don't see preview in program, however PDF is producing. \...
user avatar
  • 101
1 vote
1 answer
1k views

Colouring tables - Option clash for package xcolor [duplicate]

I would like to colour some rows of my table. However when using \usepackage[table]{xcolor} I get the error "Option clash for package xcolor". I am using quite a lot of packages, but I do not know ...
user avatar
3 votes
1 answer
877 views

Option clash with RMarkdown and beamer

I work across two separate Mac computers, a Macbook Pro at work, and a Macbook Air at home. Both macs are running identical operating systems. I am writing in RMarkdown, using knitr to compile beamer ...
user avatar
  • 181
0 votes
1 answer
6k views

Option clash for package biblatex

I get this error: Option clash for package biblatex and don't know what I'm doing wrong. Here is my code: %============================================================================== % Casus ...
user avatar
2 votes
1 answer
657 views

option clash hyper ref colorlinks and transparent

I get an option clash between the hyperref option colorlinks when I load transparent (before or after). Here are the other packages I load. \documentclass[english]{beamer} \usepackage{color} \...
user avatar
  • 415
0 votes
0 answers
137 views

Incompatibility between `MnSymbol` and `unicode-math`?

The following code \documentclass{minimal} \usepackage{MnSymbol,unicode-math} \begin{document} $A\bar\smalltriangleup B$ \end{document} results in !Internal error: bad native font flag in `...
user avatar
1 vote
1 answer
89 views

Option clash for package tkz-tab

Here is the code: \documentclass[11pt,a4paper]{article} \usepackage{fontspec} \usepackage[french]{babel} \usepackage{tikz} \usepackage{tkz-tab} \usepackage[inline]{tkz-tab} \begin{document} test \...
user avatar
  • 101
1 vote
1 answer
147 views

Option clash after texlive update

Today I updated my old installation of texlive to, what I assume is the most current, but now one of my documents can no longer compile. MWE: \documentclass[dvips]{memoir} \usepackage{xcolor} \...
user avatar
2 votes
1 answer
60 views

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

Loading Polyglossia somehow disables the command \.{S} but doesn't effect others, like \.{R} and \.{G}. This is odd, can anyone think of why this is happening and what to do to get \.{S} to work again?...
user avatar
0 votes
0 answers
341 views

Add named colors after xcolor package clash [duplicate]

I created my LaTeX document using the xcolor package loaded like this \usepackage[usenames, dvipsnames, svgnames, table]{xcolor} Now I'm trying to put the document in the journal format and I get a ...
user avatar
  • 2,775
9 votes
3 answers
23k views

Option clash for package [square]{natbib}

If I call natbib, LaTeX runs with no problem. However, if I had the following \usepackage[square, comma, numbers, sort&compress, super]{natbib} ...
user avatar
2 votes
1 answer
198 views

tufte handouts hyperref problem on arxiv

I'm uploading a very simple tufte handout based paper to arxiv and I'm getting an error: ! LaTeX Error: Option clash for package hyperref. but I am not loading hyperref anywhere. I'm only loading ...
user avatar
  • 121
2 votes
1 answer
816 views

Option clash from another class emulating package

I am using ShareLaTex with the UC Berkeley Thesis template. I want to load appendix with the titletoc and header options: \usepackage[titletoc,header]{appendix} \usepackage{algorithmic} It throws a ...
user avatar
  • 123
17 votes
1 answer
1k views

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

In Loading package twice with \RequirePackage causes "option clash" and Loading a package more than once we see that a package can be loaded multiple times, as long as no options or no ...
user avatar
2 votes
0 answers
72 views

How do I declare forest options in namespaces without making clutters in forest trees?

I installed forest 2016/03/04 v2.0.2. I adapted How do I typeset this parsing tree for propositional logic formula with forest or something else? to my needs to get the following code. The following ...
user avatar
  • 897
2 votes
2 answers
1k views

Option clash for [framemethod=tikz]{mdframed} & [draft]{graphicx} | same clash for [demo]{graphicx}

The following combination of options and packages gives an Option clash, and thus prohibits anybody from compiling the code: \usepackage[framemethod=tikz]{mdframed} \usepackage[demo]{graphicx} (or \...
user avatar
  • 1,683
5 votes
1 answer
304 views

Beamer's (implicit) options regarding tikzpictures and shadows

While trying to use the torn page effect in a beamer document, I was confronted to an unexpected problem. If you just take the the code of this answer and compile it, you get: If you just change the ...
user avatar
  • 4,680
3 votes
3 answers
2k views

Using Babel inside my own package produces option-clash error

I want to write my own package which provides an \affidavit command which produces some standard text in two languages (ngerman and english). Minimal working example of this package: \def\...
user avatar
  • 93
4 votes
1 answer
6k views

Latex error: Option clash for package inputenc

I tried to cut all the unnecessary text and it all boils down to this: the following file does compile if I comment the \usepackage[mac]{inputenc} line. \documentclass{frontiersSCNS} \def\journal{...
user avatar
2 votes
0 answers
4k views

How should I fix the "Option clash for package babel" connected with "undefined control sequence" with hyperref? [closed]

I have these two problems using the German documentclass "DissOnlineLatex" (Manual see:http://www.dnb.de/SharedDocs/Downloads/DE/DNB/wir/dissonlineAnleitungLatex.pdf;‌​jsessionid=...
user avatar
  • 81
3 votes
1 answer
964 views

Babel option clash for multilingual document

I'm writing a report in french, which also contains references to spanish names, containing spanish accents. Including both the french and spanish babel options creates a babel package clash error. ...
user avatar
  • 154
6 votes
1 answer
891 views

Passing options to loaded package not working with Beamer class

I have this : \documentclass[translator={frenchb}]{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[frenchb]{babel} \PassOptionsToPackage{frenchb}{translator} \usepackage{...
user avatar
  • 1,621
9 votes
1 answer
347 views

Clash between fontspec and l3keys2e with multichoice keys

Consider the minimal example: \begin{filecontents}{test.cls} \NeedsTeXFormat{LaTeX2e}[1994/06/01] \RequirePackage{expl3,l3keys2e} \ProvidesExplClass {test} {2013/12/23} {1.0} {A test class} \...
user avatar
  • 26.8k
1 vote
1 answer
197 views

Issue with XY-pic [closed]

I am trying to use XY-pic for the first time. I copied a bit of headline code from here : http://zoonek2.free.fr/UNIX/11_xypic/ (sorry, it's in french) and put it in an already existing document. This ...
user avatar
  • 511
6 votes
1 answer
1k views

Clash between bibentry and hyperref

Created a document that cites a number of publications within text using the bibentry package. Then I noticed that the zoom was set too large. Thought I could fix this using the hyperref package but ...
user avatar
5 votes
3 answers
651 views

IEEEtrantools clash with cleveref

I have two rather complex equations I would like to align at the two points to the left and to the right of the '=' sign. Elsewhere in the document I am using cleveref's \cref command, but that ...
user avatar
  • 3,077
2 votes
1 answer
122 views

Creating an option clash between custom class options

In my custom LaTeX class, I've created some different options, such as different font sizes, 11pt, 12pt and 13pt, and paper sizes, such as a4paper and letterpaper. However, only one option from each ...
user avatar
  • 315
15 votes
4 answers
14k views

Option clash with hyperref

If anyone has come across this issue when dealing with uploading tex files on arxiv, their experience would be of immense help: I am trying to upload a .tex document to arxiv. I upload my .tex file ...
user avatar
  • 2,600
4 votes
1 answer
6k views

Hyperref option clash error because unknown package requires/loads it too

I am currently hunting for errors in my template and these two I cannot solve after reading the log and researching: ! LaTeX Error: Option clash for package hyperref. See the LaTeX manual or LaTeX ...
user avatar
  • 940
3 votes
1 answer
1k views

Option Clash for Hyperref Package with the Report Document Class [closed]

I know hyperref is a problematic package and there are many discussion on how to avoid potential problems. However, in this small piece of code, I am not event loading any package, and yet, I get ...
user avatar
  • 289
19 votes
1 answer
516 views

What are best practices for package authors to deal with package conflicts?

One occasionally encountered problem with LaTeX is incompatibility between packages. What are best practices for package authors to deal with package conflicts? For example: What is the best way to ...
user avatar
4 votes
1 answer
4k views

How can I set the 'final' option for the graphicx package in XeTeX?

I'm using XeTeX and wondering how to set the final option of the graphicx package. I started my document with pdfTeX and the following lines: \documentclass[a4paper, 12pt, twoside, headsepline, ...
user avatar
8 votes
2 answers
5k views

pdfx package gives me Option clash for package hyperref

I'm using the following package for convert a PDF to a PDF/A format \usepackage[a-1b]{pdfx} When I compile, I receive the following error. "Option clash for package hyperref" I've searched ...
user avatar
  • 397