The command \label must appear after (or inside) \caption. Otherwise, it will pick up the current section or list number instead of what you intended.
\begin{figure}
\centering
\includegraphics[width=0.5\textwidth]{gull}
\caption{Close-up of a gull} \label{fig:gull}
\end{figure}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment