I am using the algorithm float in LyX together with the listing package.
Most things work as I want them to use. So I am able to change the float's
name as well as the name of the list of floats with these commands in the
LyX preambel:
\floatname{algorithm}{XYZ}
\renewcommand{\listalgorithmname}{List of XYZs}
But how can I change the *numbering scheme* of algorithm floats to insert
the chapter's number? By default algotithms are just counted throuout the
document. Every time I insert
\usepackage{algorithm}[chapter]
in the preamble I got errors.
Another question is how to change the floating behaviour of that float type?
By default (reading the sty file) that float type is set to respect options
{htbp}{loa}. I want them to use {tbp} instead. (BTW: What does {loa} mean?
The float documentation -- just a README -- doesn't say anything about!)
Claus