summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tabulars-e/02-26-7.ltx
blob: 61c4a12b63234ade2f5e934d18cc99346e10d41d (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
%% 
%%  A DANTE-Edition example
%% 
%%  Example 02-26-7 on page 106.
%% 
%%  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{153.70511pt}
\usepackage[utf8]{inputenc}

\usepackage{siunitx} \usepackage{booktabs}

\begin{document}
\begin{tabular}{S[table-format=1.2e-1,
                  table-number-alignment=center]@{\kern5pt}
                s[table-unit-alignment=left]}\toprule
{\emph{value}} & \emph{unit}\\\midrule
2.16e-5 & \metre\squared\per\second   \\
2.83e-6 & \metre\squared\per\second   \\
7.39e3  & \pascal\cubic\metre\per\mole\\
1.0e5   & \pascal                     \\\bottomrule
\end{tabular}
\end{document}