1

I am using algorithm2e when I reference an algorithm it shows ?? which links to the correct algorithm, but it should show something like 1.1.

Any suggestions as to how I can fix this?

Here is an mwe:

\documentclass[12pt, a4paper, oneside, english]{Thesis}

\usepackage[boxed, ruled, ruled, algoruled]{./algorithm2e}
\usepackage{babel}

\begin{document}

\ref{alg:Stage1.2} shows the algorithm.

\begin{algorithm}[!htp]
\label{alg:Stage1.2}
 \caption{Stage1.2}
\end{algorithm}
\clearpage

\end{document}
mihajlv
  • 153

0 Answers0