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

4
votes
1answer
130 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
315 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
393 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
76 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
162 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
76 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
385 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
138 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
1answer
206 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
115 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 ...
8
votes
1answer
502 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 ...
11
votes
2answers
4k 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
213 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
80 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
1k 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
312 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
228 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
94 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} ...
7
votes
1answer
400 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
95 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
589 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
149 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
183 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
129 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
467 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
993 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 ...
69
votes
1answer
1k 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
189 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
179 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
79 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
197 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. ...
14
votes
1answer
2k 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
108 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
1k 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
3k 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
807 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
173 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
95 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
492 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
197 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
208 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} ...
1
vote
0answers
320 views

Conflicting commands in preamble [closed]

I am using the class IEEEtran for writing a journal. I have two conflicting commands in my preamble. The first command has been used by me for some time, though I have no idea why it should be there. ...
8
votes
1answer
215 views

How to disable \renewcommand

I've got a custom class derived from report. I defined some standard commands inside of it to reflect its specific, so they look like: \newcommand\contentsname{Custom Content} ...
5
votes
2answers
358 views

Conflict between ifxetex and ucs under pdflatex/xelatex - why?

I use TexLive 2012 (on Mac) and the following minimal example does not work: \documentclass{article} \usepackage{ifxetex} \usepackage[mathletters]{ucs} % Need newline here! \ifxetex \else \fi ...
12
votes
2answers
590 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 ...
8
votes
2answers
597 views

Chemfig package compatibility

Looking for help on the following problem: I am trying to use chemfig package in my document, however after initial insertion had the following error: !No room for a new \dimen. I found No room ...
3
votes
3answers
634 views

enumitem conflict with french babel

The following crashes with the error: ! LaTeX Error: Something's wrong--perhaps a missing \item. \documentclass[]{article} \usepackage[francais]{babel} \usepackage{enumitem} \begin{document} ...
4
votes
1answer
97 views

Concatenating book chapters at the PDF level

There are some LaTeX packages which conflict with each other. When assembling a book from different chapters provided by different contributors, it might be not too easy to resolve these conflicts. In ...
3
votes
1answer
823 views

Dashed hline in longtabu (arydshln conflicts, does not work?)

I have a large table with the following requirements: Spans multiple pages (currently using longtable) The last column's text must wrap (using tabu's longtabu environment as tabularx does not ...
3
votes
2answers
162 views

Babel spanish option and fancyvrb incompatibility

The following MWE compiles without problems \documentclass{article} \usepackage[english]{babel} \usepackage{amsmath} \usepackage{fancyvrb} \begin{document} \SaveVerb{x>y}|x > y| ...