Stuggling with the following problem for a small while and am stumped. I'm using the the elsart3p.cls document class, but it seems not to work well with the algorithmic package. Here's a minimal working example:
\documentclass{elsart3p} %also doesn't work with elsart
\usepackage{algorithmic}
\usepackage{algorithm}
\begin{document}
\begin{algorithm}[ht]
\begin{algorithmic}[1]
\REQUIRE help?
\end{algorithmic}
\caption{Algorithm}
\label{alg:test}
\end{algorithm}
\end{document}
When compiling using latex or pdflatex, I get a single error (per \begin{algorithmic} for each algorithm):
LaTeX Error: Command \AND already defined
...but the output looks okay. Usually I wouldn't mind too much, but I'll be passing on sources.
Anyone got any ideas for a workaround? I have a good few algorithms, so not keen on moving to another package (plus, I was never a big fan of algorithmic2e... too many braces give me vertigo).
I know this question isn't exactly blockbuster Hollywood material, but any help much appreciated!