# Numbered equations with additional text part 2

I would like to have numerated equations with some additional text added, where the numbering automatically increases for any next equation, with the possibility to add a different text for any equation (or no text). This question is partially answered under "Numbered equations with additional text" Something like this (ennumereation should be flushed to the right):

a=b (1.1) some text

The next equation is is just numbered with no additional text

b=c (1.2)

And this one has a different text

a=c (1.3) some other text

The following might suit your needs:

\documentclass{article}
\usepackage{amsmath}% http://ctan.org/pkg/amsmath

\makeatletter
\makeatother

\begin{document}
\section{test}
\noindent X\hrulefill X
$$a=b \tagaddtext{something}$$
$$c=d$$
\begin{align}
f(x) &= ax^2 + bx + c \tagaddtext{stuff}\\
g(x) &= ax^2 + bx + c
\end{align}
\end{document}


The above example provides \tagaddtext{<stuff>} that you can use to add <stuff> to the right of the regular equation numbering marker.

• one problem with this is that, if you need to print it, it might run right off the edge of the paper. – barbara beeton Mar 5 '14 at 19:45
• @barbarabeeton: Absolutely true... I'll insert it in a zero-height, [t]op-aligned \parbox maybe, but I'm not sure how much <stuff> the OP wants in these annotations. – Werner Mar 5 '14 at 19:57