0

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}
\begin{equation}
  a=b
\end{equation}
\end{document}

However this solution fails when I uncomment the line

\usepackage{amsmath}

How to solve?

3
  • Should references to equations also have a dot?
    – Bernard
    Apr 8 '19 at 17:07
  • @Bernard, yes, how to add the dot to references?
    – Viesturs
    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.
    – Bernard
    Apr 8 '19 at 17:12
0

Put in the preamble

\makeatletter
\def\theequation{  \ifnum \c@chapter>\z@ \thechapter\fi \@arabic\c@equation.}
\makeatother

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.