🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #2556

Algorithm env. like "figure"? List of Algorithms?

#2556
From: Jonathan Rice
Date: Fri, 11 Sep 1992 12:46
20 lines
1691 bytes
Does anyone know of an environment which would let me number and float
algorithms in a similar way to the "figure" environment? It would be
very desirable, also, if I could produce a "List of Algorithms" at the start of my document, similar to what happens with \listoffigures and \listoftables.
I have checked out the obvious contenders: algorithm.sty and program.sty.
algorithm.sty provides numbering but its format can't be changed (as far as
I know) since it is defined with \newtheorem. program.sty doesn't do anything
I need. Neither styles float nor produce a list of algorithms.

Preferably email me rather than posting. This isn't my regular machine.

-- JOR

O----------------------O----------------------------o--------------------------o
|    Jonathan Rice     | Email: jorice@cs.tcd.ie    | He was a common fly      |
|----------------------| Tel: 353.1.772941 x2156 (w)| With a taste for fashion |
|Computer Science Dept.|      353.1.6245415      (h)| They were thrown together|
|  Trinity College     | Fax: 353.1.772204          | In a heat of passion     |
|     Dublin 2,        |               woof /\___/  |         - "Human Fly",   |
|     Ireland.         |                     /| |\  |          The Horseflies  |
o----------------------o----------------------------o--------------------------o
Technical Details
Message-ID: <1992Sep11.124638.6992@maths.tcd.ie>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!ieunet!tcdcs!maths.tcd.ie!jorice

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!ieunet!tcdcs!maths.tcd.ie!jorice
From: jorice@maths.tcd.ie (Jonathan Rice)
Subject: Algorithm env. like "figure"? List of Algorithms?
Message-ID: <1992Sep11.124638.6992@maths.tcd.ie>
Organization: Dept. of Maths, Trinity College, Dublin, Ireland.
Date: Fri, 11 Sep 1992 12:46:38 GMT
Lines: 20