I'm writing a document with some figures, each one has one label, and I'm using references. Every figure used appear at the list of figures, but not when referencing from text. When I do that, it prints "…like in Figure ??".
An example is:
GPS coordinates look like in Figure~\ref{fig:coord}.
\begin{figure}[h]
\centering
\includegraphics{/img/coord.png}
\caption{GPS coordinates representation}
\label{coord}
\end{figure}
Where is the problem here?
Best Answer
Your label is
coord
but you reference viafig:coord
. Both must be the same.Moreover it is always a good practice to provide an minimal example.