summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-graphics-companion/9-2-9.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-graphics-companion/9-2-9.ltx')
-rw-r--r--Master/texmf-dist/doc/latex/latex-graphics-companion/9-2-9.ltx23
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-graphics-companion/9-2-9.ltx b/Master/texmf-dist/doc/latex/latex-graphics-companion/9-2-9.ltx
new file mode 100644
index 00000000000..cc6d107c889
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-graphics-companion/9-2-9.ltx
@@ -0,0 +1,23 @@
+\documentclass{ppex}
+\nonstopmode
+\usepackage {ifthen,color}
+\pagestyle{empty}
+
+\begin{document}
+\ResetPreambleCommands
+\ReadyForTheFray
+\usepackage {ifthen,color}
+\begin{flushleft}
+\newcounter{Col}
+\setlength{\fboxsep}{2mm}
+\newcommand{\ColBox}[1]{\colorbox[hsb]{.#1,1.,1.}{.#1}}%
+\setcounter{Col}{0}\makebox[18mm][l]{Hue:}%
+\whiledo{\value{Col}<10}{\ColBox{\theCol}\stepcounter{Col}}\\
+\renewcommand{\ColBox}[1]{\colorbox[hsb]{.1,.#1,1.}{.#1}}%
+\setcounter{Col}{0}\makebox[18mm][l]{Saturation:}%
+\whiledo{\value{Col}<10}{\ColBox{\theCol}\stepcounter{Col}}\\
+\renewcommand{\ColBox}[1]{\colorbox[hsb]{1.,1.,.#1}{.#1}}%
+\setcounter{Col}{0}\makebox[18mm][l]{Brightness:}%
+\whiledo{\value{Col}<10}{\ColBox{\theCol}\stepcounter{Col}}\\
+\end{flushleft}
+\end{document}