[pstricks] exclamation mark

John Campbell jcdotcalm at shaw.ca
Wed Aug 15 16:47:37 CEST 2007


Since the PSTricks book has been mentioned in this post, I will take this 
opportunity to mention that where I live (Canada) this book seems not to be 
available.  Neither the local (very good ) book store, nor the local 
university book store are capable of ordering it for me. The explanation 
that they both give is that the book does not show up on any N. American 
distributing list.  I know there is a Lehmann's bookstore on line that 
offers it. Will they ship to Canada (und spricht man da englisch?).

John Campbell
Edmonton Alberta
----- Original Message ----- 
From: "Herbert Voss" <Herbert.Voss at fu-berlin.de>
To: "Graphics with PSTricks" <pstricks at tug.org>
Sent: Wednesday, August 15, 2007 5:59 AM
Subject: Re: [pstricks] exclamation mark


> Doris Wagner wrote:
>> sometimes in pstricks-code there are expressions like this:
>>
>> linecolor=gray!20
>>
>> I guess that the exclamation mark is something postscript-specific. Can
>> anyone explain the meaning of this exclamation mark or tell me where I
>> can find something about it in the web?
>>
> in the PSTricks book pages 15ff or in the documentation of xcolor
>
> \documentclass{article}
> \usepackage{xcolor,array}
> \begin{document}
>
> \begin{tabular}{@{}*{5}{>{\ttfamily}l}@{}}
> \rmfamily\emph{Color expression}
>    & \multicolumn{3}{c}{\rmfamily\emph{RGB-Tripel}}\\\hline
> \colorbox{red}{red} & 1 & 0 & 0 \\
> \colorbox{red!55}{red!75} & 1 & 0.25 & 0.25\\
> \colorbox{red!55!blue!100}{\color{white}red!75!blue!100}
>    & 0.75 & 0 & 0.25\\
> \colorbox{red!55!blue!30}{red!75!blue!405} & 0.9 & 0.6 & 0.7\\
> \colorbox{red!55!blue!30!yellow!50}{red!75!blue!40!yellow!50}
>    & 0.95 & 0.8 & 0.55\\\hline
> %
> \colorbox{-red}{-red} & 0 & 1 & 1 \\
> \colorbox{-red!55}{-red!75} &  0 & 0.75 & 0.75\\
> \colorbox{-red!55!blue!100}{-red!75!blue!100} & 0.25 & 1 & 0.75\\
> \colorbox{-red!55!blue!30}{%
>  \color{white}-red!75!blue!40} & 0.1 & 0.4 & 0.3\\
> \colorbox{-red!55!blue!30!yellow!50}{%
>  \color{white}-red!75!blue!40!yellow!50} & 0.05 & 0.2 & 0.45
> \end{tabular}
> \end{document}
>
>
> it has nothing to do with PostScript,
> -red!55!blue!100
> is the complementary color (-) of 55% red with 100% blue
>
> Herbert
> _______________________________________________
> pstricks mailing list
> pstricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> 




More information about the PSTricks mailing list