vendredi 21 août 2009

Latex 调整表格位置

table

\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.

Note that there is an *-form: \begin{table*} ... \end{table*}. This form will put the table in a single column when in two column mode; in one column mode it is identical to the non-* form

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 styles 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.

Aucun commentaire:

Enregistrer un commentaire