File: 9-2-9.ltx

package info (click to toggle)
texlive-doc 2012.20120611-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 250,664 kB
  • sloc: xml: 18,901; perl: 13,380; makefile: 931; lisp: 394; sh: 313; awk: 205; java: 159; sed: 4
file content (23 lines) | stat: -rw-r--r-- 763 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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}