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, 2019 at 17:07
  • @Bernard, yes, how to add the dot to references?
    – Viesturs
    Apr 8, 2019 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, 2019 at 17:12

1 Answer 1

0

Put in the preamble

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .