File: 9-2-8.ltx

package info (click to toggle)
texlive-doc 2009-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 192,004 kB
  • ctags: 4,774
  • sloc: perl: 12,760; xml: 11,870; makefile: 1,033; lisp: 394; sh: 229; awk: 205; java: 159; sed: 4
file content (26 lines) | stat: -rw-r--r-- 963 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
24
25
26
\documentclass{ppex}
\nonstopmode
\usepackage {ifthen,color}
\pagestyle{empty}

\begin{document}
\ResetPreambleCommands
\ReadyForTheFray
\usepackage {ifthen,color}
\newcounter{Colr}
\setlength{\fboxsep}{2mm}
\begin{flushleft}
  \newcommand{\CBox}[1]{\colorbox[cmyk]{.#1,0.,0.,0.}{.#1}}
  \makebox[30mm][l]{cyan (C):}%
    \whiledo{\value{Colr}<10}{\CBox{\theColr}\stepcounter{Colr}}\\
  \renewcommand{\CBox}[1]{\colorbox[cmyk]{0.,.#1,0.,0.}{.#1}}
  \setcounter{Colr}{0}\makebox[30mm][l]{magenta (M):}%
    \whiledo{\value{Colr}<10}{\CBox{\theColr}\stepcounter{Colr}}\\
  \renewcommand{\CBox}[1]{\colorbox[cmyk]{0.,0.,.#1,0.}{.#1}}
  \setcounter{Colr}{0}\makebox[30mm][l]{yellow (Y):}%
    \whiledo{\value{Colr}<10}{\CBox{\theColr}\stepcounter{Colr}}\\
  \renewcommand{\CBox}[1]{\colorbox[cmyk]{0.,0.,0.,.#1}{.#1}}
  \setcounter{Colr}{0}\makebox[30mm][l]{black (K):}%
    \whiledo{\value{Colr}<10}{\CBox{\theColr}\stepcounter{Colr}}
\end{flushleft}
\end{document}