Re: Use of PS tricks
Theo Stewart <[email protected]>
| Newsgroups | gmane.comp.tex.latex.prosper.user |
|---|---|
| Organization | University of Cape Town |
| Message-ID | <[email protected]> |
Sure ... I realize I can define all the colours I want myself, but that was
not really the point. My question was why do colours defined in PPRautumn.sty
become undefined when I invoke PSTricks myself. It's tedious to redefine
all colours from the autumn style, and I worry also whether something else
more subtle has also changed.
Theo Stewart
Henning Dierks wrote:
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
--
Theo Stewart
Professor of Statistical Sciences
Building 28 (P D Hahn), Room 307
University of Cape Town
7701 Rondebosch
South Africa
TEL (O): +27-21-650-3224
TEL(H): +27-21-531-8374
FAX: +27-21-650-4773
http://www.uct.ac.za/depts/stats/stew.htm
-------------------------------------------------------
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/