Search found 2 matches

by sbzx
Thu Apr 22, 2010 9:39 pm
Forum: Graphics, Figures & Tables
Topic: Problems with the table caption
Replies: 4
Views: 2600

Problems with the table caption

sommerfee wrote: This will add unwanted vertical space. Better use \centering instead.
Thank you, sommerfree. For some reason, I had the impression \centering and \begin{center}...\end{center} were the same, the former being a deprecated form; apparently, a beginner's mistake.
by sbzx
Thu Apr 22, 2010 3:35 pm
Forum: Graphics, Figures & Tables
Topic: Problems with the table caption
Replies: 4
Views: 2600

Problems with the table caption

Try something like this:

Code: Select all

\begin{table}
  \begin{center}
    \begin{tabular}
     ...
    \end{tabular}
    \caption{Your caption text}
    \label{Your reference label}
  \end{center}
\end{table}
Refer to http://en.wikibooks.org/wiki/LaTeX/Tables for more info.