summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pstricks/pst-node.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pstricks/pst-node.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pstricks/pst-node.tex50
1 files changed, 27 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/generic/pstricks/pst-node.tex b/Master/texmf-dist/tex/generic/pstricks/pst-node.tex
index 234e94e642e..30fc49962e6 100644
--- a/Master/texmf-dist/tex/generic/pstricks/pst-node.tex
+++ b/Master/texmf-dist/tex/generic/pstricks/pst-node.tex
@@ -16,7 +16,7 @@
\message{ v\fileversion, \filedate}
\csname PSTnodesLoaded\endcsname
\let\PSTnodesLoaded\endinput
-\ifx\PSTricksLoaded\endinput\else\input pstricks.tex\fi\relax
+\ifx\PSTricksLoaded\endinput\else\input pstricks.tex \fi\relax
\edef\TheAtCode{\the\catcode`\@}
\catcode`\@=11
\pstheader{pst-node.pro}
@@ -64,35 +64,39 @@ end}%
\advance\pst@dimg-\dp\pst@hbox
\divide\pst@dimg2
\lower\pst@dimg}
+%
\def\tx@InitPnode{InitPnode }
\def\pnode{\@ifnextchar({\pnode@}{\pnode@(0,0)}}
\def\pnode@(#1)#2{%
-\pst@@getcoor{#1}%
-\pst@newnode{#2}{10}{\pst@coor}{\tx@InitPnode}%
-\ignorespaces}
+ \pst@@getcoor{#1}%
+ \pst@newnode{#2}{10}{\pst@coor}{\tx@InitPnode}%
+ \ignorespaces}
+%
\def\tx@InitCnode{InitCnode }
\def\cnode{\pst@object{cnode}}
\def\cnode@i{\@ifnextchar({\cnode@ii}{\cnode@ii(0,0)}}
\def\cnode@ii(#1)#2#3{%
-\leavevmode
-\hbox{%
-\use@par
-\pst@@getcoor{#1}%
-\pssetlength\pst@dimc{#2}%
-\pst@dimg=\psk@dimen\pslinewidth
-\advance\pst@dimc-\pst@dimg
-\advance\pst@dimc.5\pslinewidth
-\ifnodealign
-\kern\pst@dimc
-\vrule width\z@ height \pst@dimc depth \pst@dimc
-\fi
-\pscircle@do(#1){#2}%
-\pst@newnode{#3}{11}{\pst@coor \pst@number\pst@dimc}{\tx@InitCnode}%
-% DG/SR modification begin - Jul. 30, 1997 - Patch 2
-%\ifnodealign \kern\pst@dimc\egroup \fi}%
-\ifnodealign\kern\pst@dimc\fi}%
-% DG/SR modification end
-\ignorespaces}
+ \leavevmode
+ \hbox{%
+ \use@par
+ \pst@@getcoor{#1}%
+ \pssetlength\pst@dimc{#2}%
+ \pst@dimg=\psk@dimen\pslinewidth
+ \advance\pst@dimc-\pst@dimg
+ \advance\pst@dimc.5\pslinewidth
+ \ifnodealign
+ \kern\pst@dimc
+ \vrule width\z@ height \pst@dimc depth \pst@dimc
+ \fi
+ \pscircle@do(#1){#2}%
+ \pst@newnode{#3}{11}{\pst@coor \pst@number\pst@dimc}{\tx@InitCnode}%
+%% % DG/SR modification begin - Jul. 30, 1997 - Patch 2
+%% %\ifnodealign \kern\pst@dimc\egroup \fi}%
+ \ifnodealign\kern\pst@dimc\fi%
+%% % DG/SR modification end
+ }%
+ \ignorespaces}
+%
\def\Cnode{\pst@object{Cnode}}
\def\Cnode@i{\@ifnextchar({\Cnode@ii}{\Cnode@ii(0,0)}}
\def\Cnode@ii(#1)#2{\cnode@ii(#1){\psk@radius}{#2}}%