## Tables

Tables are defined with the tabular environment. It has an argument that specifies the number of columns and their formatting. In the simplest case it contains a letter for each column, specifying the alignment as

 l left-aligned r right-aligned c centered

A table with 3 columns, first one centered, the other two right-aligned:

\begin{tabular}{crr}

The body of the table is given by a line of rows, seperated by \\. Each row contains an item for each column, separated by &.

The simple table above, defining the alignment letters, was produced with:

\begin{tabular}{ll}
l  &   left-aligned \\
r  &   right-aligned \\
c  &   centered
\end{tabular}

Peter Junglas 15.5.2000