CTAN masthead graphic CTAN lion sketch

Directory: CTAN home / tex-archive/ macros/ latex/ contrib/ alg

You can get this entire directory bundled as alg.zip.

Packages located here

Package Caption
alg LaTeX environments for typesetting algorithms.

Subdirectories of this one

There are no subdirectories here.

Files in this directory

NameDateSize Description
alg.dtx 2003-05-26 18 Kbyte download
alg.ins 2001-03-12 674 bytes download
readme.txt 2003-05-26 1 Kbyte download Shown below

Contents of the readme.txt file

File: readme.txt (for the alg package).

Copyright (c) 1995, 1999, 2003 Staffan Ulfberg

This program can redistributed and/or modified under the terms of the
LaTeX Project Public License Distributed from CTAN archives in
directory macros/latex/base/lppl.txt; either version 1 of the License,
or (at your option) any later version.


Description
===========

This package defines two environments for typesetting algorithms in
LaTeX2e.  Lines are automatically numbered and can be referenced,
the means for easy indentation is provided, and algorithms can be made
floating bodies if desired.


Installation
============

Run LaTeX2e on the file alg.ins to generate the file alg.sty.  After
this is done, you can generate the documentation by running LaTeX2e
twice on the file alg.dtx.

You'll probably want to move the file alg.sty to a directory included
in your $TEXINPUTS environment variable.


Changes
=======

26 May 2003

* Make \alg@unmargin decrement alg@inmargin instead of setting it to
  zero.

12 March 2001

* Added support for German.
* Fixed typo in the French language support.
* Now uses the language selected for the babel package, if it is loaded. 
* \algmarginwidth replaced by \algleftmarginwidth and
  \algrightmarginwidth.

15 April 1999

* Changed \newenvironment{algtab}[0][\alglinenowidth] {....}  to
  \newenvironment{algtab}[1][\alglinenowidth] {....}.  (The bug didn't
  break things until a recent LaTeX release.)

Small print: This listing is regenerated periodically so there is a small chance that the directory has changed from what is shown here; to be sure, check the FTP listing.