Use a
table environment for the table,
\caption for setting a caption text,
\label and
\ref for placing a label and for referring to it.
A complete example:
Code: Select all
\documentclass{article}
\begin{document}
\listoftables
\begin{table}[htbp]
\centering
\caption{Experimental conditions}
\label{tab:expcond}
\begin{tabular}{ccc}
\hline
1 & 2 & 3 \\
\hline
4 & 5 & 6 \\
7 & 8 & 9 \\
1 & 2 & 3
\end{tabular}
\end{table}
Experimental conditions can be found in Table \ref{tab:expcond}.
\end{document}
You can also put the caption before the end of the table environment. Just note that the
\label command should come after the
\caption command, not before.
Tables and figures with captions are a basic topic which is usually explained in LaTeX introductions and tutorials, perhaps have a look at the recommendations here:
LaTeX Resources for Beginners.
Stefan