Last Updated: February 25, 2016
· 0asa

Cleveref and hyperref: order matters

In order to make cleveref and hyperref LaTeX packages work together:


Be careful, the order matters. I just spent the 20 last minutes figuring that out...

Latter on, instead of using:

... fig.~\ref{fig:lab} ...

If you want to spare some keystrokes, you can simply use:

... \cref{fig:lab} ...

Reference type names can easily be changed, e.g.:


And so on.