diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/tlc2/5-9-5.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/tlc2/5-9-5.ltx | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tlc2/5-9-5.ltx b/Master/texmf-dist/doc/latex/tlc2/5-9-5.ltx new file mode 100644 index 00000000000..1f9aacfee04 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tlc2/5-9-5.ltx @@ -0,0 +1,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} |