0

I am writing a report and I am trying to get a reference to a figure. The code for my fig is:

\begin{figure}[h]
    \label{fig:eloss}
    \begin{center}
        \includegraphics[scale=0.32]{figs/eloss.jpg}
    \end{center}
    \caption{\small Histogramme}
\end{figure}

and to refer to it I use \ref{fig:eloss} The result that I get in a text is ?? but because I use \hyperref when I click on it it gets me to the right figure. But still I want to have the proper text. The reference command works perfectly for equations.

0 Answers0