diff options
author | Karl Berry <karl@freefriends.org> | 2017-12-30 22:43:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-12-30 22:43:07 +0000 |
commit | df78ede549d02ea12c8c9573da0e4dc2656361f8 (patch) | |
tree | 1154e2e2f79aa687c8453eaf5dbd8e14a654374e /Master/texmf-dist/tex/generic | |
parent | b3f254a8bf1a12b30947d2af108c164fe29e5d1e (diff) |
pst-node (30dec17)
git-svn-id: svn://tug.org/texlive/trunk@46170 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r-- | Master/texmf-dist/tex/generic/pst-node/pst-node.tex | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/pst-node/pst-node.tex b/Master/texmf-dist/tex/generic/pst-node/pst-node.tex index 4b633725c26..43c7b8aa9ee 100644 --- a/Master/texmf-dist/tex/generic/pst-node/pst-node.tex +++ b/Master/texmf-dist/tex/generic/pst-node/pst-node.tex @@ -1,4 +1,4 @@ -% $Id: pst-node.tex 683 2017-12-09 18:52:02Z herbert $ +% $Id: pst-node.tex 696 2017-12-30 19:01:07Z herbert $ %% %% BEGIN pst-node.tex %% @@ -18,8 +18,8 @@ \ifx\PSTricksLoaded\endinput\else\input pstricks.tex \fi\relax \ifx\PSTXKeyLoaded\endinput\else \input pst-xkey \fi % -\def\fileversion{1.40} -\def\filedate{2017/12/09} +\def\fileversion{1.41} +\def\filedate{2017/12/30} \message{ v\fileversion, \filedate} % \edef\TheAtCode{\the\catcode`\@} @@ -1699,6 +1699,17 @@ tx@NodeDict \pst@tempg known \expandafter\psline\@tmp}% \ignorespaces}% % +\def\psnpolygon{\pst@object{psnpolygon}}%polygon of nodes +\def\psnpolygon@i{\pst@getarrows{\psnpolygon@ii}} +\def\psnpolygon@ii(#1,#2)#3{{% +\pst@killglue% +\use@par% +\pst@cnta=#2 \relax\advance\pst@cnta by 1 +\edef\@tmp{}% +\multido{\i=#1+1}{\pst@cnta}{\xdef\@tmp{\@tmp(#3\i)}}% +\expandafter\pspolygon\@tmp}% +\ignorespaces}% +% \def\psncurve{\pst@object{psncurve}}%line of nodes \def\psncurve@i{\pst@getarrows{\psncurve@ii}} \def\psncurve@ii(#1,#2)#3{{% |