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

19
votes
3answers
15k views

Conflict between amsthm and some other package

This is the preamble to a book I'm editing: \usepackage{amsmath} \usepackage{amssymb} \usepackage{xspace} \usepackage{proof} \usepackage{url} \usepackage{xy} \xyoption{all} \usepackage{amsthm} \...
1
vote
1answer
12 views

Cannot use acmsmall's narrowfig tegether with hyperref

I'm trying the use the narrowfig environment from the acmsmall class. The following works without problems: \documentclass{acmsmall} \begin{document} \begin{narrowfig}{.5\linewidth} Foo \caption{...
2
votes
1answer
41 views

Tcolorbox + minted source code listing that works in beamer

I copied and modified the code snippet in the accepted answer here to highlight cpp code: \usepackage{tcolorbox} \tcbuselibrary{minted,skins} \newtcblisting{cppcode}[1][]{ listing engine=minted, ...
4
votes
1answer
38 views

Siamart0516 class and wrong hyperref driver

I'm using the siamart0516 document class and I keep getting errors like: Package hypdvips Error: Wrong hyperref driver `hxetex.def' selected! [ }] and LaTeX Error: Command \hc@orgtable already ...
3
votes
1answer
32 views

algorithm2e command \procedure already defined

I included algorithm2e and start getting error message of "algorithm2e.sty command\procedure already defined." Here are the list of packages in my latex file \documentclass[useAMS,usenatbib]{coin.cls}...
0
votes
0answers
30 views

From `article` to `book` (in a modular document)

I am trying to compile a list of articles (in the sense that these texts are originally written and compiled using the article class) with the book class in a modular way. However, for reasons not ...
6
votes
1answer
147 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} ...
0
votes
1answer
34 views

Cross-reference and tikzpicture conflict?

When I Include this diagram to my memoir document % Requires \usetikzlibrary{shadows,positioning,backgrounds} \centering \begin{tikzpicture}[x=11.8mm,y=8mm] % some colors \colorlet{even}{cyan!60!...
2
votes
2answers
57 views

Compatibility issue with \renewenvironment{figure} and [H] placement

This is related to Shift all floats on page horizontally. While trying to redefine the standard figure environment I've run into compatibility issues with the [H] placement specifier from the float ...
2
votes
2answers
555 views

Multiple Missing number, treated as zero. and Illegal unit of measure (pt inserted). on \section

I'm writing with TeXStudio, and create pdfs with "pdflatex.exe -synctex=1 -interaction=nonstopmode "Fallout Equestria - Torn Skies".tex" I updated with the MikTex. Before everything went just fine. ...
5
votes
1answer
497 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 ...
1
vote
1answer
49 views

Conflict between amsbook and tocloft

I use a document class that is based on amsbook class for my thesis and at the same time I want to stylize the list of figures and tables with tocloft. But apparently these two are have conflicts. A ...
3
votes
1answer
40 views

Does morewrites not support filecontents, and can I write body of environment using TeX primatives?

Is there an equivalent way to write the body of my environment to a file without filecontents using TeX primatives? morewrites or filecontents limitation I suspect a limitation that these packages ...
3
votes
1answer
53 views

Compatibility parnotes – csquotes: Some things typeset twice — Ways to solve it automatically

If you want to quote a text with footnotes, and want to place/position the notes just after the quotation paragraph : — It works perfectly with \enquote, \textquote… — It doesn't work well with \...
1
vote
0answers
48 views

Hyperref and description environment

I am trying to put an hyperref command inside an item name in the description environment. The following MWE works as expected (this is what I am trying to achieve!): \documentclass{article} \...
4
votes
1answer
104 views

How to use EB Garamont Font with KOMA Script Font Size 16pt

I am using the ebgaramond package in my scrbook document. As a base font size I want to use 16pt but when I compile the document I get warnings like the following: LaTeX Font Warning: Font shape `...
4
votes
3answers
121 views

Incompatibility between lineno and equation*

In addition to a lot of others incompatibilities, also there is one between lineno and equation*. Is there any chance to have the lineno package updated to solve this problem? Does anybody here knows ...
2
votes
2answers
113 views

Transparent text: what alternatives to the transparent package?

I want to write some text with a semi-transparent color. I have tried the transparent package but it seems to be in conflict with some other package. In a MWE, it works BUT in my real case, it does ...
0
votes
0answers
28 views

conflicting packages -

I need help figuring out which packages are conflicting in my document. I get the error message at the lines 35 and 44: \T already defined' and \U already defined' My preamble includes: \...
15
votes
1answer
186 views

Biblatex is zeroing Bob! Is Biblatex incompatible with titling, Memoir and more?

Consider the following Minimal Working Example (MWE): \documentclass{article} \usepackage{xparse,titling} \NewDocumentCommand\makethis { } {% {\LARGE\theauthor\bigskip\par} } \author{Bob} \...
6
votes
2answers
313 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 ...
5
votes
1answer
62 views

Is there an incompatibility between siunitx and skmath packages?

Is it just me, or does output not look like it is supposed to?? \documentclass{article} \usepackage{skmath} \usepackage{siunitx} \begin{document} \num{\pi} \end{document} which gives: $\pi$ works ...
10
votes
2answers
255 views

Issues with leipzig and glossaries used together

I am preparing a document containing some interlinear glossing, the glossing conventions themselves appearing as a separate list. I use the leipzig package to typeset the glosses, the expex package to ...
2
votes
1answer
79 views

Conflict between xwatermark and exam class

I want to print a watermark in exam class in the following way as I don't want water mark in the foreground and with some opacity. As soon as I uncomment the \usepackage[printwatermark]{xwatermark} it ...
7
votes
2answers
3k views

Hyperref and imakeidx do not work together

I use imakeidx package to generate index in my document. I'd like to add hyperlinks into my Index, but it seems to me that hyperref and imakeidx do not work together. For example, this code doesn't ...
17
votes
2answers
7k 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 ...
1
vote
1answer
40 views

Using stmaryrd with extpfeil

Importing extpfeil seems to undefine some of the macros in stmaryrd. In particular LaTeX complains ! Undefined control sequence. <recently read> \Yleft unless I delete extpfeil. \...
153
votes
11answers
15k 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, ...
4
votes
2answers
136 views

Conflict between colortbl and \hrulefill

I define a new environment \CCG that takes two arguments (i.e. above and below texts) and an optional suffix. I use \hrulefill to make sure that horizontal line fills the space before a suffix. This ...
9
votes
1answer
471 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 ...
6
votes
1answer
101 views

Baffling interaction of Asymptote and Transparency

Context: I'm trying to use Asymptote to draw explanatory arrows and comments atop a semitransparent lstlisting environment. In the course of doing so I've encountered a bizarre interaction between ...
55
votes
2answers
3k 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 ...
0
votes
2answers
349 views

Package xcolor Error: Undefined color `ForestGreen'

I am using the following packages in my files Latex sources: \usepackage{color} \usepackage[table,xcdraw]{xcolor} \usepackage[usenames, dvipsnames]{color} \newcommand{\ricardo}[1]{\colorbox{...
14
votes
2answers
1k 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 ...
3
votes
1answer
146 views

Is there a conflict between memoir and sidenotes?

I am attempting to use the memoir package in conjuction with the sidenotes package, but when I attempt to compile, I get the following error: Option clash for package changepage and compilation ...
4
votes
1answer
160 views

Package incompatibility?

I have a book written in LaTeX (WinEdt 9, Windows 7) that I cannot compile after I switched to a new computer (worked perfectly before). The error is You can't use prefix with "\begingroup on one of ...
2
votes
1answer
173 views

biblatex and pgfplots

I'm using pgfplots to plot some graph of data I stored in a file (a lot of data points). If I charge the bibtex package, I obtains the following error: TeX capacity exceeded, sorry [main memory size=...
4
votes
2answers
275 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. ...
3
votes
0answers
39 views

Incompatibility between savetrees and amsart? [closed]

I wish to print some notes that use the documentclass amsart in a more compact form. I was hoping to simply use the savetrees package (maybe there is a more recent replacement?) but that seems to ...
0
votes
1answer
119 views

Nice tables in beamer presentation

I liked the approach shown here. beautiful tables in latex. But when I use it in beamer class, tabularx conflicts with xcolor. What is the solution?
4
votes
1answer
201 views

conflict refcheck/subcaption packages for label with underscores

I found a conflict between the hyperref/subcaption/refcheck packages. I was using figures with subfigures and subcaptions, enabling the hyperref package for cross referencing in the document without ...
16
votes
1answer
127 views

Conflict between fontspec and geometry

Using the option lines=x of geometry does not give the expected result when the fontspec package is used in the same document. For example, declaring lines=40 does not result in 40 lines per page but ...
1
vote
1answer
81 views

Is pdflscape incompatible with atbegshi or TikZ? Possible cause of Error 14 in Adobe Acrobat [XeTeX]

I am going nuts trying to figure out two issues that may be related. The first one is the fact that a \AtBeginShipout from atbegshi "seems" to be called twice on the first page, because the opacity ...
1
vote
1answer
56 views

bclogo todonotes clash

The following MWE generates an error (but produces correct output). What is the easiest work-around? Argument of \reserved@a has an extra } Hello\todo{\bcsmbh} \documentclass{minimal} \usepackage{...
3
votes
1answer
883 views

Loading babel with the 'hungarian' (magyar) option breaks 'pygments' code highlighting

Given the following TeX file everything works as expected: the (Hungarian) text Árvíztűrő Tükörfúrógép typesetted as expected and the code snippet also formatted brilliantly. \documentclass{article} \...
1
vote
0answers
17 views

Compatibility issue between `forest` and `etextools` [duplicate]

I have the following versions of the forest and etextools packages: Package: forest 2015/07/15 v1.0.10 Drawing (linguistic) trees Package: etextools 2010/12/07 v3.1415926 e-TeX more useful tools for ...
9
votes
1answer
753 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{...
3
votes
0answers
48 views

Conflict between nath package and align?

I juste began to use the very user-frieldly nath package, which seems to work quite perfectly up to those lines : \begin{align*} U^{old}(q, \sigma_S) & = \{\pi^{\otimes m_k(\pi^S)} \in A(B^\star) ...
13
votes
3answers
505 views

Why does hyperref overrule so many things?

One very usefull package is the hyperref-package. However a lot of times this package interferes with other packages or structures within a LaTeX document. So what is it about hyperref that makes it ...
3
votes
1answer
2k views

Elsevier `elsart`/`elsart3p` incompatibility with `algorithmic`

Stuggling with the following problem for a small while and am stumped. I'm using the the elsart3p.cls document class, but it seems not to work well with the algorithmic package. Here's a minimal ...