General ⇒ Incompatible algorithm packages, but I need them all :S!
Incompatible algorithm packages, but I need them all :S!
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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Incompatible algorithm packages, but I need them all :S!
Code: Select all
\newenvironment{centernew}{\begin{center}}{\end{center}}
Re: Incompatible algorithm packages, but I need them all :S!
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!