Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

in a previous question there is a solution about how tu use tufte-handout class with beamerarticle.

I've tested it and I need to include [noxcolor] option because without it pdflatex complains with

! LaTeX Error: Option clash for package xcolor.

Could you tell me why?

share|improve this question

1 Answer 1

up vote 8 down vote accepted

Both the tufte-handout class and beamerarticle.sty load the xcolor package and with different options, that's why the error message Option clash appears.

Specifically, tufte-handout.cls uses tufte-common.sty and this requires xcolor by this line:

\RequirePackage[usenames,dvipsnames,svgnames]{xcolor}

It allows you to use xcolor features with the tufte classes. But as soon as you load beamerarticle it would try to pass again an option to xcolor. But beamerarticle is cleverly programmed and offers the option noxcolor which simply doesn't load xcolor, making it compatible for such cases.

From beamerbasearticle.sty:

\DeclareOption{noxcolor}{\beamer@articlexcolorfalse}
\ifbeamer@articlexcolor
  \RequirePackage[override]{xcolor}
  % For color support
\fi

From beamerarticle.sty:

\DeclareOption{noxcolor}{\PassOptionsToPackage{noxcolor}{beamerbasearticle}}
\RequirePackage{beamerbasearticle}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.