Hello,
I'm currently working on my thesis, and I need to insert other .tex files in my document. Some of them use the algorithm and algorithmic packages (from algorithms bundle), and some use the algpseudocode package (from algorithmicx bundle). The algpseudocode package defines the \algorithmic environment but it's already defined in the algorithmic package. Is there a way to easily rename the \algorithmic environment of algpseudocode to \algorithmic2 for instance ?
Thanks a lot for your help.
General ⇒ Incompatible algorithm packages, but I need them all :S!
NEW: TikZ book now 40% off at Amazon.com for a short time.

Incompatible algorithm packages, but I need them all :S!
I guess you'd have to go into the packege's own definitions and put something like
there.
Code: Select all
\newenvironment{centernew}{\begin{center}}{\end{center}}
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
Re: Incompatible algorithm packages, but I need them all :S!
Thanks for the reply enrico !
I eventually edited the latex code fo a few files to make it compatible with the packages from the algorithmicx bundle so that I didn't need the other bundle anymore. I will note the tip for the next time though, thanks!
I eventually edited the latex code fo a few files to make it compatible with the packages from the algorithmicx bundle so that I didn't need the other bundle anymore. I will note the tip for the next time though, thanks!