views:

64

answers:

2

Hi all,

which package would you use for writing algorithms in LaTeX? I know about algorithm, algorithmic and algorithms packages.

Thanks

+3  A: 

The listings package is what you are looking for. alt text

Olivier
+1  A: 

I'd add to your list algorithm2e.

reprogrammer
In my experience, algorithm2e is more trouble than its worth. I found it is not very compatible with some journal and conference document classes.
Niall Murphy