summaryrefslogtreecommitdiff
path: root/info/examples/tlc2/5-9-6.ltx
blob: ba70fecc7ba208e34569b65d863367809c2e96dc (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
%%
%% The LaTeX Companion, 2ed (second printing August 2004)
%%
%% Example 5-9-6 on page 282.
%%
%% Copyright (C) 2004 Frank Mittelbach, Michel Goossens,
%%    Johannes Braams, David Carlisle, and Chris Rowley
%%
%% 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.
%%

\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{348.0pt}
\StartShownPreambleCommands
\usepackage{array,tabularx,multirow}
\StopShownPreambleCommands
\begin{document}
\newlength\Tl \settowidth{\Tl}{Prefix} \setlength\tabcolsep{1mm}
\newcommand\T[1]{$10^{#1}$}
\begin{tabularx}{\linewidth}{|l|l|*{10}{>{\small}X|}} \hline
\multicolumn{12}{|c|}{\textbf{Prefixes used in the SI system of units}}\\\hline
\multicolumn{2}{|c|}{Factor} &
\T{24}&\T{21}&\T{18}&\T{15}&\T{12}&\T{9}&\T{6}&\T{3}&\T{2}&\T{ }\\\cline{1-2}
\multirow{2}{\Tl}{Prefix}&Name   &
yotta  &zetta  &exa  &peta   &tera   &giga  &mega  &kilo  &hecto &deca \\
                     &Symbol &
\empty
Y      &Z      &E    &P      &T      &G     &M     &k     &h     &da   \\\hline
\multirow{2}{\Tl}{Prefix}&Symbol &
y      &z      &a    &f      &p      &n     &$\mu$ &m     &c     &d    \\
                     &Name   &
yocto  &zepto  &atto &femto  &pico   &nano  &micro &milli &centi &deci \\\cline{1-2}
\multicolumn{2}{|c|}{Factor} &
\T{-24}&\T{-21}&\T{-18}&\T{-15}&\T{-12}&\T{-9}&\T{-6}&\T{-3}&\T{-2}&\T{-1}\\\hline
\end{tabularx}
\end{document}