Possible Duplicate:
How to influence the position of float environments like figure and table in LaTeX?
I am trying to create a table after some text:
Some text. foobar foobar \\
\begin{table}[t]
\centering
\begin{tabular}{|c|c|c|c|c|c|}
\hline
& a & c & & & \\
\hline
$\{X, X', Y\}$ & & b & & & \\
\hline
\hline
\end{tabular}
\end{table}
However, the table is appearing before the text even though I type if after I type the text. Why?

table. Remove that and thetabularwill appear where you place it. – Peter Grill Oct 29 '12 at 23:21