The algorithms package is aimed at being both
simple and powerful for typesetting
pseudo-code/algorithms in LaTeX documents. Since
it uses the (La)TeX engine to generate its output,
the results obtained are frequently of
high-quality. The package comes with a manual and
is quite easy to use in day-to-day documents.