The algorithms package for LaTeX

Introduction

This is the homepage of the algorithms package for the LaTeX typesetting system. Here you will find (hopefully!) all information on the package (including documentation and support regarding its use).

About

When typesetting texts with many algorithms, many writers have questions regarding how they will present the algorithm to his readers. Showing them in a well-stablished language (say, like C) may be a good choice, but often, real-world languages require too many syntatic details to be written and such details distract the reader from the essence of the problem being solved.

For this reason, many researchers choose to present their algorithms in a language that is similar to well-known languages (like C, C++, Java or Pascal) but with more flexibility, in what is know as pseudo-code.

The algorithms package for LaTeX aims to produce high-quality descriptions of algorithms using pseudo-code, to convey the information needed for the reader in the best way (and with all the power of TeX at the disposal of the writer).

News:

2005-07-05:
Line references and line numbering features.
The new version of algorithms incorporates two frequently requested features:
  • The ability of using \label's and \ref's for making references to specific lines of a given algorithm;
  • The ability of changing both the size and delimiters of line numbering. You can specify any size you wish and use (almost) any string as the delimiter of the line numbering generated by the package.
2005-05-29:
Now with screenshots too!
I have put a new document (in PDF format) to serve as an example of use of algorithms and I included a "screenshot" taken from that document.
By the way, if you have any feature that you would like to see implemented in the package, please register it here so that I can keep track of which enhancements to implement.
2005-05-08:
A new version of algorithms has been released!
The new version incorporates the ability to set up arbitrary indentation of pseudo-code. This is especially useful when submitting papers to journals with space constraints, as you can remove the "end for", "end if", "end while" etc constructs without being concerned with loss of readability.
The manual was also updated to document it clearly and the infra-structure of this release will allow easier future enhancements.
2005-04-23:
The initial commit to the Subversion repository was made today.
I will now try to use the svn tools more frequently, as I gain more familiarity with them.
2005-03-30:
The initial version of the page is installed at BerliOS.
Other news will be announced here.

This page is proudly written in valid XHTML 1.0 by Rogério Brito. Only Free Software was used for its production. Free Software is much more than zero-cost software!


BerliOS Logo