2

How can I get cleverref to produce the following:

Inserting Equation (1) into (2) yields ...

i.e., I don't want the word "Equation" to pop up before (2), which i have when simply using

Inserting \Cref{eq:1} into \Cref{eq:2} yields ...
5

Use \labelcref for the second cross-reference. Or, assuming the amsmath package is loaded as well, just write \eqref to generate the second cross-reference.

A full MWE:

\documentclass{article}
\usepackage{amsmath}
\usepackage{cleveref}
\begin{document}
\begin{equation}\label{eq:1} a \end{equation} % generate two dummy equations
\begin{equation}\label{eq:2} b \end{equation}

Inserting \Cref{eq:1} into \labelcref{eq:2} yields \dots

Inserting \Cref{eq:1} into \eqref{eq:2} yields \dots
\end{document}

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.