This question already has an answer here:

I try to use cleveref and varioref and ams* packages together. But I get some trouble, equations and sections label type seems to change and that does work well.

Here is my example:

\usepackage{hyperref}       %
\usepackage{amsmath}        % 
%\usepackage{amssymb}       % 
%\usepackage{mathrsfs}      % 
%\usepackage{amsthm}        % 
%\usepackage{amsfonts}      % 
%\usepackage{mathtools}     % 
%\usepackage{amsbsy, amstext, amscd, amsopn, amsxtra, upref}    % 

\usepackage{varioref}   %   


\section{first section} \label{sec1}

bla bla


As we can see with \vref{sec1}, the reference does not work well and it is the same with \vref{loiC}.


any ideas ?

marked as duplicate by lockstep, dustin, Werner, Svend Tveskæg, Martin Schröder Oct 10 '14 at 15:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You need to load the packages in the correct order according to this answer. The correct order is

\usepackage{varioref}   % 

Not the answer you're looking for? Browse other questions tagged or ask your own question.