I'm trying to put equation numbers next to text as if said text was an equation. If I use \text{} in an align* environment, it typesets the text right-aligned and the whole environment centered, but that's not what I want. I would like the text to look like in an itemize or enumerate environment (for example, indented), but still with an equation number behind it. And that equation number should come from the regular equation number "pool".

Ideally, it would look like this:

We have to make sure that:
  A is very b,             (1)
  A is not c.              (2)

How can I write this in LaTeX?


Here's one way (taken some code from Input manually a number into \eqref):

enter image description here

\usepackage{amsmath}% http://ctan.org/pkg/
  f(x) = ax^2 + bx + c \label{myeqn1}
See~\eqref{myeqn1}. Also
  \item $A$ is very~$b$, \eqnum\label{myeqn2}
  \item $A$ is not~$c$. \eqnum\label{myeqn3}
There is also~\eqref{myeqn2} and~\eqref{myeqn3}.

The above MWE provides \eqnum which inserts the equation number using the amsmath \eqref way. A subsequent \label makes one able to reference it. Of course, the print-and\label technique could be combined, if needed:


which allows one to use \eqlab{<label>}.

For flushed-right equation numbering, use the following definition:

  • Thanks a lot! The flushed right solution is exactly what I needed. – cxxl May 13 '13 at 21:32

This may be a little hack-ish …


We have to make sure that:
 \item A is very b,
 \item A is not c.
Lorem Ipsum


enter image description here

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.