With the \cite[] instruction, you can add some annotations to references: cite with annotations

Is it possible to do the same with Cleveref (\Cref)?

enter image description here


1 Answer 1


Defining a custom version of \cref exploiting the additional package crossreftools can almost accomplish what you seem to want:


\newcommand{\mycref}[2]{\hyperref[#1]{\namecref{#1}~(\crtrefnumber{#1}, #2)}}


3^{2} + 4^{2} = 5^{2} \label{345triangle}

Look at \cref{345triangle}.


\mycref{345triangle}{some annotation} is an instance of the Pythagorean theorem.


custom \cref to add annotation

As it stands, \mycref causes the entire source expression, including the annotation, to be part of the active link; you may change that by modifying the definition of \mycref.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .