Discussion:
algorithm package error, please help
(too old to reply)
zl2k
2009-03-25 20:04:08 UTC
Permalink
hi, there,
I am using algorithmic and algorithm package and got the error message
as following:

Document Style `algorithm' - floating environment

! LaTeX Error: Command \listofalgorithms 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.95 ...s}{\listof{algorithm}{\listalgorithmname}}

?

How can I make a correction? Thanks ahead.

zl2k
Dan Luecking
2009-03-25 21:25:56 UTC
Permalink
Post by zl2k
hi, there,
I am using algorithmic and algorithm package and got the error message
Document Style `algorithm' - floating environment
! LaTeX Error: Command \listofalgorithms already defined.
This mesage seems to be issued by the algorithm package
itself. You should look at the previously loaded packages,
the .cls file or your own macros, to see where
\listofalgorithms might have been previously defined.

Or post a minimal document that invokes this error.


Dan
To reply by email, change LookInSig to luecking
zl2k
2009-03-25 22:15:10 UTC
Permalink
Post by Dan Luecking
Post by zl2k
hi, there,
I am using algorithmic and algorithm package and got the error message
Document Style `algorithm' - floating environment
! LaTeX Error: Command \listofalgorithms already defined.
This mesage seems to be issued by the algorithm package
itself. You should look at the previously loaded packages,
the .cls file or your own macros, to see where
\listofalgorithms might have been previously defined.
Or post a minimal document that invokes this error.
Dan
To reply by email, change LookInSig to luecking
Thank you for pointing out the problem. The alg package was included
but not used and that caused the problem. Removing the alg package
solves my problem.

Loading...