[texhax] Bold Equation Numbers

Philip G. Ratcliffe philip.ratcliffe at uninsubria.it
Fri Apr 22 15:11:20 CEST 2005


> Is there a way to change the font of equation numbers to bold without
> affecting anything else?

Yes, the easiest is (this will make them bold everywhere though - also when
\ref'ed)

\renewcommand\theequation{\textbf{\arabic{equation}}}

or probably safer (bold only inside the equations, normal in \ref)

\makeatletter
\def\@eqnnum{{\normalfont \normalcolor \textbf{(\theequation)}}}
\makeatother

Include the () inside the \textbf{} or not according as whether you want
them bold too or not.

If you use the amsmath package then you'll need

\makeatletter
\def\tagform@#1{\maketag@@@{\textbf{(\ignorespaces#1\unskip\@@italiccorr)}}}
\makeatother

Beware: these are somewhat dirty hacks.  If you use another package that
plays around with equation setting, they might not work.

Cheers,  Phil



More information about the texhax mailing list