[pstricks] putting a box around a pair of nodes

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Fri Mar 26 12:48:49 CET 2004


John Frampton sagte:
>
> I need:
>
>> > Each corner of the box will be a distance 2.5ex from one of the
>> nodes.
>
> So two of the sides of the box will be parallel to the line
> joining the two nodes.  I think this makes it much more difficult.

understood. You can play around with nodesep.

Herbert


\documentclass{article}
\usepackage{pst-node}

\begin{document}

\rput[bl](0,0){\rnode{A}{}}
\rput[tr](3,4){\rnode{B}{}}
\ncbox{A}{B}

\end{document}



-- 
Dr.-Ing Herbert Voss
Herbert.Voss at alumni.TU-Berlin.DE






More information about the PSTricks mailing list