I'm typesetting a bunch of proofs and I want to follow a convention that whenever I introduce a premise it is numbered using a bold font (e.g. (1)), but then when I reference it in text it is written using normal font (e.g. (1)). However, I'm having problems with equations. I figured out how to customize style of equation tag to make it bold, but then when I reference that equation using \ref
that reference is also in bold. Here's a minimal example:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
2 + 2 = 4
\refstepcounter{equation}\tag*{\textbf{(\theequation)}}
\label{foo}
\end{equation}
Reference to equation \ref{foo} is now in bold but I want it to be (1).
\end{document}
Above code produces:
How do I make the reference using a normal (non-bold) font?