summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-tabellen/06-00-31.ltx
blob: 82001d4cd7ea207379f0d14d64b9afdb543d6e34 (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
%% 
%%  A DANTE-Edition example
%% 
%%  Beispiel 06-00-31 auf Seite 195.
%% 
%%  Copyright (C) 2010 H. 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.
%% 

%%Run also: >>  << 
% Show page(s) 1

\documentclass[]{article}
\pagestyle{empty}
\setlength\textwidth{170.59192pt}
\setlength\parindent{0pt}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}

\usepackage{array,booktabs,ragged2e}
\def\xstrut{\rule{0pt}{3ex}}
\newcolumntype{P}[1]{>{\RaggedRight}p{#1}}

\begin{document}
\begin{tabular}{@{}ccc@{\qquad}rrrr@{}}\toprule
\multicolumn{1}{@{}P{1.25cm}}{Tipo de avi\'on}
 & \multicolumn{1}{P{1.75cm}}{Capacidad (pasajeros)}
 & \multicolumn{1}{P{1.75cm}}{N\'umero de aviones}
 & \multicolumn{4}{@{}p{4cm}@{}}{%
           \xstrut N\'umero de viajes diarios en la ruta}\\\cmidrule{4-7}
\xstrut &     &    & 1  & 2 & 3 & 4 \\\midrule
   1    & 50  & 5  & 3  & 2 & 2 & 1 \\
   2    & 30  & 8  & 4  & 3 & 3 & 2 \\
   3    & 20  & 10 & 5  & 5 & 4 & 2 \\ \midrule
   4    & 10  & 18 & 3  & 1 & -- & 1 \\
   5    & 5   & 8  & 2  & 1 & -- & 6 \\
   6    & 1   & 80 & 6  & 5 & 12 & 4 \\\midrule
\multicolumn{3}{@{}l}{N\'umero de clientes diarios}
   & 1000 & 2000 & 900 & 1200 \\\bottomrule
\end{tabular}
\end{document}