[OS X TeX] the color of color

Robert Spence spence at saar.de
Mon Dec 26 23:21:02 CET 2005


Dear Alain Schremmer,

I think there's an option 'dvipsnames' which works.  If you write
\usepackage[dvipsnames]{color}
in the preamble,
then you can write
\textcolor[named]{Orange}{this is Orange}
in the document and it will work.

The following also works (at least for me, with TeXShop Version 2  
(2.03) under Mac OS X 10.4.3, and I don't even know what "vanilla"  
_means_ in relation to Mac OS X, as I'm new to this list...)

\begin{displaymath}
    \colorbox[named]{Orange}{$(+2)\oplus(+5)\oplus(-8)\oplus(+4)\oplus 
(-7)$}
    \end{displaymath}

-- but you definitely need to capitalize the word "Orange" and  
include the option [named] with the  \colorbox command, otherwise it  
doesn't work.

Hope that helps,

-- Robert Spence

Dept. of Applied Linguistics
Saarland University
Germany



------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list