I want to write an equation and put some additional information in the equation but left of the equation number, thus \tag{} does not work. Furthermore, I would like to have the description flushed right so that it looks neat with multiple equations beneath.

For example, I would like something like for all i standing left of my equation number, flushed to the right side (in the red box in the picture):

enter image description here


1 Answer 1


You can use flalign with two "equations" in order to write a comment. Here's an example:

enter image description here


\setlength{\mathindent}{0pt}% No indent for full length equations (flush left)


\noindent X \dotfill X
  f(x) &= ax^2 + bx + c && \text{Comment} \label{eqn:comment}

\noindent X \dotfill X
  f(x) &= ax^2 + bx + c \label{eqn:nocomment}

See~\eqref{eqn:comment} and~\eqref{eqn:nocomment}.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .