Torsten Mueller wrote:
>
> Hallo,
>
> I would like to include an algorithm as float in a paper.
> It should look like:
> if(ddd)
> do blabla
> do more blabla
> else
> do other things
> ...
i think package listings is what you want ...
http://www.ctan.org/tex-archive/macros/latex/contrib/supported/listings
> I have seen that there is an algorithm float.
the name is only important for the caption and the list of floats.
it's not for itself an algirithmic style. just lige the figure
float: you are able to insert a table there.
> The manual however does not say much about it, only that one needs
> the package "algorithm".
> How can I use this feature?
look for the algorithms.ps at
http://www.ctan.org/tex-archive/macros/latex/contrib/supported/algorithms
Herbert
--
[EMAIL PROTECTED]
http://perce.de/voss