[pstricks] Questions about pst-node

Martin Chicoine martin.chicoine at umontreal.ca
Mon May 10 15:32:18 CEST 2010


> 
> \documentclass{article}
> \usepackage{pst-node}
> 
> \begin{document}
> 
> \psset{arrowscale=2}
> \newcommand{\cadre}[1]{\fcolorbox{black}{cyan}{\parbox{6cm}{\centering
> #1}}}
> 
> \psmatrix[colsep=1.5cm,rowsep=1cm]
>   \psframe[fillstyle=solid,fillcolor=lightgray](-3.5,0)(3.5,-7.8) \\
>    Title & \\
>   \cadre{Box 1\\ (B1)} & \\
>   \cadre{Box 2\\ (B2)} & [mnode=r]
>     \rput[b]{-90}{\colorbox{lightgray}{Wide Gray Common Box 1}} \\
>   \cadre{Box 3\\ (B3)} & \\
>   \cadre{Box 4\\ (B4)} & \\
> \endpsmatrix
> \ncline{->}{3,1}{4,1}
> \ncline{->}{4,1}{5,1}
> \ncline{->}{5,1}{6,1}
> \ncline{<-}{3,1}{3,2}
> \ncline{<-}{4,1}{4,2}
> \ncline{<-}{5,1}{5,2}
> 
> \end{document}
> 

Great, thanks to all for the help.



More information about the PSTricks mailing list