summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex9
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex b/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex
index 269ac5a0995..be3f7a11758 100644
--- a/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex
@@ -1,4 +1,4 @@
-%% $Id: pst-node-doc.tex 703 2012-09-15 18:54:16Z herbert $
+%% $Id: pst-node-doc.tex 707 2012-09-21 14:17:30Z herbert $
\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,oneside]{pst-doc}
\listfiles
@@ -1586,14 +1586,15 @@ using the macro \Lcs{psGetNodeCenter}.
\end{LTXexample}
-The coordinates of the nodes are also saved in user coordinates in global defined names
+The coordinates of the nodes can also be saved with \Lkeyset{saveNodeCoors=true} in global defined names
\texttt{N-<name>.x} and \texttt{N-<name>.y}. The forgoing examples can be simplified if you
do not need the resetting of the transformation matrix:
\begin{LTXexample}[width=5cm]
-\begin{pspicture}[showgrid=true,arrowscale=2](5,5)
+\begin{pspicture}[showgrid,arrowscale=2,
+ saveNodeCoors](5,5)
\pnode(4.5,0.5){MyNode}
\psdot(MyNode)
\pnode(! N-MyNode.x 4 sub N-MyNode.y 4 add){MySecondNode}
@@ -1608,7 +1609,7 @@ In the following example it doesn't work because the relative node setting via \
is not taken into account.
\begin{LTXexample}[width=5cm]
-\begin{pspicture}[showgrid=true](5,5)
+\begin{pspicture}[showgrid,saveNodeCoors](5,5)
\rput(1.5,0.5){\trinode{CN}{NodeA}}
\rput(3.5,2.5){\trinode{EN}{NodeB}}
\pnode(! N-CN.x 2 add N-CN.y 1 add ){MyCNode}