summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks/voss/bsp22.tex
blob: fa042e34ca6dd92487c581ea5cce854e41247c37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
\documentclass{article}
\usepackage{pstricks}
\usepackage{multido}
%
\newcommand{\PstFillBox}[3]{%
  \definecolor{MyColor}{rgb}{#1,#2,#3}%
  \begin{pspicture}(-0.44,-0.47)(0.44,0.47)
    \psframe[fillstyle=solid,%
       fillcolor=MyColor,%
       linecolor=MyColor](-0.5,-0.5)(0.5,0.5)
  \end{pspicture}
}
\parindent=0pt
\pagestyle{empty}

\begin{document}
\multido{\rCountA=0+0.1}{10}{%
  \multido{\rCountB=0+0.1}{10}{%
    \PstFillBox{\rCountA}{\rCountB}{0.75}%
  }\\%
}
\end{document}