summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/tlc2/5-9-5.ltx
blob: 1f9aacfee041c15afa212628175d36fc604dde0d (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
37
38
39
40
41
42
43
44
45
46
47
48
%%
%% The LaTeX Companion, 2ed (second printing August 2004)
%%
%% Example 5-9-5 on page 282.
%%
%% 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{279.0pt}
\StartShownPreambleCommands
\usepackage{array}
\setlength\extratabsurround{5pt}
\StopShownPreambleCommands
\begin{document}
\begin{tabular}{|cc|}                                               \hline
\emph{name} & \emph{telephone}                              \\\hline\hline
    John & \begin{tabular}[t]{|cc|}                            \firsthline
             \emph{day} & \multicolumn{1}{c|}{\itshape telephone}
                                                            \\\hline\hline
             Wed & 5554434                                        \\\hline
             Mon &  \begin{tabular}[t]{|cc|}                   \firsthline
                     \emph{time} & \emph{telephone}         \\\hline\hline
                     8--10 & 5520104 \\ 1--5 & 2425588        \\\lasthline
                    \end{tabular}                             \\\lasthline
           \end{tabular}                                          \\\hline
Martin   & \begin{tabular}[t]{|cp{4.5cm}|}                     \firsthline
            \emph{telephone} & \multicolumn{1}{c|}{\itshape instructions}
                                                            \\\hline\hline
            3356677 & Mary should answer forwarded message.   \\\lasthline
           \end{tabular}                                          \\\hline
 Peter   & \begin{tabular}[t]{|cl|}                            \firsthline
            \emph{month} &\multicolumn{1}{c|}{\itshape telephone}
                                                            \\\hline\hline
            Sep--May & 5554434  \\  Jun &  No telephone  \\
            Jul--Aug & 2211456  \\                              \lasthline
           \end{tabular}                                          \\\hline
\end{tabular}
\end{document}