\begin{table}[placement] body of the table \caption{table title} \end{table}
Tables are objects that are not part of the normal text, and are usually "floated" to a convenient place, like the top of a page. Tables will not be split between two pages.
The optional argument [placement]
determines where LaTeX will try
to place your table. There are four places where LaTeX can possibly put
a float:
h
: Here - at the position in the text where the table
environment appears.
t
: Top - at the top of a text page.
b
: Bottom - at the bottom of a text page.
p
: Page of floats - on a separate float page, which is a page
containing no text, only floats.
The standard report
and article
classes use the default
placement [tbp]
.
The body of the table is made up of whatever text, LaTeX commands, etc.,
you wish. The \caption
command allows you to title your table.