# Equation number position in a new line

How do I put the number of each equation in the new line (not the same line with the equation, located in the next line on the right)

This is required for all the equations in my thesis (which I found very weird). Thanks very much for your help.

-

Are you sure you want this...

\documentclass{article}

\usepackage{amsmath}

\makeatletter
\def\maketag@@@#1{\hbox to \displaywidth{\hss\m@th\normalfont#1}}
\makeatother

\begin{document}

$$f\langle s,t \rangle = \sum_{\substack{v,w \in E \\ v \in S, w \in T}}f(v,w) \\$$

aaa
\begin{align}
a&=b\\
c&=d
\end{align}

\end{document}

-
Thanks so much David, it works. I am not sure, but my boss is:-( This is so ugly. I don't understand why he wants the equations to be done this way. Anyway, thanks a lot. –  Shea Apr 16 at 14:02
Wouldn't \displaywidth be better than \textwidth? I didn't test, though. –  egreg Apr 16 at 15:37
@egreg, yes, probably. –  David Carlisle Apr 16 at 15:53

Weird indeed. This should work:

\begin{align}
e^{i\pi} & = \cos(\pi) + i\sin(\pi) = -1 \notag \\
& \label{eq:whatever}
\end{align}
%
This is Equation \eqref{eq:whatever}


-
Thanks so much. –  Shea Apr 17 at 15:26