Skip to main content
Share Your Experience: Take the 2024 Developer Survey
38 votes
Accepted

Decide between Polyglossia and Babel for LuaLaTeX in 2019

Here's some reasons why I prefer babel over polyglossia for LuaLaTeX. babel's base is part of the LaTeX core packages actively developed, but polyglossia is only getting a few minor updates. babel's ...
David Purton's user avatar
24 votes

Decide between Polyglossia and Babel for LuaLaTeX in 2019

There are 79 language definition files (gloss-XX) in the polyglossia folder. For a thorough comparison you would have to compare for every language how good the gloss-file is, if it works with ...
Ulrike Fischer's user avatar
24 votes
Accepted

Is there a way to find out the correct order to load packages?

There can be no general rule here and nothing you can expect to find in the individual package documenation, if package A sets \foo=1 and packageB sets \foo=2 then the load order depends on whether ...
David Carlisle's user avatar
19 votes

Option clash for package xcolor

Another way is to paste this line \PassOptionsToPackage{table}{xcolor} before \documentclass{...} as was already referenced here!
EnthusiastiC's user avatar
19 votes
Accepted

siunitx incompatible with multirow?

The siunitx code does it's best to 'guess' when content is 'purely textual', but it is best to give it some guidance. Here, the issue arises as siunitx picks up \multirow as 'before the number' but ...
Joseph Wright's user avatar
  • 261k
16 votes
Accepted

List of deprecated commands and their `appreciated' alternatives

Short answer: Run texdoc l2tabuen in the OS prompt. Long answer: Although may be are not officially deprecated LaTeX2e commands, as David said, novices often fall in old documentation, examples and ...
Fran's user avatar
  • 81.7k
16 votes
Accepted

Incompatibility between siunitx and gb4e

The cause of the problem The redefinition of ^ and _ that gb4e does has nothing to do with this problem, because (as @cfr notes) it isn't solved by \noautomath. The problem is some code in the ...
Alan Munn's user avatar
  • 219k
12 votes
Accepted

Division sign, not divergence

Probably, the document is using package physics. It redefines the symbol for a different purpose. The old meaning of \div is saved in \divisionsymbol: \documentclass{article} \usepackage{physics} \...
Heiko Oberdiek's user avatar
12 votes
Accepted

Concerns on Switching to Plain LuaTeX or ConTeXt Mark IV

I expect LuaTeX to be able to implement plain TeX, that has thing backwards really, luatex implements a more or less Tex compatible engine, it does not implement plain tex, it is compatible enough ...
David Carlisle's user avatar
12 votes

Concerns on Switching to Plain LuaTeX or ConTeXt Mark IV

I expect LuaTeX to be able to implement plain TeX, while natively allowing UTF-8 characters and arbitrary font. Is it so? It is possible to natively use utf-8 characters with both xetex and luatex ...
Aditya's user avatar
  • 62.5k
12 votes
Accepted

Illegal unit of measure error when using hyperref in the ifacconf class

The fundamental difference here is that ifacconf updates the way sections are formatted/presented by introducing a new internal argument aimed at distinguishing between certain headings. Specifically, ...
Werner's user avatar
  • 605k
11 votes
Accepted

Conflict between \mathabx and \amssymb

The mathabx package is not compatible with amssymb; besides, it changes all math symbols. You can use, instead, stmaryrd. \documentclass{book} \usepackage{amsmath} \usepackage{amssymb} \usepackage{...
egreg's user avatar
  • 1.1m
11 votes
Accepted

How to avoid \qty conflict with physics and siunitx

Since the originally accepted answer seems to have gone obsolete, Joseph suggests this alternative: \documentclass{article} \usepackage{siunitx} \usepackage{physics} \AtBeginDocument{\RenewCommandCopy\...
Steven B. Segletes's user avatar
10 votes
Accepted

How to identify and prevent clashes in a new package?

In terms of package clashes, a prominent issue is command duplication. As an example, consider \documentclass{article} \usepackage{txfonts} \usepackage{amsmath} \begin{document} Lorem ipsum \ldots ...
Werner's user avatar
  • 605k
10 votes
Accepted

babel + textcomp + redefining \LaTeX

This happens because textcomp loads a non-ASCII encoding (ts1enc.def), and babel explicitly checks for that and, if that's the case, it changes the definition of the \LaTeX macro. The relevant part of ...
Phelype Oleinik's user avatar
10 votes

Clash between pgf and transparent packages

I dare say the fault on in PGF's side, sorry if I'm wrong. The \pgfutil@addpdfresource@extgs which shows in the error message seems to be a generic macro which, with the current settings, expands to \...
Phelype Oleinik's user avatar
10 votes
Accepted

"Extra \else" error when combining breqn, thm-restate, and cleveref

Wow, that's a nice finding (if you can call it that). . . The order doesn't matter, but all three packages play a role in this (though cleveref is innocent). First, breqn redefines ...
Phelype Oleinik's user avatar
9 votes

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

The reason can be found in the log file: Class scrbook Info: Deactivating the titlesec workaround, (scrbook) because package is newer than expected on input line 4. There was an update ...
esdd's user avatar
  • 85.9k
9 votes

Loading TikZ changes the colors of my PDF/A document from RGB to CMYK

Extract from pdfx documentation: "PDF/A and PDF/E usually need an RGB profile". You may force RGB colors using the rgb option when thexcolor package is loaded: \documentclass[margin=1pt]{standalone} \...
Paul Gaborit's user avatar
9 votes
Accepted

Combining calc and perpendicular coordinates in tikz

The syntax of the line to operation given in the manual is to place |- between two coordinates: Sometimes you want to connect two points via straight lines that are only horizontal and vertical. ...
AndréC's user avatar
  • 25.4k
8 votes

Loading TikZ changes the colors of my PDF/A document from RGB to CMYK

The tikz package loads the xcolor package which is partially responsible for the change in your url colors. This can be easily fixed by placing your \hypersetup{colorlinks=true} before the tikz ...
JiyuuSensei's user avatar
8 votes

Loading TikZ changes the colors of my PDF/A document from RGB to CMYK

As to your second question: it is normal, that an RGB and an CMYK color does not look the same. To understand why, I have to tell some details. You have to know, that there are at least two ...
Jan's user avatar
  • 5,323
8 votes
Accepted

Import one symbol from `fourier`

The \danger command is defined as a text symbol in fourier-orns.sty. \documentclass{article} \usepackage{newpxtext,newpxmath} \usepackage{fourier-orns} \usepackage{amsmath} \begin{document} \danger ...
egreg's user avatar
  • 1.1m
8 votes
Accepted

Biblatex and newtxmath are not working together

As of this morning (UTC, 2018-05-17) this work-around is not needed any more. Both MikTeX and TeX live now ship an updated version of the newtx package that does not load etextools any more. Update ...
moewe's user avatar
  • 177k
8 votes
Accepted

Switching lines in preamble causes error/NO error

From the documentation of \usepackage in source2e.pdf: \usepackage[⟨package-option-list ⟩]{⟨package-list ⟩}[⟨version ⟩] There can be any number of these declarations. All packages in ⟨...
Andrew Swann's user avatar
8 votes

Is there a way to find out the correct order to load packages?

There are about 5000 packages out there on CTAN and while not all of them are for LaTeX the majority is. As David wrote in his answer there are 4 possibles relationships between packages A and B: ...
Frank Mittelbach's user avatar
7 votes

Which packages should be loaded after hyperref instead of before?

Status in 2024 There are still loading order requirements, either because hyperref must overwrite a command or because other packages (like cleveref) wants to overwrite hyperref definitions. But LaTeX ...
Ulrike Fischer's user avatar
7 votes

Incompatibilities between KOMA-Script and titlesec

Currently, titlesec (in version 2.10.1) is fully incompatible with KOMA script. The following minimal example doesn't even compile anymore: \documentclass{scrartcl} \usepackage{titlesec} \begin{...
krlmlr's user avatar
  • 12.6k

Only top scored, non community-wiki answers of a minimum length are eligible