%% %% An UIT Edition example %% %% Example 05-00-1 on page 71. %% %% Copyright (C) 2010 Herbert Voss %% %% It may be distributed and/or modified under the conditions %% of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% %% See http://www.latex-project.org/lppl.txt for details. %% %% %% ==== % Show page(s) 1 %% \documentclass[]{exaarticle} \pagestyle{empty} \setlength\textwidth{129.70511pt} \setlength\parindent{0pt} \StartShownPreambleCommands \usepackage{xcolor} \StopShownPreambleCommands \begin{document} \colorbox{red}{red} \\ \colorbox{red!75}{red!75}\\ \colorbox{red!75!blue!100}{\color{white}red!75!blue!100}\\ \colorbox{red!75!blue!40}{red!75!blue!40} \\ \colorbox{red!75!blue!40!yellow!50}% {red!75!blue!40!yellow!50} \\[6pt] % \colorbox{-red}{-red} \\ \colorbox{-red!75}{-red!75} \\ \colorbox{-red!75!blue!100} {-red!75!blue!100} \\ \colorbox{-red!75!blue!40}{\color{white}-red!75!blue!40}\\ \colorbox{-red!75!blue!40!yellow!50}% {\color{white}-red!75!blue!40!yellow!50} \end{document}