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
0answers
26 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 ...
0
votes
1answer
39 views

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

I have an error here, cannot find what is the reason,
1
vote
3answers
76 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 ...
1
vote
0answers
30 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 ...
0
votes
0answers
66 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:...
0
votes
0answers
45 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 ...
2
votes
1answer
187 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]{...
0
votes
1answer
61 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} ...
0
votes
0answers
322 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 ...
0
votes
0answers
110 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} \...
1
vote
0answers
45 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 ...
1
vote
0answers
408 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{...
1
vote
1answer
70 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 ...
1
vote
1answer
1k 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. \...
1
vote
1answer
689 views

Colouring tables - Option clash for package xcolor

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 ...
2
votes
1answer
649 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 ...
0
votes
1answer
5k 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 ...
2
votes
1answer
434 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} \...
0
votes
0answers
97 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 `...
1
vote
1answer
74 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 \...
0
votes
1answer
125 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} \...
2
votes
1answer
52 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?...
0
votes
0answers
260 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 ...
3
votes
3answers
15k 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} ...
2
votes
1answer
172 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 ...
2
votes
1answer
602 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 ...
17
votes
1answer
883 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 ...
2
votes
0answers
58 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 ...
2
votes
2answers
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 \...
5
votes
1answer
268 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 ...
3
votes
3answers
1k 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\...
4
votes
1answer
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{...
2
votes
0answers
3k 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=...
3
votes
1answer
772 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. ...
5
votes
1answer
789 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{...
9
votes
1answer
326 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} \...
1
vote
1answer
181 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 ...
6
votes
1answer
994 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 ...
5
votes
3answers
600 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 ...
2
votes
1answer
121 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 ...
15
votes
4answers
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 ...
4
votes
1answer
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 ...
3
votes
1answer
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 ...
18
votes
1answer
446 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 ...
4
votes
1answer
3k 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, ...
8
votes
2answers
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 ...
5
votes
3answers
7k views

Package clash in multilingual report

I m workig on multilingual report. Below code is part of my code (Pls consider it as MWE). In the code below there is package clash error ! LaTeX Error: Option clash for package inputenc. See the ...
39
votes
2answers
39k views

Option Clash for Hyperref Package

When I run this code, I'm getting the error: "! LaTeX Error: Option clash for package hyperref." Code \documentclass[11pt,a4paper]{moderncv} \moderncvtheme[green]{classic} \usepackage[...
14
votes
2answers
2k views

Unexpected clash between babel and pgf spy

The following example taken from the pgfplots manual (p. 121) works fine only if the line loading babel is commented \documentclass{article} \usepackage[frenchb]{babel} % this is the troubelsome ...
13
votes
2answers
1k views

Did I misunderstand \RequirePackage? I don’t understand an option clash

Have a look at the following example, please. \documentclass{article} \usepackage{filecontents} \begin{filecontents}{my.sty} \RequirePackage{xcolor} \end{filecontents} \RequirePackage{my} \...