\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}