First: Some days ago I posted this question on The LaTeX Community but I have not gotten an answer so I post it here.
Consider the following MWE:
\documentclass[danish]{article}
\usepackage{babel}
\usepackage{mathtools}
\usepackage{enumitem}
\usepackage{hyperref}
\mathtoolsset{showonlyrefs}
\newcommand*{\hv}[1]{\label{eqn:#1}\stackrel{\mathclap{(#1)}}{=}}
\newcommand*{\fk}[1]{\item[\eqref{eqn:#1}]}
\begin{document}
We have
\begin{align}
\Delta y
&\hv{1} m(x_{0}+h) - m(x_{0})\\
&\hv{2} \frac{f(x_{0}+h)}{g(x_{0}+h)} - \frac{f(x_{0})}{g(x_{0})}\\
&\hv{3} \frac{f(x_{0}+h) \cdot g(x_{0})}{g(x_{0}+h) \cdot g(x_{0})} - \frac{f(x_{0}) \cdot g(x_{0}+h)}{g(x_{0}) \cdot g(x_{0}+h)}\\
&= \dots
\end{align}
Explanations:
\begin{enumerate}
\fk{1} A
\fk{2} B
\fk{3} C
\end{enumerate}
\end{document}
Issues:
- This way of refering to the lines in the align expression seems wierd. Is there a better way of doing this?
- I will like the labels
(1),(2), ... to be printed above=only and not flushed right too. I there a way of doing this?
Ad 2. I have tried putting \notag at the end of each line but then I get the following error:
Package amsmath Error: Multiple \label's: label 'eqn:1' will be lost.


\notagthere is no actual equation-number to refer to. I would at least use(\theequation)instead of(#1)above the=to get the right\eqreflater.#1is only the name of your label (\label{eqn:#1}), not the actual number of your equation. The label can be any arbitrary text. – Qrrbrbirlbel Jan 2 at 6:17