I know there are multiple packages for typesettings algorithms (algorithmic, algorithmicx, algorithm2e), and some other which are not exactly designed for this exact purpose but can be used as well (listings). What I don't know is which to choose.
- What are the pros and cons of the different packages for typesetting algorithms? (I'm asking for an objective survey here.)
- Are there any clear differences among them?
- Which one is more "common" in academic papers?
algorithm2eis for pseudo-code algorithms;listingsis for verbatim listings. – Jan 13 '14 at 12:07