I want to use both the program and algorithmic packages in a paper; however, after adding \usepackage{program}
, algorithmic is now broken. For a reduced example,
\documentclass{article}
\usepackage{algorithmic}
% \usepackage{program}
\begin{document}
\begin{algorithmic}
\STATE a
\STATE b
\end{algorithmic}
\end{document}
This should print "a" then "b" on two lines; enabling the [commented] third line gives errors for me.
! LaTeX Error: Command \AND already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.8 \STATE
a
? q
I'm using texlive 2010 via OpenSuSE RPMs.
program
package? I guess your minimal example does not effectively show its use.