From 7a88911ffe2801abc78f25c81f6b3cf2bc0c4b82 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 26 Jul 2015 22:50:40 +0000 Subject: pstricks (26jul15) git-svn-id: svn://tug.org/texlive/trunk@37963 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/pstricks/Changes | 1 + .../doc/generic/pstricks/Changes.generic | 1 + Master/texmf-dist/doc/generic/pstricks/README | 4 +-- .../texmf-dist/doc/generic/pstricks/pst-news15.pdf | Bin 208035 -> 279726 bytes .../texmf-dist/doc/generic/pstricks/pst-news15.tex | 28 ++++++++++++++++++++- 5 files changed, 31 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/generic/pstricks/Changes b/Master/texmf-dist/doc/generic/pstricks/Changes index c0b01626623..58ef4d16ea9 100644 --- a/Master/texmf-dist/doc/generic/pstricks/Changes +++ b/Master/texmf-dist/doc/generic/pstricks/Changes @@ -1,3 +1,4 @@ +2015-07-25 - updated news2015 2015-06-29 - new news2015 2014-08-28 - updated news2014 2014-07-28 - updated news2014 diff --git a/Master/texmf-dist/doc/generic/pstricks/Changes.generic b/Master/texmf-dist/doc/generic/pstricks/Changes.generic index 6a1270906c6..11555cd484b 100644 --- a/Master/texmf-dist/doc/generic/pstricks/Changes.generic +++ b/Master/texmf-dist/doc/generic/pstricks/Changes.generic @@ -2,6 +2,7 @@ pstricks.tex -------- versions like 2.47a have only changes in other files, but not in this main package. +2.62 2015-07-24 - added optional argument bgcolor 2.61 2015-06-28 - added optional arguments precode and postcode 2.60 2014-10-25 - make it compatible for using it with ConTeXt 2.57 2014-08-27 - take option correctAngle into account for \psellipticwedge diff --git a/Master/texmf-dist/doc/generic/pstricks/README b/Master/texmf-dist/doc/generic/pstricks/README index 993cb771801..efcf531d19a 100644 --- a/Master/texmf-dist/doc/generic/pstricks/README +++ b/Master/texmf-dist/doc/generic/pstricks/README @@ -1,4 +1,4 @@ -PSTricks 2014 +PSTricks 2015 ----------------------------------------------------------------------- PSTricks is the original work of Timothy van Zandt @@ -9,7 +9,7 @@ and Sebastian Rahtz PSTricks 2004 is edited by Herbert Voss and Rolf Niepraschk -PSTricks 2005-2014 is edited by Herbert Voss +PSTricks 2005-2015 is edited by Herbert Voss ----------------------------------------------------------------------- For more informations go to http://tug.org/PSTricks _and_ read the diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news15.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-news15.pdf index 7d8065da0c0..a8590c0a1d9 100644 Binary files a/Master/texmf-dist/doc/generic/pstricks/pst-news15.pdf and b/Master/texmf-dist/doc/generic/pstricks/pst-news15.pdf differ diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news15.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news15.tex index c0a058f3b1f..fe8ffe6fa84 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pst-news15.tex +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news15.tex @@ -1,4 +1,4 @@ -%% $Id: pst-news13.tex 856 2013-12-09 10:34:40Z herbert $ +%% $Id: pst-news15.tex 161 2015-07-25 17:43:11Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \listfiles @@ -56,6 +56,32 @@ packages to paste PostScript code before and after the macros. \end{pspicture} \end{LTXexample} +\subsection{Background color} +There is now the optional argument \Lkeyword{bgcolor} (backgound color), +which is only valid for the background +of the environment \Lenv{pspicture} with its defined coordinates. +Internally it uses the macro \Lcs{psframe*}: + +\begin{LTXexample}[pos=t] +\begin{pspicture*}[bgcolor=black!20](-12,-5)(-2,5) +\psset{viewpoint=6 -50 0 rtp2xyz,Decran=4,lightsrc=viewpoint} +\defFunction[algebraic]{torus}(u,v) + {2*(1+ 0.5*cos(u))*cos(v)}% x=f(u,v) + {2*(1+ 0.5*cos(u))*sin(v)}% y=f(u,v) + {2*0.5*sin(u)}% z=f(u) +\psSolid[object=surfaceparametree, + precode=/n1 48 def /n2 90 def /n1n2 n1 n2 mul 2 mul 1 sub def /iS 0 def, + base=0 2 pi mul 0 pi 1.5 mul , + fcol=0 2 n1 2 sub {/i exch def + i n2 mul 2 i n2 mul n2 add 1 sub {(Black)} for} for + 1 2 n1 1 sub {/i exch def i n2 mul 1 add 2 i n2 mul n2 add 1 sub {(Black)} for} for, + fillcolor=white,incolor=yellow!50, + function=torus, + linewidth=0.5\pslinewidth,unit=5,ngrid=n1 n2] +\end{pspicture*} +\end{LTXexample} + + \clearpage \nocite{*} -- cgit v1.2.3