Have included the following in my style file

\ProvidesPackage{andromeda}[2022/10/03 Andromeda Package]



%% Options set boolean flags to true

%% process the options before checking if the booleans are true

%% Load Country Maps

%% Load Science and Technology Packages

\RequirePackage{etoolbox} % Programming tools

%% Deferred colours (with asterisk) for dvipsnames

%% Bold typeface

And getting

! LaTeX Error: Option clash for package xcolor.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
l.110 \definecolors
  • 1
    learn to make a complete example. Commented Oct 3, 2022 at 22:11
  • Some other package you load before doing \usepackage[...]{xcolor} already loads xcolor with different options.
    – egreg
    Commented Oct 3, 2022 at 22:38
  • If I have \usepackage[CountryMaps]{andromeda} followed by \usepackage{userndr} and userndr has \usepackage{andromeda}. Would that be a problem?
    – Veak
    Commented Oct 3, 2022 at 22:45
  • I introspected a bit more and a problem seems to occur with this command \newcommand{\teo-teora-pigment}{RawSienna}.
    – Veak
    Commented Oct 3, 2022 at 22:57
  • @konmi no you have already loaded xcolor as egreg said above so you get an error from \RequrePackage I Commented Oct 3, 2022 at 23:02

1 Answer 1


You provided no test file but



shows in the log:

Package: utfsym 2022/04/17 Use TikZ to support icons from Unicode blocks

Package: expl3 2022-09-28 L3 programming layer (loader) 

File: l3backend-pdftex.def 2022-09-28 L3 backend support: PDF output (pdfTeX)
Package: l3keys2e 2022-06-22 LaTeX2e option processing using LaTeX3 keys
) (/usr/local/texlive/2022/texmf-dist/tex/latex/xcolor/xcolor.sty

showing xcolor is already loaded (with no options) via utfym.sty

So you get an option clash from


You could load xcolor with options earlier, or better load fewer potentially clashing packages,

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .