summaryrefslogtreecommitdiff
path: root/info/beginlatex/src/table.tex
blob: c9f199f1ce8192c4f715a434d51df230565bfa5a (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
As an example, a tabular setting with three columns, the first one
centered, the second left-aligned, and the third one right-aligned,
would therefore be specified as \verb+{clr}+, as in the example
below. Note the use of indentation to make the elements of the table
clear for editing, and note also how the typeset formatting is
unaffected by this (see Table~\ref{ye2001exp}).

\begin{table}{clr}
\caption{Project expenditure to year-end 2001}
\label{ye2001exp}
\begin{center}

+---+-----------------------------------+------+
|   |Item                               |Amount|
+---+-----------------------------------+------+
|a) |Salaries (2 research assistants)   |28,000|
+---+-----------------------------------+------+
|   |Conference fees and travel expenses|14,228|
+---+-----------------------------------+------+
|   |Computer equipment (5 workstations)|17,493|
+---+-----------------------------------+------+
|   |Software                           | 3,562|
+---+-----------------------------------+------+
|b) |Rent, light, heat, power, etc      | 1,500|
+---+-----------------------------------+------+
|   |TOTAL                              |64,783|
+---+-----------------------------------+------+

\end{center}
\end{table}