summaryrefslogtreecommitdiff
path: root/info/examples/tabulars-e/02-11-12.ltx
blob: e5341f510f35d6f8e65fba5617160803fb40f0f7 (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
%% 
%%  A DANTE-Edition example
%% 
%%  Example 02-11-12 on page 71.
%% 
%%  Copyright (C) 2010 Herbert Voss
%% 
%%  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.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
\documentclass[]{article}
\pagestyle{empty}
\setlength\textwidth{201.70511pt}
\setlength\parindent{0pt}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}

\usepackage{booktabs,multirow,makecell}
\renewcommand\theadfont{\itshape\footnotesize}

\begin{document}
\begin{tabular}{@{}llr@{--}rrlr@{--}rrl@{}}\toprule
  & \multicolumn{8}{l}{\thead{to convert}} & \\\cmidrule(lr){2-9}
  & \multicolumn{4}{l}{\thead{from frequencies in the}}
  & \multicolumn{4}{l}{\thead{to frequencies in the}}\\
                                    \cmidrule(lr){2-5}\cmidrule(lr){6-9}
 \thead[b]{type} & \thead[t]{television\\range} & \multicolumn{2}{l}{\thead{channel}}
  & \thead{MHz} & \thead[t]{television\\range} & \multicolumn{2}{l}{\thead{channel}}
  & \thead{MHz} & \thead[t]{configuration}\\\cmidrule(r){1-1}\cmidrule(lr){2-2}
     \cmidrule(lr){3-4}\cmidrule(lr){5-5}\cmidrule(lr){6-6}\cmidrule(lr){7-8}
     \cmidrule(lr){9-9}\cmidrule(l){10-10}
  SAFE 381 WK & F I   &  2 &  4 & 174 & F III & 5 & 12 & 174 & DO \\
  SAFE 382 WK & F II  &  5 & 12 &  68 & F I   & 2 &  4 &  47 & DO \\
  SAFE 383 WK & F III & 21 & 38 & 174 & F III & 5 & 12 & 174 & ES \\
  SAFE 384 WK & F IV  & 42 & 48 &  47 & F III & 5 & 12 & 174 & ET \\\bottomrule
\end{tabular}
\end{document}