Is there a way to use align and tag inline together? Here are some examples of what I tried:



x^2 &= 1 \\
x   &= -1,1 \tag{*} \\


It gives me an error, however, telling me \tag not allowed.

  • \begin{align} inside $$ will generate an error (and you should not use $$ in latex anyway). Perhaps you are looking for the first example, but without $$ (hard to tell from your question. – David Carlisle Oct 29 '16 at 11:23
  • Well, it doesn't really matter which one I use. I did realize that only \begin{aligned} works inside the $$. but the problem is that it doesn't accept tags. Here's the error I get: \tag not allowed here – Skeleton Bow Oct 29 '16 at 11:25
  • @DavidCarlisle Thank you for clearing it up (I realized why my question was unclear from your comment). I updated my question so it's not as unclear. – Skeleton Bow Oct 29 '16 at 11:27
  • you can't number inline math as an equation? – David Carlisle Oct 29 '16 at 11:32
  • Your new MWE produces ! LaTeX Error: Environment aligned undefined. – David Carlisle Oct 29 '16 at 11:33

You need align or align* (and never use $$ in latex).

x^2 &= 1 \\
x   &= -1,1 \tag{*} 
| improve this answer | |

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.