# Mistakes in the figure numeration [duplicate]

I have two figures in my document. Figure 1 is correctly entitled and referred, but figure 2 is entitled Fig 2, but referred as Fig 6.

\begin{figure}[!ht]
\label{ExperimantalSetup}
\caption{Block-scheme of the experimental setup}
\centering
\includegraphics[width=\columnwidth]{setup}
\end{figure}


I checked:

• no duplicate labels,
• no errors or warnings(excepting the image size) in compilation
• the only list which has #6 at that point of the document is the Todo list. (But I used the same Todo package before, and had no problems with it).
• references are not hyperlinked (not clickable).

Perhaps, there is a settings error, could you advice what to change? Any ideas why this problem can be?

-

## migrated from stackoverflow.comJan 16 '13 at 12:42

This question came from our site for professional and enthusiast programmers.