referencing figures and equations in LaTeX (overleaf) stopped working

2k views Asked by At

I am writing a report in Overleaf and to my surprise, suddenly all the references stopped working...

Code example:

\begin{equation}
        A = B * C
        \label{eq:tryout}
    \end{equation}

Tryout reference: \ref{eq:tryout}

The document shows this:

Does anyone see a syntactical error? Or could it be that I accidentally removed a package or something? Thanks in advance!

p.s. compiling multiple times does not work either

1

There are 1 answers

1
Esmee On

I finally found out what the problem was. I was using another package:

\usepackage{hyperref}

Apparently, this package interferes with the standard references, because if I remove it, the document works perfectly again.