[OS X TeX] color palettes

Bruce Kellogg rbmjk at alltel.net
Mon Dec 25 13:25:44 CET 2006


Thank you very much; this worked. Bruce Kellogg
On Dec 24, 2006, at 9:06 PM, Alan Munn wrote:

> At 8:24 PM -0500 12/24/06, Bruce Kellogg wrote:
>> I am having trouble using color palettes that I have found on the  
>> web. For example,
>> I have a tex file with the statements
>>
>>
>> \usepackage[named]{color}
>> {\color{OliveGreen} Olive Green}
>>
>> and I cannot process the file. I get the error message:
>>
>
> This is not the correct usage for the color package.  [named] is  
> not an option for calling the package, but is an option for the  
> \color command.  So, for example,
>
> \usepackage{color}
>
> \color[named]{OliveGreen}
>
> works for me (assuming TeX+Ghotscript), because OliveGreen is a  
> named color in the dvips driver.
>
> The named colors that are available differ from driver to driver.   
> To get pdftex to recognize dvips names use
>
> \usepackage[dvipsnames]{color}
>
> Then you can typeset the document using pdflatex and it will work.
>
> You should check the documentation for more information.  (in  
> Terminal type "texdoc grfguide" (no quotes)).
>
> Alan
>
>
> -- 
> Alan Munn                                                    
> amunn at msu.edu
> Department of Linguistics                                    
> amunn at acm.org
> and Germanic, Slavic, Asian and African Languages   Fax.   
> +1-517-432-2736
> Michigan State University, East Lansing MI 48824    Tel.   
> +1-517-355-7491
>
> ------------------------- Helpful Info -------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
> List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
>
>


------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list