LaTeX Packages
amssymb and bm
- bm, if used, must come after amssymb; otherwise
Error: Too many symbol fonts declared
ensues.
amssymb, mathdesign and stmaryrd
- amssymb and stmaryrd break if used together (
\circledS
command defined by both). This particular command is also defined bymathdesign
. To overcome this, before loading amssymb, do\let\circledS\undefined
.
biblatex
- Requires
etoolbox
(provides\patchcmd
). This means that commands that requireetoolbox
can be placed after loadingbiblatex
, and they will work, even ifetoolbox
has never been\usepackage
’d in the current file. However, for readability it is better to just use\usepackage
.
mathdesign
\usepackage[bitstream-charter]{mathdesign}
\renewcommand\scdefault{sc}
The second line ensures that small caps continue to function… (otherwise they break).
minted
- Loads
etoolbox
(which provides\patchcmd
).
xcolor
- The
documentclass
line contains one option,dvipsnames*
, that belongs to thexcolor
package, but setting it only when loadingxcolor
might cause conflicts with other packages that also automagically load that package (namelytikz
). Having that option given todocumentclass
avoids the possibility of any such conflict. (What this particular option does, incidently, is to load a set colours larger then the basic set, which contains the colourMidnightBlue
, used for hyperlinks. The starred version loads colour on demand, i.e. requires a\providecolors
command.)