\begin{tabular}[pos]{cols} column 1 entry & column 2 entry ... & column n entry \\ . . . \end{tabular}
or
\begin{tabular*}{width}[pos]{cols} column 1 entry & column 2 entry ... & column n entry \\ . . . \end{tabular*}
These environments produce a box consisting of a sequence of rows of items, aligned vertically in columns. The mandatory and optional arguments consist of:
width
tabular*
environment. There must be
rubber space between columns that can stretch to fill out the specified
width.
pos
t
- align on top row
b
- align on bottom row
cols
l
- A column of left-aligned items.
r
- A column of right-aligned items.
c
- A column of centred items.
|
- A vertical line the full height and depth of the environment.
@{text}
- This inserts text
in every row. An @-expression
suppresses the intercolumn space normally inserted between columns; any
desired space between the inserted text and the adjacent items must be
included in text. An \extracolsep{wd}
command in an
@-expression causes an extra space of width wd
to appear to the
left of all subsequent columns, until countermanded by another
\extracolsep
command. Unlike ordinary intercolumn space, this
extra space is not suppressed by an @-expression. An
\extracolsep
command can be used only in an @-expression in the
cols
argument.
p{wd}
- Produces a column with each item typeset in a parbox of
width wd
, as if it were the argument of a \parbox[t]{wd}
command. However, a \\
may not appear in the item, except in the
following situations:
minipage
, array
, or tabular
.
\parbox
.
\centering
, \raggedright
, or \raggedleft
declaration. The latter declarations must appear inside braces or an
environment when used in a p
-column element.
*{num}{cols}
- Equivalent to num
copies of
cols
, where num
is any positive integer and cols
is
any list of column-specifiers, which may contain another
*-expression
.