Graphics, Figures & TablesUsing svgnames with pst-solides3d

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
StarKid
Posts: 21
Joined: Thu May 26, 2011 8:47 pm

Using svgnames with pst-solides3d

Post by StarKid »

The documentation for the package pst-solides3d indicates that some additional colors can be used:

The following colours are known by PSTricks, when the option svgnames is given. These ones are not identified by the file solides.pro: we can use them directly with the option fcol.
These colours are delivered from the package xcolor.


I can't figure out how to access these colors. Besides pst-solides3d, I'm not using any other packages besides trying pstricks and xcolor to get the color to show up.

If I add the xcolor or pstricks packages to my preamble (without options), none of my objects are visible in the output and compiling gives me the error:

Code: Select all

Error: /undefined in SaddleBrown
.

SaddleBrown is the color I'm trying to use. I copied the capitalization from the aforementioned documentation, but I've also tried lowercasing all the letters in the name.

If I use

Code: Select all

\usepackage[svgnames]{pst-solides3d}
, the file will not compile at all (I'm using xelatex but it doesn't work with latex->dvips->ps2pdf either).

If I use

Code: Select all

\usepackage{pst-solides3d}
\uspackage[svgnames]{pstricks}
,

I get an error

Code: Select all

! LaTeX Error: Option clash for package pstricks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Using svgnames with pst-solides3d

Post by Johannes_B »

Add svgnames to the option list of \documentclass.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply