diff options
author | Karl Berry <karl@freefriends.org> | 2012-02-11 00:50:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-02-11 00:50:34 +0000 |
commit | b0eabb6758f016228a73f390ecede6bcf1f0c535 (patch) | |
tree | 0bedeea085c451e03e9ff9225ed40cb2241584ef /Master/texmf-dist/tex/generic/pstricks | |
parent | 31705256b876f83730b07d6ba8dbb46889ffc05c (diff) |
pstricks 2.24 (9feb12)
git-svn-id: svn://tug.org/texlive/trunk@25354 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pstricks')
-rw-r--r-- | Master/texmf-dist/tex/generic/pstricks/pstricks.tex | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex index eb4ff0639cc..23974eed06f 100644 --- a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex +++ b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex @@ -1,7 +1,7 @@ %% pstricks.tex %% COPYRIGHT 1993, 1994, 1999 by Timothy Van Zandt, tvz@nwu.edu. %% COPYRIGHT 2000-2003 by Denis Girou. -%% Copyright 2004-2011 Herbert Voss +%% Copyright 2004-2012 Herbert Voss % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -66,8 +66,8 @@ \ifx\PSTXKeyLoaded\endinput\else \input pst-xkey.tex \fi \ifx\PSTFPloaded\endinput\else \input pst-fp.tex\fi % -\def\fileversion{2.23} -\def\filedate{2011/09/04} +\def\fileversion{2.24} +\def\filedate{2012/02/09} \catcode`\@=11\relax \pst@addfams{pstricks} % @@ -904,7 +904,7 @@ % \def\special@angle#1#2)#3\@nil{% \ifx!#1\relax - \edef\pst@angle{#2 \pst@angleunit}% + \edef\pst@angle{#2\space \pst@angleunit}% \else\ifx(#1\relax \pst@@getcoor{#2}% \edef\pst@angle{\pst@coor exch \tx@Atan}% @@ -2315,7 +2315,8 @@ \psset[pstricks]{symbol=a} % \newdimen\pst@symbolStep -\define@key[psset]{pstricks}{symbolStep}[20pt]{\pssetlength\pst@symbolStep{#1}} +\define@key[psset]{pstricks}{symbolStep}[20pt]{\pst@expandafter\pst@@symbolStep#1\@nil} +\def\pst@@symbolStep#1#2\@nil{\if-#1\pssetlength\pst@symbolStep{-#2pt}\else\pssetlength\pst@symbolStep{#1#2}\fi} \psset[pstricks]{symbolStep=20pt} \newdimen\pst@symbolWidth \define@key[psset]{pstricks}{symbolWidth}[10pt]{\pssetlength\pst@symbolWidth{#1}} @@ -2326,6 +2327,9 @@ \psset[pstricks]{rotateSymbol=false} \define@key[psset]{pstricks}{startAngle}[0]{\pst@getangle{#1}\psk@startAngle} \psset[pstricks]{startAngle=0} +\define@boolkey[psset]{pstricks}[Pst@]{curveticks}[true]{} +\psset[pstricks]{curveticks=false} + % \def\psls@symbol{ /Symbol \psk@symbol def @@ -2337,6 +2341,7 @@ /rotateSymbol \ifPst@rotateSymbol true \else false \fi def /startAngle \psk@startAngle\space def /CorrAngle \ifx\psk@rot\@empty 0 \else \psk@rot \fi def + /curveticks \ifPst@curveticks true \else false \fi def } \def\psls@@symbol{symbol} % |