<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example D-11-1 on page .
%% 
%%  Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss 
%% 
%%  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.
%% 

\documentclass{ttctexaplate}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{413.44133pt}
\StartShownPreambleCommands


\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amssymb}
\setlength\parindent{0pt}
\usepackage[dvipsnames]{xcolor}
\setlength\textheight{1000pt}

\StopShownPreambleCommands
\begin{document}
\newcommand\FCbox[2]{\fcolorbox{black}{#1}{%
  \color{#2}{\raisebox{-3pt}{\huge$\blacklozenge$} \parbox{2.005cm}{\raggedright\bfseries\small
    The \LaTeX{} Graphics Companion%, 2\textsuperscript{nd} edition
}}}
  \ \tabular{@{}l}\sffamily \MakeUppercase #1\\\hline\sffamily \MakeUppercase #2\endtabular\quad}
\newcommand\Cbox[2]{\colorbox{#1}{%
  \color{#2}{\raisebox{-3pt}{\huge$\blacklozenge$} \parbox{2.005cm}{\raggedright\bfseries\small
    The \LaTeX{} Graphics Companion%, 2\textsuperscript{nd} edition
}}}
  \ \tabular{@{}l}\sffamily \MakeUppercase #1\\\hline\sffamily \MakeUppercase #2\endtabular\quad}

\setlength\fboxsep{4pt}

% background foreground
\begin{tabular}{lll}
\FCbox{white}{black} &amp; \Cbox{Orange}{black} &amp; \Cbox{red}{white}\\
\noalign{\vskip 16pt}
\Cbox{yellow}{black} &amp; \Cbox{red}{black}    &amp; \Cbox{black}{red}\\
\noalign{\vskip 16pt}
\Cbox{black}{yellow} &amp; \Cbox{black}{Orange} &amp; \Cbox{Orange}{white}\\
\noalign{\vskip 16pt}
\FCbox{white}{green} &amp; \Cbox{blue}{yellow}  &amp; \Cbox{green}{black}\\
\noalign{\vskip 16pt}
\FCbox{white}{red}   &amp; \Cbox{green}{white}  &amp; \FCbox{white}{Orange}\\
\noalign{\vskip 16pt}
\Cbox{blue}{white}   &amp; \Cbox{red}{black}    &amp; \Cbox{blue}{Orange}\\
\noalign{\vskip 16pt}
\Cbox{yellow}{blue}  &amp; \Cbox{Orange}{blue}  &amp; \Cbox{yellow}{Orange}\\
\noalign{\vskip 16pt}
\FCbox{white}{blue}  &amp; \Cbox{green}{yellow} &amp; \Cbox{Orange}{red}\\
\noalign{\vskip 16pt}
\Cbox{black}{white}  &amp; \Cbox{red}{blue}     &amp; \Cbox{green}{red}\\
\noalign{\vskip 16pt}
\Cbox{yellow}{green} &amp; \Cbox{red}{yellow}   &amp; \Cbox{Orange}{green}
\end{tabular}
\end{document}
</pre></body></html>