Comprehensive TeX Archive Network
Cover Upload Browse

Direc­tory tex-archive/macros/latex/contrib/alg

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.


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.


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.


26 May 2003

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

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

15 April 1999

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


Name Size Date Notes
alg.dtx 18992 2003-05-26 10:13
alg.ins 674 2001-03-12 07:43
readme.txt 1445 2003-05-26 10:13

Down­load the con­tents of this pack­age in one zip archive (6.9k).

alg – LaTeX en­vi­ron­ments for type­set­ting al­go­rithms

De­fines two en­vi­ron­ments for type­set­ting al­go­rithms in LaTeX2ε. The al­gtab en­vi­ron­ment is used to type­set an al­go­rithm with au­to­mat­i­cally num­bered lines. The al­go­rithm en­vi­ron­ment can be used to en­cap­su­late the al­gtab en­vi­ron­ment al­go­rithm in a float­ing body to­gether with a header, a cap­tion, etc. \listo­fal­go­rithms is de­fined.

Pack­age De­tailsalg
Li­censeThe LaTeX Project Public Li­cense
Main­tainerStaffan Ulf­berg
Con­tained inTeXlive as alg
MikTeX as alg
Topics type­set lan­guages for ex­press­ing al­go­rithms
See also algorithms
Guest Book Sitemap Contact