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

7
votes
1answer
88 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
255 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
1k 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
126 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
175 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
187 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
202 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
72 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
188 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
60 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
172 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
103 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
125 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
118 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
328 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
515 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 ...
57
votes
1answer
708 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
132 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
102 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
56 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
115 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. ...
12
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
74 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
772 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
348 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. ...
4
votes
1answer
67 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
285 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
140 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
129 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
174 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
174 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
290 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 ...
11
votes
2answers
371 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
335 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 ...
2
votes
3answers
355 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
85 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 ...
2
votes
1answer
487 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
113 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| ...
3
votes
2answers
89 views

Use of \GetIdInfoAuxI doesn't match its definition and other errors

I have several errors reported with this minimal example (latest TeX Live 2012). The errors were introduced with recent TeX Live updates. \RequirePackage[l2tabu, orthodox]{nag} ...
8
votes
1answer
235 views

Loading index package with memoir

The standard makeidx package writes ind/idx in LaTeX's internal representation file. The index package writes in utf-8 and works fine with the book, article, report standard classes. But when trying ...
1
vote
0answers
121 views

glossaries vs hyperref conflict [closed]

I'm writing my thesis and I'm having some trouble with the package glossaries and some strange conflict with hyperref package. If I load hyperref before glossaries in order to have links I cannot ...
7
votes
1answer
201 views

Incompatibilities with and alternatives to nath

I just discovered the existence of nath to auto-size mathematical expressions. But I also read that it has many incompatibilities and it also doesn't seem to be maintained anymore (last update was ...
6
votes
1answer
167 views

Incompatibility of the ocg-p package with the ocgcolorlinks option of the hyperref package

When I use the option ocgcolorlinks of the hyperref package together with the package ocg-p (MiKTeX + pdflatex), it looks like the ocgcolorlinks option becomes not working anymore (independently of ...
1
vote
0answers
70 views

Conflict between expl3.sty and breqn [duplicate]

I've encountered some problems using the breqn-package. I've allready read most of the topics on this forum about breqn but didn't find a solution. When I use the breqn-package, the log-file produces ...
2
votes
1answer
110 views

soul package does not work with user-defined language shorthands

Using \caps from the soul package with user-defined language shorthands generates an error. However, it works fine with language shorthands defined by babel itself, e.g. by using ...
8
votes
1answer
160 views

Incompatibility between amsrefs and memoir?

I am having trouble trying to use amsrefs together with the memoir class. Here is a minimal example: \documentclass{memoir} \usepackage{amsrefs} \begin{document} Some text. \end{document} LaTeX ...
6
votes
1answer
3k views

How to fix this amsmath warning about redefining \vec

I am using the pss(b) template, which starts with, \documentclass[pss]{wiley2sp} % provides pss two-column style \usepackage{amsmath} %\usepackage{bm} % uncomment these two packages if ...
2
votes
1answer
108 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 ...