Is it possible with Cleverref to reference not only the number of an environment but the "name" (the thing that is passed to it in square brackets?
In the following example I want to replace the line enter code here
Now since \Cref{boringLemma} we have that \Cref{awesomeTheorem} directly follows.
with something such that I do not get
Now since Lemma 1.1 we have that Theorem 1.2 directly follows.
but something like
Now since Boring Lemma (1.1) we have that Awesome Theorem (1.2) directly follows.
\documentclass{article}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage[amsmath]{ntheorem}
\usepackage{cleveref}
\newtheorem{thm}{Theorem}[section]
\newtheorem{lemma}[thm]{Lemma}
\crefname{lemma}{lemma}{lemmas}
\Crefname{lemma}{Lemma}{Lemmas}
\crefname{thm}{theorem}{theorems}
\Crefname{thm}{Theorem}{Theorems}
\begin{document}
\section{Boring and Awesome stuff}
\begin{lemma}[Boring Lemma]\label{boringLemma}
This is some boring statement.
\end{lemma}
\begin{thm}[Awesome Theorem]\label{awesomeTheorem}
This is a really awesome statement.
\end{thm}
Now since \Cref{boringLemma} we have that \Cref{awesomeTheorem} directly follows.
\end{document}

\Crefnamein the middle of a sentence.\Crefnameshould only be used at the beginning of sentences.\Crefnameis not the "capitalised variant" of\crefname. It is the start-of-sentence variant. It doesn't just capitalise the name, it also e.g. suppresses abbreviations. If you want capitalised reference names, use thecapitalise(orcapitalize) package option and/or use capitalised names in your\crefnamedefinitions. – Toby Cubitt Nov 24 '13 at 14:34