The \maketag@@@
macro, which is responsible for producing equation numbers in amsmath
, is defined as follows:
\def\maketag@@@#1{\hbox{\m@th\normalfont#1}}
You can see that it sets \normalfont
but doesn't alter the font size, so in your case the number is also in footnote size. To change the size of all equation numbers back to the document font size, add the following lines to your preamble, after \usepackage{amsmath}
:
\makeatletter
\def\maketag@@@#1{\hbox{\m@th\normalfont\normalsize#1}}
\makeatother
You can also replace \normalsize
with any other sizing command, of course.
Note: please add a minimal working example (MWE) next time you ask a question. In particular, you didn't mention that you were using the amsmath
and color
/xcolor
packages, and that you defined a new color 1
. This made your code harder to read.
edit:
A drawback of this approach is that amsmath
's \eqref
macro also formats references using \maketag@@@
. So if you don't want these references to be typeset in \normalsize
, you could for example also redefine \eqref
. To do this, use the following code fragment instead of the one given above:
\makeatletter
\def\my@tag@font{\normalsize}
\def\maketag@@@#1{\hbox{\m@th\normalfont\my@tag@font#1}}
\let\amsmath@eqref\eqref
\renewcommand\eqref[1]{{\let\my@tag@font\relax\amsmath@eqref{#1}}}
\makeatother
Then, everything you define as \my@tag@font
will be used for equation numbers, but discarded for \eqref
references.
amsmath
is overhauled is in the answer to Use of \small in the equation environment. for convenience, here's the code:\renewcommand{\maketag@@@}[1]{\hbox{\m@th\normalsize\normalfont#1}}
(don't know whether this question should now be considered a duplicate.)