%% %% The LaTeX Graphics Companion, 2ed (first printing May 2007) %% %% Example 11-3-4 on page 740. %% %% 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{ttctexa} \pagestyle{empty} \setcounter{page}{6} \setlength\textwidth{207.83385pt} \StartShownPreambleCommands \usepackage[table]{xcolor} \setlength{\extrarowheight}{2mm} \StopShownPreambleCommands \begin{document} \rowcolors[\hline]{2}{black!30}{black!10} \begin{tabular}{l c c c c >{\columncolor{blue}}c<{\,\textsterling}} \rowcolor[gray]{0.5} \multicolumn{3}{l}{\textsf{LONDON}} & & & \textsf{Price} \\[1pt] Sydney & OG4G &Thu Oct 10 & Mon Oct 21 or 28 &11 or 18 days &999\\ & &Thu Oct 17 & Mon Oct 21 or 28 & 4 or 11 days &999\\ % \colomcolor ignored everywhere except in the next row: \hiderowcolors &OG7A &Sun Oct 13 & Mon Oct 21 or 28 & 8 or 15 days &999\\ \showrowcolors & &Sun Oct 20 & Mon Oct 28 & 8 days &999\\ \end{tabular} \end{document}