summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tabulars-e/05-05-2.ltx
blob: 8c07cdc8f6cc58afb2a7ac3fcc6ddfdef923b1d8 (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
%% 
%%  A DANTE-Edition example
%% 
%%  Example 05-05-2 on page 174.
%% 
%%  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}

\usepackage{dcolumn}
\makeatletter \newcolumntype{.}{D{.}{.}{-1}} \newcolumntype{a}{.<{+6240}}
\newcolumntype{b}{>{\DC@{.}{.}{-1}}c<{\DC@end+6240}}
\newcolumntype{B}{>{\DC@{.}{.}{-1}}c<{\DC@end+25530}}
\newcommand\interval[1]{\multicolumn{1}{c}{#1}}  \makeatother

\begin{document}
\begin{tabular}{@{}la..bB@{}}
 \interval{S1}&\interval{S2}&\interval{S3}&\interval{S4}&\interval{S5}&\interval{S6}\\
 99.0\,\% & 14.40& 438& 5256& 375.60&182.70\\99.9\,\% & 1.59& 44 & 526 & 37.60&18.30\\
 99.99\,\%&  0.15& 4.4& 0.53& 3.76 & 1.83
\end{tabular}
\end{document}