# Table always goes to bottom of document? [duplicate]

Possible Duplicate:
How to fix table position

I'm defining a table in my document like so...

\begin{table}
\caption{my table}
\centering

\begin{tabular}{c llll c c c c}
\hline
Stuff & \multicolumn {1}{ c }{  } & more Stuff
\end{tabular}
\label{table:nonlin}
\end{table}


The table itself is pretty big, takes up almost the entire page. I'm creating it between two blocks of text however when compiled into a pdf it appears to just "float" to the bottom of the document. Why is this happening? How do I correct it?

-

## marked as duplicate by doncherry, Seamus, lockstep, Joseph Wright♦Nov 11 '11 at 16:08

The environment table is supposed to float so it's working as intended. Actually it's often a good practice to let LaTeX place the floats.

To control the placement of the table you can provide the environment with options. For example you can use the option htbp as in

\begin{table}[htbp]
...
\end{table}

-
[htp] or [htbp], not [h] only. –  egreg Nov 5 '11 at 13:54
@egreg Oops! Fixed. –  N.N. Nov 5 '11 at 13:59
Actually LaTeX always adds tp (but not b); adding the options avoids the warning. –  egreg Nov 5 '11 at 14:01
Adding ! in front of the h (ie [!htp]) can try and overule LaTeX as to where the best placement for the table is. –  drezha Nov 5 '11 at 15:39
@drezha: The float package provides the H specifier for overriding float placement to Here. –  Werner Nov 5 '11 at 15:50