Re: Use of PS tricks
"Henning Dierks" <[email protected]>
| Newsgroups | gmane.comp.tex.latex.prosper.user |
|---|---|
| Organization | University of Oldenburg |
| Message-ID | <[email protected]> |
On Montag 01 Dezember 2003 19:40, Theo Stewart wrote:
> Hi .. Thanks for the interest.
>
> When running LaTeX on the file listed below, I getthe error message:
> "PSTricks error !Color `brown' not defined" ("brown" is defined in
> PPRautumn.sty). A similar problem occurs with other styles, but not all
> (e.g. azure works fine)
>
> Cheers
Hi,
I did the following to get a dark green:
I put a line
\newrgbcolor{dgreen}{.0 .5 .0 }
in my PPR*.sty file. This define the command
\dgreen which can be used in the usual way:
{\dgreen foo} should show a "foo" in dark green.
In order to get the dark green as color in
plain pstricks I added the line
\definecolor{dgreen}{rgb}{.0, .5, .0}
in the preamble of the *.tex file. Then I can
define a line which is dark green:
\ncline[linecolor=dgreen]{Z0}{Z1}
produces a dark green line from node Z0 to Z1.
@Theo: You got a ps-tricks error. That means you
should introduce appropriate \definecolor
commands.
HTH, Henning
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/