diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/tabulars-e/02-26-6.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/tabulars-e/02-26-6.ltx | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tabulars-e/02-26-6.ltx b/Master/texmf-dist/doc/latex/tabulars-e/02-26-6.ltx new file mode 100644 index 00000000000..04544f0d938 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/02-26-6.ltx @@ -0,0 +1,35 @@ +%% +%% A DANTE-Edition example +%% +%% Example 02-26-6 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-alignment=center] + 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} |