[pstricks] Dice Example

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Mar 6 07:59:09 CET 2009


David Arnold schrieb:
> Looks like I need pst-func, but when I include it with:
> 
> \documentclass{article}
> 
> \usepackage{pstricks}
> \usepackage{pstricks-add}
> \include{pst-func}
> 
> 
> \begin{document}
> 
> \begin{center}
> \begin{pspicture}(-1,-1)(8,8)
> \multido{\iA=1+1}{6}{%
> 	\rput(\iA,7.5){\psdice[unit=0.75,linecolor=red!90]{\iA}}
> 	\rput(! -0.5 7 \iA\space sub){\Huge\psdice[unit=0.75,linecolor=blue! 
> 70]{\iA}}
> 	\multido{\iB=1+1}{6}{%
> 		\rput(! \iA\space u \iB\space sub){%

what is u here? It is undefined

> 			\rnode[c]{p\\iA\iB}{\makebox[1em][l]{\strut\psPrintValue 

should be \rnode[c]{p\iA\iB ... , no double backslash

Herbert


More information about the PSTricks mailing list