Tuesday, September 21, 2010

Latex: Incorrect references for Tables, Figures etc.

Just put the \label{} inside \caption{}. 
See the following example.

\begin{table}[!ht]
\begin{center}
\caption{ \label{tab:blah} Blah Caption}
\begin{tabular}{c|c|c|c||c} A1 & B1 & C1 & D1 & E1 & F1 & G1 & & H1
\hline  
aa &bb &cc &dd &ff \\  
aa &bb &cc &dd &ff \\
\end{tabular}
\end{center}
\end{table}

0 comments:

Post a Comment