summaryrefslogtreecommitdiff
path: root/info/examples/tabulars-e/06-00-3.ltx
blob: a148ce96ac430ac4d20d51e9530d0e58497b2518 (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
49
50
51
52
53
54
%% 
%%  A DANTE-Edition example
%% 
%%  Example 06-00-3 on page 180.
%% 
%%  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{375.57637pt}
\setlength\parindent{0pt}
\usepackage[utf8]{inputenc}

\usepackage{array,booktabs}
\newcounter{Platz}

\begin{document}
\begin{tabular}{@{}>{\ifnum\thePlatz>0 \thePlatz.\fi}r
  l rrr c@{ :}c c<{\stepcounter{Platz}} @{}}\\\toprule
\multicolumn{8}{c}{%
   \bfseries\rule[-2ex]{0pt}{5ex}German football league 1986/87.}\\ \midrule
\multicolumn{1}{@{}c}{}
 & club               &  S &  U &  N &\multicolumn{2}{c}{points}& comment\\\toprule
 & Bayern München     & 20 & 13 &  1 & 53 & 15 & champion\\
 & Hamburger SV       & 19 &  9 &  6 & 47 & 21 & cup winner\\
 & Bor. M'Gladbach    & 18 &  7 &  9 & 43 & 21 & starter\\
 & Bor. Dortmund      & 15 & 10 &  9 & 40 & 28 & in the\\
 & Werder Bremen      & 17 &  6 & 11 & 40 & 28 & UEFA cup\\
 & Bayer Leverkusen   & 16 &  7 & 11 & 39 & 29 & cup\\\midrule
 & 1.FC Kaiserslautern& 15 &  7 & 12 & 37 & 31 & \\
 & Bayer Uerdingen    & 12 & 11 & 11 & 35 & 33 & \\
 & 1.FC Nürnberg      & 12 & 11 & 11 & 35 & 33 & \\
 & 1.FC Köln          & 13 &  9 & 12 & 35 & 33 & \\
 & VfL Bochum         &  9 & 14 & 11 & 32 & 36 & mid field\\
 & VfB Stuttgart      & 13 &  6 & 15 & 32 & 36 & \\
 & Schalke 04         & 12 &  8 & 14 & 32 & 36 & \\
 & Waldhof Mannheim   & 10 &  8 & 16 & 28 & 40 & \\
 & Eintracht Frankfurt&  8 &  9 & 17 & 25 & 43 & \\\midrule
 & FC Homburg         &  6 &  9 & 19 & 21 & 47 & rel. St.Pauli\\\midrule
 & Fortuna Düsseldorf &  7 &  6 & 21 & 20 & 48 & \\
 & BW 90 Berlin       &  3 & 12 & 19 & 18 & 50
    & \raisebox{1.5ex}[-1.5ex]{relegated}\\\bottomrule
\end{tabular}
\end{document}