<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%%
%% The LaTeX Companion, 2ed (second printing August 2004)
%%
%% Example 5-5-2 on page 265.
%%
%% Copyright (C) 2004 Frank Mittelbach, Michel Goossens,
%%    Johannes Braams, David Carlisle, and Chris Rowley
%%
%% 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{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{159.0pt}
\StartShownPreambleCommands
\usepackage{colortbl}
\StopShownPreambleCommands
\begin{document}
\begin{tabular}
    {&gt;{\columncolor{blue}\color{white}\bfseries}lr}
\rowcolor[gray]{0.8}
    \color{black} Day &amp; \bfseries Attendance\\[2pt]
Monday&amp;    57 \\  Tuesday&amp;   11 \\
Wednesday&amp; 96 \\  Thursday&amp; 122 \\
Friday&amp;   210 \\  Saturday&amp; 198 \\
Sunday&amp;    40 \\
\cellcolor[gray]{0.8}\color{black}Total&amp; 724
\end{tabular}
\end{document}
</pre></body></html>