# change equation label with amsmath

I would like to change equation number from style (N) to (N.). I can do this by redefining

\def\@eqnnum{{\normalfont \normalcolor (\theequation.)}}


of the report:

\documentclass{report}
%\usepackage{amsmath}
\makeatletter
\def\@eqnnum{{\normalfont \normalcolor (\theequation.)}}
\makeatother
\begin{document}
$$a=b$$
\end{document}


However this solution fails when I uncomment the line

\usepackage{amsmath}


How to solve?

• Should references to equations also have a dot? Apr 8 '19 at 17:07
• @Bernard, yes, how to add the dot to references? Apr 8 '19 at 17:09
• I guess @Joule's solution does it automatically. What' not so automatic is to have a dot in the tag, but not in the reference. Apr 8 '19 at 17:12

\makeatletter