{incompatibility} is for questions about packages and document classes that are not compatible with each other or that need to be loaded in a specific order.
74
votes
9answers
4k views
Which packages should be loaded after hyperref instead of before?
The hyperref documentation says: "Make sure it comes last of your loaded packages". The reason is that it redefines many LaTeX commands. It's a rule of thumb that helps to avoid errors.
However, ...
51
votes
3answers
3k views
Cross-reference packages: which to use, which conflict?
Inspired by my earlier question Theorem packages: which to use, which conflict?, here is another similar question.
There are many different packages for making cross references. Among them hyperref, ...
19
votes
2answers
820 views
Incompatibilities between KOMA-Script and titlesec
This is a complementary question to About memoir and titlesec incompatibility. The titlesec manual states (p. 2) that the package
[...] works with the standard classes and with many others, ...
18
votes
2answers
1k views
Should the fontenc package be loaded before or after font packages?
I seem to recall reading somewhere that fontenc should be loaded either before or after the packages loading fonts, but I cannot remember which. I don't see differences between loading it before and ...
30
votes
1answer
978 views
Packages that need to be included in a specific order
This isn't a real question, so I'm marking it community wiki.
When I was new to LaTeX, I thought that the \usepackage command worked much like the #include command of the C language: just put ...
9
votes
3answers
1k views
Trouble combining enumitem and beamer
I have trouble combining two things for a set of slides:
Adjust item separation globally
Use default overlays of lists locally (parameter [<+->])
I use enumitem for 1. but it seems to ...
14
votes
1answer
495 views
About memoir and titlesec incompatibility
In page 2 of the titlesec documentation, Javier Bezos writes
titlesec works with the standard classes and with many others,
including the AMS ones, and it runs smoothly with hyperref.
...
22
votes
1answer
2k views
Test if a package (or package option) is loaded
[french]{babel} (aka frenchb) is incompatible with some other packages, such as tikz, since it tries to insert \thinspace before semi-colons.
In order to make these two play nice, you have to call ...
11
votes
2answers
563 views
Two conflicting packages in one document — doable?
I have two packages I want to use in the same document. Specifically musixtex and tengwarscript.
However they do conflict. Both packages use some of the same commands, obviously for very different ...
5
votes
1answer
380 views
\pagestyle{ruled} adds superfluous text in glossary
I'm writing my thesis using the memoir package, using \pagestyle{ruled}, and have created glossaries for a glossary and an acronym list. The resulting pdf, contains the superfluous text "Glossary" and ...
17
votes
1answer
505 views
What packages are incompatible with KOMA-Script?
Triggered by the question why should I not use the koma script classes results practically necessarily a consequence question: What packages are incompatible with KOMA-Script?
KOMA-Script offers ...
13
votes
1answer
299 views
Sorting preamble packages thematically while accounting for compulsory load orders
Within a document's preamble (or a custom "preamble" package), at times there's the need to take compulsory load orders for certain packages into account. Most packages must be loaded before the ...
14
votes
4answers
300 views
Conflict: onlyamsmath and TikZ
To force myself and collaborators to only use AMS-Math commands, I laod this package in the preamble:
\usepackage[all,warning]{onlyamsmath}
However, when this is combined with TikZ, I get into ...
15
votes
2answers
329 views
In which order should I load inputenc and fontenc?
When I’m using pdfLaTeX, my preamble usually contains
\usepackage[utf8]{inputenc}
and
\usepackage[T1]{fontenc}
Should these two be loaded in any particular order? What problems could arise if ...
7
votes
1answer
236 views
AUCTeX's csquotes integration does not work together with babel
I use the AUCTeX feature to expand " into csquotes macros. To enable it I have put the following in my .emacs:
;; " expands into csquotes macros
(setq LaTeX-csquotes-close-quote "}"
...
5
votes
2answers
1k views
“\Ualgocf@original@chapter” undefined when using algorithm2e with natbib
Is it possible to just use plainnat without using the package natbib? When I do so, multiple author references don't work too well. I get
[author et al (year)auhtor1, author2 and author3]
when ...
21
votes
1answer
586 views
Impact of hyperref, when varioref and cleveref are used
I think I may have found a bug in either hyperref, cleverefoder varioref but can't determine the details any further. If do not load hyperref in the following example, the result is fine.
...
6
votes
1answer
539 views
Amsart with algorithm2e introduces extraneous text into pdf file with Texlive 2011
I just removed the default Ubuntu TexLive 2009 installation and installed TexLive 2011 using install-tl. However, now I am facing problems with the amsart and algorithm2e packages. Specifically, when ...
6
votes
1answer
2k views
geometry, fancyhdr: \fancyfoot[C]{\thepage} is not really centered
After switching from the report class to the book class and starting to use the fancyhdr package to control headers/footers, the page numbers in my footers are no longer centered.
This is my fancyhdr ...
5
votes
1answer
162 views
Error caused by interaction between minted, footnotes, babel and "(double quote)
I'd like to put some inline code using minted but when I try to typesent the empty string "" I get an "undefined control sequence" error.
Sample code:
\documentclass[a4paper,10pt]{article}
...
5
votes
1answer
650 views
Option clash for package xcolor
Im doing a report, and having a rather large table in my appendix. And want to emphasize some specific values by coloring some single cells. I'm trying to do it with xcolor. But receiving the error:
...
3
votes
1answer
785 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 ...
10
votes
1answer
157 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 ...
13
votes
2answers
450 views
Package options and \RequirePackage: order of commands and option conflicts?
How do the options of a \RequirePackage command interact with options specified for that same package elsewhere?
Here is an example: The pdfx package, if loaded with the a-1b-option, executes the ...
16
votes
2answers
984 views
Using MiKTeX and TeX Live on the same computer?
Is there anything I should be aware of if I want to install MiKTeX and TeX Live on the same computer? Are there any problems, any incompatabilities? Is it even possible? I imagine there could be some ...
14
votes
2answers
2k views
Option clash with xcolor and TikZ
I want to draw some coloured circles, so I loaded tikz in my preamble. However, now xcolor is telling me that it has an "option clash". How should I fix this?
\documentclass{article}
...
6
votes
2answers
191 views
How do I prevent conflicts between accsupp and hyperref?
This question is related to the answer to the question Is there a LaTeX trick to prevent a PDF viewer from copying the line number?
Unless you turn hyperref off, the following MWE
...
13
votes
1answer
475 views
Is there a poisonous interaction between memoir, hyperref, and hyperxmp?
In another, now rather confused, question, I'm struggling to get copyright information into a PDF produced by memoir.
The investigations so far have led to this problematical MWE:
% !TEX TS-program ...
10
votes
1answer
371 views
“ with tipa and babel's ngerman / \shorthandoff{”} in a macro
TL;DR see below at "core problem"
Problem
I'm trying to solve a conflict between the packages tipa (Fonts and macros for IPA phonetics characters) and babel with the ngerman option. The problem ...
9
votes
1answer
1k views
Is it possible to load biblatex with a class that has already loaded natbib?
A while ago I asked a meta question on how big a question can be. I was wondering in particular about breaking open REVTeX and reorganising the goo within to replace the natbib bits with bits that ...
4
votes
3answers
621 views
Incompatibility between footmisc-option multiple and hyperref
There is a question about nested footnotes with commas, which has some answers. Nested footnotes can be properly numbered, and they can be properly hyperlinked. Remaining problem: Hyperlinked ...
10
votes
1answer
264 views
Conflict between amsmath and pdfcomment
I use both amsmath and pdfcomment in one document. This leads to the references produced by (\ref{}) to appear like (zref@1) instead of numbers like (1). Without amsmath or pdfcomment this problem ...
8
votes
3answers
419 views
Incompatibilities of cmap with fontenc/hyperref?
The following code doesn't compile (with pdflatex)
\documentclass{article}
\usepackage{cmap}
\usepackage[T1]{fontenc}
\usepackage[pdfa=true]{hyperref}
\begin{document}
Hello.
\end{document}
...
7
votes
1answer
176 views
algorithmicx crashes standalone
I am creating SVG files from different stuff from my LaTeX document. For this, I am using the standalone package followed by pdf2svg.
This compiles:
\documentclass{article}
\usepackage{algorithmicx}
...
6
votes
1answer
70 views
(Nonfatal but Symptomatic) Conflict of amsmath and mathstyle Packages
This was brought to my attention by our colleague, Lover of Structure, but since it affects my scalerel package (which began using the mathstyle package to detect the current math style, as of version ...
6
votes
2answers
577 views
Package incompatibilites: etoolbox, hyperref, and bm, standalone?
I am trying to transition to using the etoolbox package, but seem to have run into some difficulties and they appear related to the hyperref and bm packages which to me seem totally unrelated. The ...
4
votes
1answer
177 views
Corrupted TeXLive2012 installation? (Option clash for currfile)
Background:
As per Manually copy older TeXLive2011 from one Mac to a new Mac, I attempted to get TeXLive2010 and TeXLive2011 (with the latest libraries) on a newer mac. The older releases are not ...
3
votes
0answers
78 views
Creating a dependency tree (\RequirePackage) for packages used in my document
Is there a way of creating a dependency tree for packages \RequirePackageing each other for those packages used in my document, ideally with the respective required options and version numbers? Are ...
3
votes
2answers
1k views
titlesec versus titling; mangling \thetitle
I want to have the chapter name and title of the document appear in the header; I know how to do that with fancyhdr and titling, one of the miscellaneous functions of the latter is to preserve the ...
2
votes
0answers
339 views
Incompatibility of caption and cleveref package [closed]
The following code produced a TeX capacity exceeded error
\documentclass{scrbook}
\usepackage{caption}
\usepackage{cleveref}
\begin{document}
\begin{figure}
Text
\label{fig:figures:1}
...
2
votes
2answers
377 views
algorithmicx conflicts with babel with Hebrew
When trying to create any document with box algorithmicx and algorithmicx:
\documentclass{article}
\usepackage[hebrew,english]{babel}
\usepackage{algorithmicx}
\begin{document}
Hello, world.
...
11
votes
3answers
516 views
Why can't I use \newfloat more than once?
I've found the float package, which lets me specify \newfloat{program}{...} to get other named floats than Table and Figure. However, if I try to use this more than once, I get a cryptic error:
! You ...
10
votes
3answers
2k 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:
...
1
vote
1answer
58 views
nath and biblatex incompatibility
I try to use nath and couldn't get it to work within my document. So I started to track down the error with a minimal and adding all packages that I use after and after. I saw that I can load every ...
12
votes
1answer
308 views
Are subcaption and tabularx incompatible?
I know that tex.sx isn't the forum for bug-reporting, but I have a bit of a problem and I'm looking for a technical workaround. The following MWE produces odd labels:
\documentclass{article}
...
11
votes
2answers
241 views
How to undo \usepackage?
I would like to use two packages which conflict with each others. I hope I can apply them separately whenever I need and then cancel them so as to solve the problem. Is it possible?
For example, I ...
10
votes
2answers
2k views
Problem with the header/ footer width
I have recently started using the geometry package to format the margins of my documents. Although, I've noticed that the width of the header/ footer remains the same. How can I correct this?
...
9
votes
2answers
223 views
Why is fixltx2e incompatible with tikzexternalize
I had some weird problems with tikzexternalize sometimes working sometimes not.
I narrowed it down to the culprit fixltx2e. Here is a MWNE (Minimal not working exmple)
@ ALtermundus: Yes this is ...
9
votes
3answers
233 views
Hyperref is loaded by the class, and I need to load packages that are supposed to be loaded before
I am using the lipics documentclass, which loads hyperref. Since I want my figures boxed, I added the following
\usepackage{float}
\floatstyle{boxed}
\restylefloat{figure}
The problem: I receive ...
6
votes
1answer
93 views
Are nath and xcolor incompatible?
I have a file that compiles fine. It uses nath and color packages:
\documentclass[10pt,a4paper]{article}
\usepackage{color}
\usepackage{nath}
\delimgrowth=1
\begin{document}
\begin{equation}
A ...
