[texhax] [tug support aka texhax] formatting equation numbering

Donald Arseneau asnd at triumf.ca
Mon May 26 12:29:57 CEST 2014

On Sun, May 25, 2014 8:03 am, Mike Makai wrote:
> Dear TUG,
> Is it possible to change the style of equation numbering in the
> amsbook.cls package?

Yes it is, but there is no way to guess from your question
whether your desired formatting is supported.

In ordinary LaTeX one would redefine \@eqnnum but in AMS
the relevant command is \tagform@ ("tag format"), although
\@eqnnum is also used.

So copy the definition used by amsbook.cls, which is to be
found in amsmath.sty, and redefine it slightly differently.

% Use square brackets for equation numbers.
% Was: \def\tagform@#1{\maketag@@@{(\ignorespaces#1\unskip\@@italiccorr)}}

Donald Arseneau, TRIUMF CMMS, asnd at triumf.ca

More information about the texhax mailing list