summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/rccol/README
blob: ad8ccbcced1a4d0e55b19b7e7ea2888279ec28ea (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
The rccol package for use with TeX / LaTeX
Current Version: 1.2b dated 2004/11/12
Copyright 2000-2004
License: LPPL, see rccol.dtx for more details
Eckhart Guthoehrlein
e-mail <e_w_g@web.de>

The rccol package introduces a new column specifier 'R' for use within
the preamble of a LaTeX package. In 'R' columns, numbers will be
aligned with their corresponding digits, but centered with respect to
the total column width. Furthermore, numbers can be rounded to any
desired precision without changing the input.

Small example:
\begin{tabular}{R{2}{1}R{3}{1}}
   \multicolumn{1}{c}{Title of column 1} &
   \multicolumn{1}{c}{Title of column 2}\tabularnewline
   10.0 &  20  \tabularnewline
    1.7 &   1.7\tabularnewline
   -5   & 133  \tabularnewline
\end{tabular}
will roughly look like:

 Title of column 1  Title of column 2
       10.0                20.0
        1.7                 1.7
       -5.0               133.0