I need to have fews equations aligned by =. These equations are to be displayed in particular color but not the equation numbers.

a = {1,2},            (1)
b = {4,8},            (2)

The two equations above appear in particular color (say red) but the equation numbers in paranthesis are to appear in default color. I tried the following code:

 a \; & = \; \left\{1,2\right\}, \\
 b \; & = \; \left\{4,8\right\},

But this makes equation numbers also appear in red. And, when I use \textcolor inside align block, it generates error.

Can anyone suggest how can I get the desired formatting.


 a  & =  \left\{1,2\right\}, \\
 b  & =  \left\{4,8\right\},


enter image description here

  • \normalcolor has been in the definition of \tagform@ (in amsmath) for years, but clearly it's in the wrong place. i've entered a bug report. and while you're at it, might as well add \normalsize to keep tags the same size even if the content of the display is made smaller or larger. (tags look better at uniform size; this request was made long ago by ams copyeditors.) – barbara beeton Aug 16 '11 at 13:24

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.