Re: How to \renewenvironment{align} (was: conflict of elsart, lineno and amsmath)



Thanks for your answer Heiko

Your patch also works, and is so simple!!! shame on me :-(



Heiko Oberdiek wrote:

What is the problem with (tested with example using article class):

\let\oldalign\align
\let\endoldalign\endalign
\renewenvironment{align}{%
\linenomath
\oldalign
}{%
\endoldalign
\endlinenomath
}

Yours sincerely
Heiko <oberdiek@xxxxxxxxxxxxxxx>

.