computersci.org
Print     Recent Changes     Search    
Home




LaTeX Reference Manual


Float Environments

« Environments | Table of Contents | List Environments »


figure Environment

      \begin{figure}[placement]

       body of the figure

      \caption{figure title}
      \end{figure}

Figures are objects that are not part of the normal text, and are usually “floated” to a convenient place, like the top of a page. Figures will not be split between two pages.

The optional argument [placement] determines where LaTeX will try to place your figure. There are four places where La Te X can possibly put a float:

h (Here) - at the position in the text where the figure 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 figure is made up of whatever text, LaTeX commands, etc. you wish. The \caption command allows you to title your figure.

table Environment

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

« Environments | Table of Contents | List Environments »

Page last modified on February 24, 2009, at 11:26 AM