File: 9-2-9.ltx

package info (click to toggle)
texlive-doc 2007.dfsg.2-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 129,872 kB
  • ctags: 3,330
  • sloc: xml: 23,147; perl: 8,370; makefile: 843; sh: 352; lisp: 276; java: 159; python: 97; 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}