diff options
author | Karl Berry <karl@freefriends.org> | 2019-01-10 22:17:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-01-10 22:17:50 +0000 |
commit | ebd9d263a09dd6264a8a4e48ce10150789f048af (patch) | |
tree | 9d0dce00aeb5f7535b79ccab8846821d3821e7b9 /Master/texmf-dist/tex/generic | |
parent | 8d656f7b22badc7a1e4e48811521048ef3df7101 (diff) |
pstricks (10jan19)
git-svn-id: svn://tug.org/texlive/trunk@49659 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r-- | Master/texmf-dist/tex/generic/pstricks/pstricks.tex | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex index 141dc02db4d..b29786b503e 100644 --- a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex +++ b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex @@ -1,8 +1,8 @@ -%% $Id: pstricks.tex 887 2018-12-29 13:17:59Z herbert $ +%% $Id: pstricks.tex 895 2019-01-07 17:56:36Z herbert $ %% pstricks.tex -%% COPYRIGHT 1993, 1994, 1999 by Timothy Van Zandt, tvz@nwu.edu. +%% COPYRIGHT 1993, 1994, 1999 by Timothy Van Zandt %% COPYRIGHT 2000-2003 by Denis Girou. -%% Copyright 2004-2019 Herbert Voss +%% Copyright 2004-2019 Herbert Voss <hvoss@tug.org> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -2511,6 +2511,28 @@ \ifshowpoints true \else false \fi } % +\def\psLine{\pst@object{psLine}} +\def\psLine@i{% + \pst@getarrows{% + \begin@OpenObj + \psLine@ii}} +\def\psLine@ii(#1){\@ifnextchar({\psLine@iii(#1)}{\psLine@iii(0,0)(#1)}}% +\def\psLine@iii(#1)(#2){% + \pst@getcoor{#1}\pst@tempA + \pst@getcoor{#2}\pst@tempB + \addto@pscode{ + \ifPst@noCurrentPoint\else\pst@cp\fi % current point? + [ % start for coordinate array + \pst@tempB + \pst@tempA % order vice versa + 4 copy Pyth2 \psk@arrowlength ge + { \psline@iii \tx@Line } + { pop pop pop pop pop } ifelse + }% + \end@OpenObj +} + +% \def\pst@isnum#1{\pst@isnum@i\zap@space#1 \@empty\@nil}% \def\pst@isnum@i#1\@nil{% \if!\ifnum9<1#1!\else_\fi% |