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

2
votes
1answer
90 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
137 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 ...
1
vote
1answer
1k 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
55 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" ...
2
votes
2answers
743 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
482 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. ...
5
votes
1answer
490 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 ...
36
votes
2answers
579 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
66 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
86 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: ...
4
votes
1answer
181 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 ...
27
votes
1answer
289 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
68 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}} ...
1
vote
1answer
121 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
57 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 ...
7
votes
1answer
222 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
110 views

Latex already defined clash between cls file and multiple packages

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
1answer
129 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
89 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 ...
6
votes
1answer
307 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 ...
7
votes
2answers
2k 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
148 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, ...
2
votes
1answer
75 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
272 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
210 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 ...
17
votes
2answers
208 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 ...
5
votes
1answer
78 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} ...
6
votes
1answer
231 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, ...
5
votes
2answers
67 views

BPChem's \IUPAC conflicting with hyperref

I can't compile when attempting to use \IUPAC inside a heading; outside a heading works fine. Minimal working example: uncomment \section to see the error. \documentclass[a4paper, 11pt, ...
1
vote
1answer
246 views

! LaTeX Error: Option clash for package color in MiKTeX

I'm so new to LaTeX. Using MiKTeX I have following problem with its portable version. I write down here the code and the final error: \documentclass[cover]{isas-seminar} \usepackage{subfigure} ...
3
votes
1answer
112 views

Incompatibility between mdframed and todonotes?

Is there an incompatibility between mdframed and todonotes? For example, try this: \documentclass{article} \usepackage{mdframed} \usepackage{todonotes} \begin{document} \begin{mdframed} x\todo{y} ...
4
votes
0answers
144 views

Follow up to underline subsections - incompatibility between lineno, sectsty, and ulem

In answering the question Underline subsections, I provided an answer which relied on the sectsty package (as compared to @GonzaloMedina's answer, which used the titlesec package). Ultimately, ...
3
votes
1answer
120 views

mdframed incompatible with paralist

Compare mdframed with boxed minipage in the following example: \documentclass[11pt]{book} \usepackage[neveradjust]{paralist}% \usepackage{boxedminipage} \usepackage{mdframed} \begin{document} ...
6
votes
2answers
345 views

Error “Illegal unit of measure” occuring when using PSTricks

Consider the following example: \documentclass{article} \usepackage{pstricks} \newcommand*\sleep[3]{% \psframe[fillstyle=crosshatch*](6 #1 mul 37 sub 0.5)(6 #1 mul 36 sub 0.5 5 #2 div add) ...
11
votes
1answer
593 views

Conflict between program and todonotes package

I want to add some pseudo-like code to my document using the program package, but when I add the package to my document, I get the following errors. I found out the problem being caused by a conflict ...
60
votes
1answer
793 views

Automated management of package options and loading order

This question led to a new package: pkgloader(CTAN, Github) LaTeX package conflicts are a common source of frustration: (1) (2) (3) (4) (5) (6). To quote Freek Dijkstra: Package conflicts ...
3
votes
3answers
142 views

Error when using pschart with LaTeX

Consider the following example: \documentclass{article} \usepackage{auto-pst-pdf,pstricks-add} \usepackage{siunitx} \begin{document} \begin{figure} \centering \psset{ unit=4cm, ...
2
votes
1answer
116 views

Accents package incompatible with bm?

Reading egreg's answer to Decrease length of underline in math, I wanted to use the accents package for lower bars in math mode. It seem however that the package is incompatible with the bm package. ...
2
votes
1answer
58 views

Why does leftidx not work in a figure caption?

I use the leftidx package to get left subscripts typeset acceptably, however, when I tried to use the \leftidx command within a figure caption (\caption) command I get errors compiling. Here is a MWE: ...
2
votes
0answers
130 views

hyperref, babel and subequations conflict [closed]

I am trying to use subequations in a document. Playing around with my preamble I found out that if I use babel and hyperref package at the same time, a fatal error is occured and no .pdf is produced. ...
13
votes
1answer
1k views

How to use polyglossia with biblatex?

Using polyglossia and biblatex together leads to an error: ! Package biblatex Error: Patching 'babel' package failed. See the biblatex package documentation for explanation. Type H <return> ...
6
votes
1answer
81 views

How to make tipa compatible with braket?

The following minimal working example generates an error if you remove the per cent sign. \documentclass{amsart} %\usepackage{tipa} \usepackage{braket} \begin{document} \[ \Set{x|y} \] \end{document} ...
2
votes
1answer
874 views

Using mathabx and MnSymbol in the same document

I'm not a computer expert, so when I simply include the lines \include{mathabx, MnSymbol} in a .tex file, compile it, and it gives me a bunch of errors, I don't know what to do... I'm running ...
2
votes
2answers
1k views

Export Graphs from OriginPro with LaTeX Typesetting

I've looked online for an answer to my question, but I was wondering if it's possible to export graphs from OriginPro for inclusion into a LaTeX document using LaTeX typesetting? I'm using PDFLaTeX ...
3
votes
1answer
428 views

Incompatibility between memoir and appendix package option titletoc

I'm trying to get "Appendix A" instead of just "A" for my appendix in the table of contents, and one solution to this seems to be \usepackage[titletox]{appendix}. However, it doesn't work with memoir. ...
3
votes
2answers
129 views

Titlesec and Babel incompatibility?

I cannot find a way to change chapter style with babel included (for hungarian language). Here is the example: \documentclass[a4paper]{report} \usepackage[magyar]{babel} \usepackage{titlesec} ...
4
votes
1answer
73 views

Clash between alltt and semantic and minus sign

Why does this code... \documentclass{article} \usepackage{alltt} \usepackage{semantic} \begin{document} \begin{alltt} \(x-y\) \end{alltt} \end{document} ...give this error? ERROR: TeX capacity ...
3
votes
1answer
338 views

Package conflict when using the combine document class

The following code demonstrates two types of errors, which I think are fundamentally the same. The code should format as is; now remove the % in front of \usepackage{semantic}. Reformatting fails to ...
7
votes
1answer
150 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 ...
4
votes
1answer
154 views

revtex incompatible with dblfloatfix?

This minimal example makes my latex/pdflatex from MiKTeX (or TeX Live of a colleague) crash: \documentclass{revtex4-1} \usepackage{dblfloatfix} \begin{document} Hello World! \begin{figure} ...