I'm using the cleverref package. This is how I use it (and it works perfectly):


It follows directly from \Cref{lol} 

I'm using the following codes in the preamble:


The enviroment \begin{prop} \end{prop} works perfectly too. But if I use \Cref{} with a proposition created with \begin{prop} it does not work. The document shows the symbol ???

Can I fix this problem? I would like to define this enviroments with the corresponding shortcuts like thm,prop,defi...

  • 5
    Possible duplicate of Using cleveref with newenvironment – Jérôme Dequeker May 18 '16 at 7:39
  • 1
    Could you add an MWE (a compilable document showing your problem)? – ienissei May 18 '16 at 8:12
  • @JérômeDequeker and other would-be voters for closure - This posting is not a duplicate, since it uses the basic \newtheorem mechanism rather than any kind of custom-designed mechanism. – Mico May 18 '16 at 8:55

Since you have two environments (proposition and prop) that have the same name ("Proposition") and share a common counter, I will assume that they should also be cross-referenced (with cleveref's macros) using the same prefix label, say, "Proposition". This may be accomplished via an instruction such as


A full MWE (minimum working example):


\usepackage{amsthm} % if you prefer, use "ntheorem" instead of "amsthm"
\crefalias{prop}{proposition} % <-- new

\setcounter{chapter}{1} % just for this example



It follows directly from \Cref{hoh,hah} that \dots

This example produces

It follows directly from Propositions 1.1 and 1.2 that ...

(Observe that the arguments of \Cref need not be entered by ascending numerical value; cleveref takes care of the sorting by default.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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