[pstricks] A polygonal node
Boris Veytsman
borisv at lk.net
Fri Apr 28 22:54:45 CEST 2006
HV> Date: Fri, 28 Apr 2006 22:43:05 +0200
HV> From: Herbert Voss <LaTeX at zedat.fu-berlin.de>
HV> give a working minimal example of what you did.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\simplenode#1{
\rnode{#1}{%
\pspicture[shift=-0.25](-0.25,-0.25)(0.25,0.25)%
\pspolygon(0,0.25)(0.25,0)(0,-0.25)(-0.25,0)%
\endpspicture}}
\begin{pspicture}(6,6)
\rput(3,3){\simplenode{A}}
\rput(4,2){\simplenode{B}}
\rput(3,1){\simplenode{C}}
\ncline{A}{B}
\ncline{A}{C}
\end{pspicture}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I want the line between A and B to stop at the border (diamond), like
the line between A and C
--
Good luck
-Boris
All generalizations are false, including this one.
-- Mark Twain
More information about the PSTricks
mailing list