[pstricks] Surround with oval box

David Arnold dwarnold45 at suddenlink.net
Fri Mar 6 08:44:22 CET 2009


All,

I'm trying to emulate the dice example to surround the 3 boxes in the  
first column with an oval, but as you can see in this example, I'm off.

\documentclass{article}

\usepackage{pstricks}
\usepackage{pstricks-add}
\include{pst-func}
\begin{document}

\begin{center}
\begin{pspicture}(-1,-1)(8,8)
\multido{\iA=1+1}{4}{%
	\multido{\iB=1+1}{3}{%
		\rput(! \iA\space 7 \iB\space sub){%
			\rnode[c]{p\iA\iB}{\psframe[unit=0.75](0,0)(0.75,0.75)}}}}
\ncbox[linearc=0.35,nodesep=0.2,linecolor=blue]{p11}{p13}
\end{pspicture}
\end{center}


\end{document}

Any suggestions?

Thanks

David.


More information about the PSTricks mailing list