summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/11-3-4.ltx
blob: 3076ab2e0fead2b1bd88718c99718d1bae67cd52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
%% 
%%  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}