{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.

learn more… | top users | synonyms (1)

5
votes
1answer
345 views

How to detect if \thepage is undefined?

The sig-alternate class by default disables page numbers, which breaks mparhack (amongst other things). How can I include tex code only if \thepage is properly defined? I tried \ifcsname and \...
8
votes
3answers
865 views

How to get only one symbol from a symbol package?

I need to use the \Writinghand symbol from the package marvosym.sty. But, for some reason, loading this package raises an error: (/usr/local/texlive/2013/texmf-dist/tex/latex/ifsym/ifsym.sty (/...
5
votes
1answer
112 views

etoc and memoir compatibility isuues

I was just doing some test with the etoc package and as soon as I changed the document class from book to memoir, errors appeared. This simple document %\documentclass{book} \documentclass{memoir} \...
3
votes
1answer
173 views

How to cope with version incompatibilities (i.e. binary units in siunitx)

I have to compile my dissertation on two machines with two different TeX Live versions (TeX Live 2009 on Ubuntu 12.04 and now TeX Live 2013 on Ubuntu 14.04). Unfortunately, the siunitx maintainer ...
5
votes
1answer
124 views

xwatermark in xepersian does not work together?

\documentclass{book} \usepackage{hyperref} \usepackage[printwatermark]{xwatermark} \usepackage{xcolor} \usepackage{graphicx} \usepackage{tikz} \usepackage{xepersian} \newwatermark[allpages,color=cyan!...
2
votes
1answer
286 views

Using tabularx and xcolor

Is tabularx compatible with xcolor? I did the following: \documentclass{memoir} \usepackage[svgnames,hyperref,]{xcolor} % colors for hyperref \begin{document} \begin{tabularx}{1.00\linewidth}{X} ...
8
votes
1answer
214 views

This elliptical-orbit diagram compiled fine with TikZ 2.10 but fails with TikZ 3.0. Why?

I borrowed some code on Kepler's 2nd Law from the linked post here on TeX answered by Tosco. I haven't compiled the document it is in awhile but needed today. When I did, I was told dimension too ...
8
votes
1answer
177 views

Problems compiling antiquated code using the epic and eepic packages

I was given an extremely large tex file I need to compile, but when trying to compile it, I repeatedly get a non-pdf special ignored error followed by the document without any of the figures included. ...
5
votes
0answers
106 views

pstool + pgfplots + parskip conflict [closed]

I've recently observed extremely strange latex bug if pstool + pgfplots + parskip packages are used at the same time. \documentclass{article} \usepackage{pstool} \usepackage{pgfplots} \usepackage{...
3
votes
1answer
2k views

Adding “\usepackage{subfig}” (no other changes in file) throws error

I want to use the subfig package to have a neat row of figures with captions for each one of them. However, as soon as I add the line \usepackage{subfig}, pdfLaTeX fails with the following error: ! ...
2
votes
1answer
102 views

Index heading style is different

I have document like this (MWE): \documentclass[10pt,twoside,final]{book} \usepackage{xltxtra} \usepackage{fontspec} \usepackage{fancyhdr} \usepackage{titlesec} \usepackage[hang,flushmargin]{...
0
votes
1answer
103 views

Since adding natbib, my tikz nodes are misplaced

Sorry! My "solution" at the bottom didn't actually fix the problem, and the reasons I thought it did are too embarrassing to post. I did manage to solve the problem, by having a total of FOUR TeX ...
6
votes
3answers
2k views

Compilation error when including enumitem and paralist packages

I encounter an error when I compile a LaTeX document which includes both the enumitem and the paralist packages. Here is my MWE code: \documentclass{article} \usepackage{enumitem} \usepackage{...
2
votes
1answer
193 views

How to use showkeys with hyperref?

The "ChangeLog for hyperref bundle" file claims that support for the showkeys package was added to hyperref in various stages on 2000-05-08, 2001-01-27, and 2007-05-29. However, there still seem to ...
6
votes
2answers
339 views

Problem using invoice and wallpaper packages together

For some reason that I don't understand, it seems that I cannot use the invoice package and the wallpaper package at the same time. Here is my MWE: \documentclass[a4paper,10pt]{article} \usepackage[...
4
votes
1answer
269 views

Memoir class conflict with datetime

Hi I'm running into a warning when trying to call the datetime package within a document using the memoir class. MWE is: \documentclass{memoir} \usepackage{datetime} \begin{document} Hello World \...
3
votes
1answer
385 views

pdf option for pstricks conflicts with babel french option

Today I had this error message on compiling a document: ! Package babel Error: The character '"' is not a shorthand character in french After commenting a lot of things I finally identified the ...
6
votes
2answers
716 views

\vec conflict between llncs.cls and MnSymbol

I would like to use MnSymbol alongside Springer's LNCS class file, llncs.cls, which can be found in this zip file and in many other places on the web. \documentclass{llncs} \usepackage{MnSymbol} \...
2
votes
1answer
302 views

Why won't I see the table of contents?

I tried to write table of contents to my book but encountered a problem, as it prints "Sisältö" but there is no table of contents. What is the mistake I made? \documentclass[11pt,a5paper,twosided,...
7
votes
2answers
312 views

Spanish babel and chemformula package

I need to write a chemical reaction. I use to make this with mhchem, but I discover chemformula. All it is right but no the arrows when I use the package babel in spanish. There are a problem with ...
2
votes
0answers
167 views

Incompatibility between fixltx2e, subfigure and figure* [closed]

This minimal example: \documentclass[twocolumn]{article} \usepackage{subfigure} \usepackage{fixltx2e} \begin{document} \begin{figure*} asdf \end{figure*} \end{document} gives the error: Extra }, ...
6
votes
1answer
229 views

Conflict between stackengine and babel with spanish option

When pdfLaTeXing the MWE below I get a Missing \endcsname inserted error message. The compilation proceeds with no errors as soon as the babel package is not loaded with the spanish option (well, to ...
2
votes
1answer
147 views

greek macros: teubner.sty's \og-macro doesn't work at all

Before the latest update of teubner.sty (with GlyphNames) one could use the \og-macro (ὸ) as long as babel's french wasn't loaded (page 15 n. 1 of teubner-doc.pdf). Now, the \og-macro doesn't work at ...
15
votes
1answer
236 views

Should babel package call be placed at the end of the preamble?

I remember to have read few year ago1 that babel line2 should be placed at the end of the preamble in order to avoid problems with other packages. (I believe hyperref package should also be placed at ...
5
votes
1answer
5k views

Incompatible color definition when using tikz with color package

I am using the tikz package to draw some diagrams. In addition, I need the color package for some highlighting. As the wikibooks page of the color package states, it has to be used before the tikz ...
1
vote
0answers
119 views

revtex incompatible with stfloats?

Very similar to this one: revtex incompatible with dblfloatfix? Is revtex known to be incompatible with stfloats? In this MWE, the second figure is just gone (with a "Float cannot be placed" warning):...
2
votes
2answers
3k views

Option clash for package color. \RequirePackage

I'm very new to LaTeX, and I'm having a problem which seems to originate from the following lines of code. \RequirePackage[usenames]{color} \RequirePackage{fancyhdr} \RequirePackage{nomencl} \...
4
votes
1answer
2k views

siamltx + amsthm: “LaTeX Error: No counter 'Theorem' defined.”

When using the LaTeX class siamltx (from the SIAM page) together with amsthm (which I need for its theoremstyle command), I'm getting the error message ! LaTeX Error: No counter 'Theorem' defined. ...
6
votes
1answer
2k views

The package marvosym seems to clash with the moderncv class. What can I do?

I would like to use both the marvosym package and the moderncv package. LaTeX throws an error that \fax was already defined. While this isn't a problem on MikTeX, I'm currently editing a joint ...
38
votes
2answers
761 views

How “safe” is it to use LaTeX3 (l3packages, l3kernel)?

Are l3kernel and l3packages present in most of the LaTeX distributions? Are they "stable enough"? I am asking this because I am preparing a .tex document for a client. I have found convenient to use ...
1
vote
0answers
77 views

Best compiler for writing a thesis? [duplicate]

Which LaTeX compiler supports best writing a thesis? Which one provides the best compatibility with commonly used classes and packages? The compilers that I frequently use are: latex pdflatex ...
4
votes
1answer
189 views

Package conflict in `subfig` and `ifthen`

MWE: \documentclass{article} \usepackage{subfig} \usepackage{ifthen} \begin{document} \begin{figure} \subfloat[\ifthenelse{1>0}{foo}{bar}]{\rule{3cm}{3cm}} \end{figure} \end{document} Error msg: ...
5
votes
1answer
481 views

Incompatibility between 'flushend' and 'lineno' packages!

I have observed when using flushend package to balance the references at the last page, if at the same time the package linenois loaded, the last page of reference will not be displayed. I have ...
28
votes
1answer
495 views

Best practice for fixing a clash between packages without altering the .sty files?

Here is another casualty of TeX's flat namespace and another reason to start using LaTeX3... I noticed today that the algorithm2e and keystroke packages clash. More specifically, they both define a ...
2
votes
1answer
81 views

brace in cases environment being displayed incorrectly because of package yhmath

Could someone please explain why I get this when using a cases environment? The code behind this is $$ \underbrace{\mathrm{u}(\tau )}_{\substack{=1\\ \text{για}\ \tau >0}} \underbrace{\mathrm{u}(...
1
vote
1answer
189 views

Problem using thmtools, hyperref and showkeys all together

When I use \eqref (from amsmath) in the optional argument to the proof environment (from amsthm) and the three packages thmtools, hyperref, and showkeys are loaded, TeX runs into an infinite loop. ...
2
votes
0answers
99 views

Nomencl and Algorithm2e Incompatibility [closed]

This code produces no errors and displays the nomenclature correctly. \documentclass{article} \usepackage{nomencl} \makenomenclature \begin{document} \nomenclature{$c$}{a constant} \printnomenclature ...
8
votes
1answer
510 views

Conflict between mathdesign and memoir chapterstyle ell

I have just come across an odd interaction between mathdesign and the ell chapterstyle in memoir. I'm using TeX Live 2013 and I believe this was introduced with the update to mathdesign 2.31. Here's ...
1
vote
0answers
166 views

Latex already defined clash between cls file and multiple packages [closed]

I am using sjvour3.cls provided by springer which define \keywords command. Many other packages also define this command and when compiling with latex, I get this error. ! LaTeX Error: Command \...
4
votes
2answers
267 views

Package incompatibilty between alphalph, and hyperref with amsmath subequations

I have a document which makes use of subequations and alphalph, which compiles without hyperref, but throws an error when using hyperref. Loading hyperref after the alphalph package does not help. ...
7
votes
1answer
135 views

\hat and \bar compatibility issue EDIT: It's a bug, workaround provided

I have two \newcommand defined as follows: \newcommand{\hvar}[1]{\hat{\delta #1}} \newcommand{\gbp}{{{\bar{\gamma}}_p}} And they look like this: \hvar{X} \gbp The problem is that, if I use ...
9
votes
1answer
736 views

Will todonotes work inside an align environment?

Is it possible to use todonotes inside an align environment, e.g.: \documentclass{report} \usepackage{amssymb,amsmath} \usepackage{todonotes} \begin{document} \begin{align} a^2&=b^2+c^2 \todo{...
14
votes
2answers
6k views

algorithm2e Command \algorithm already defined

I want to draw vertical line by using \SetAlgoLined, but LaTeX told me Undefined control sequence. Then I add \usepackage{algorithm2e} to the end of my preamble. Then it said Command\algorithmalready ...
5
votes
1answer
288 views

Amsmath and tikz - conflict?

I have a problem with: \documentclass{minimal} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage{amsmath} \usepackage{tikz} \begin{document} \pgfmathparse{ifthenelse(1<0, "100",...
2
votes
1answer
90 views

How to remove \BODY defined in the algorithmic package?

The algorithmic package defines a command \BODY which evidently clashes when used in conjunction with the environ package. More specifically, LaTeX failes to compile when an algorithmic environment is ...
7
votes
2answers
2k views

Incompatibility between etoolbox and hyperref

I tried to compile Werner's second answer from Automatically number inequalities with the hyperref package. However, the first run will give me the error below: Runaway argument? {\@firstoffive }\fi )...
1
vote
0answers
444 views

Caption package incompatibility with \@makecaption in custom report class [closed]

My university has a recommended thesis class based on the report class. Unfortunately, it is incompatible with the caption package; for example, when I include the subcaption package, I get the ...
18
votes
2answers
237 views

Pretending a package has been loaded

I am trying to use imakeidx and the regexpatch package in the same class. Since imakeidx depends on the xpatch package and xpatch provides the same commands (same names, improved implementation) as ...
6
votes
1answer
109 views

delarray and colortbl issue

There seems to have a compatibility issue between the colortbl and delarray packages because when compiling the following code : \documentclass{article} \usepackage[T1]{fontenc} \usepackage[ansinew]{...
8
votes
1answer
547 views

Methods for debugging package conflicts

... that don't make me want to pull my (remaining) hair out. I'm preparing a long journal article with a wide array of necessary packages and a publisher-specific class file. In this specific case, ...