Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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)

1
vote
1answer
25 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 ...
0
votes
1answer
138 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
142 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
330 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
2k 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
175 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
54 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
52 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
96 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
42 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
100 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 ...
4
votes
3answers
7k 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
123 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
356 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
748 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
47 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
796 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
216 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 ...
2
votes
1answer
857 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
5k 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
546 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
647 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{...
8
votes
1answer
290 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
168 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 ...
5
votes
1answer
860 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
535 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
113 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
12k 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
5k 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
394 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
4k 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 ...
4
votes
3answers
6k 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 ...
33
votes
2answers
33k 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} \...
4
votes
2answers
855 views

catoptions causes option clash with xcolor

Look at the following example: \documentclass{scrartcl} \usepackage{filecontents} \begin{filecontents}{my1.sty} \RequirePackage{xcolor} \RequirePackage{catoptions} \end{filecontents} \begin{...
7
votes
1answer
1k views

Why can't I load miniframes outer theme after Szeged theme?

Making some tests to answer omit delete second bar under the navigation bar in szeged theme I found that \documentclass{beamer} \usetheme{Szeged} \useoutertheme[subsection=false]{miniframes} \begin{...
3
votes
1answer
1k views

\RequirePackage without option clashes because of the package loading order?

I am writing a package which requires the xcolor package with table option. It is loaded in the package with \PassOptionsToPackage{table}{xcolor} \RequirePackage{xcolor} which works if my package is ...
1
vote
1answer
174 views

flacards and forloop is working but not with tikz foreach

My flashcard with \forloop is working after your help. I try it with \foreach (tikz) but it's not working. The pdf files contain only one flash card in the bottom right corner, the 24th card and the ...
13
votes
3answers
9k views

Conflict between Options of Packages

I have these following packages defined in my preamble and once the file is ran, it creates an error of the following saying there is a clash within the package options. Packages are below: \...