In order to avoid wasting time in adding/removing *s to number or not equations, I use \mathtools{showonlyrefs=true} in the preamble. Nevertheless, sometimes I'd like to number unreferenced equations. For instance, if just one of two subequations is referenced I want both to be numbered.
So the question is: how can I force the numbering of an unreferenced equation (or subequation) if \mathtools{showonlyrefs=true} is used in the preamble?

1 Answer 1


mathtools provides \noeqref for this purpose. To show the number of an equation with label eq:abc, add \noeqref{eq:abc}. The command is similar to \nocite for citations.

enter image description here

Reference to \eqref{1}.
a=b \label{1} \\
a=c \label{2} \\
a=d \label{3} \\

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.