I used \tag{} in eqnarray. But is not permitted and have an error "! Package amsmath Error: \tag not allowed here". Is there a solution to this? Please do as necessary after checking.
Asked
Active
Viewed 76 times
1 Answers
2
You asked,
Is there a solution to this?
Short answer: Yes.
Slightly longer answer: Don't use eqnarray environments. Instead, be sure to load the amsmath package and to use align environments.
Incidentally, \tag and \notag are macros that are provided by the amsmath package -- the very same package that defines the align environment. By design, there is no way to use them inside eqnarray environments.
Mico
- 506,678
eqnarray. – José Carlos Santos Aug 31 '23 at 06:58\tagis a pureAMSmathtag, better switch fromeqnarraytoalign– MadyYuvi Aug 31 '23 at 07:00