I have exactly that problem:
Code: Select all
! LaTeX Error: Command \algorithm* already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
I managed to undefine the algorithm environment as follows:
\makeatletter
\let\algorithm\@undefined
\let\endalgorithm\@undefined
\makeatother
but when I tried the same thing for algorithm* :
\makeatletter
\let\algorithm\@undefined
\let\endalgorithm\@undefined
\let\algorithm*\@undefined
\let\endalgorithm*\@undefined
\makeatother
I got the LaTex error:
Undefined control sequence.
1.6 \let\algorithm*\@undefined
Can anyone tell me how to undefine the algorithm* environment?