[pstricks] Node Coordinates
Douglas Reid
douglas.reid at dunvegan.co.uk
Wed Jun 7 10:53:28 CEST 2006
Thanks, Herbert - that works well!
I need to use the distance between the nodes to define other things within LaTeX.
Can this command be simply modified to get the result back from the PostScript calculation into LaTeX?
i.e, to get the distance into a LaTeX length variable.
%Usage: \setDistance{length}{NodeA}{NodeB}
\def\setDistance ...
...
\newlength{\distanceAB}
\pnode(0,0){A}
\pnode(3,4){B}
\setDistance{\distanceAB}{A}{B}
Douglas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20060607/b3698130/attachment.html
More information about the PSTricks
mailing list