summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks/voss/bsp22.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks/voss/bsp22.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/voss/bsp22.tex24
1 files changed, 24 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/voss/bsp22.tex b/Master/texmf-dist/doc/generic/pstricks/voss/bsp22.tex
new file mode 100644
index 00000000000..fa042e34ca6
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pstricks/voss/bsp22.tex
@@ -0,0 +1,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}
+
+