[pstricks] node connections between corners of a rectangle
vin gui
vin.gui at laposte.net
Tue Apr 29 14:37:02 CEST 2003
> The straightforward solution here is to use the "ref" parameter (see the
> documentation), which is accessible with \rnode has a special optional
> parameter.
>
> \documentclass[a4paper]{article}
>
> \usepackage{pst-node}
>
> \begin{document}
>
> \rput(0,0){\rnode[br]{node1}{\psframebox{$G_1*G_2$}}}
> \rput(3,-2){\rnode[tl]{node2}{\psframebox{$H$}}}
> \ncline{node1}{node2}
>
> \rput(6,0){\rnode[tl]{node1}{\psframebox{$G_1*G_2$}}}
> \rput(9,-2){\rnode[br]{node2}{\psframebox{$H$}}}
> \ncangles[angleA=90,angleB=0]{node1}{node2}
>
> \end{document}
This is exactly what I was after.
Many thanks !
Sorry for not having noticed it in the doc...
Vincent.
More information about the PSTricks
mailing list