Thomas Schmidt schrieb:

\newfloat{Xalgorithm}{tbp}{loa}
\floatname{Xalgorithm}{Algorithmus}
\newcommand{\theHalgorithm}{\theHXalgorithm}
\renewenvironment{algorithm}[1][tbp]
{\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
\numberwithin{Xalgorithm}{chapter}
It is unclear to me what you are getting from all that!
All you should need I think is
\newfloat{Xalgorithm}{htb}{loa}[chapter]

I don't know too, but this code is part of section3.2 embeddedobjects of lyx 
documentation.

Yes, this is needed to get algorithms to work with hyperref. I only forgot to mention there the correct commend to invoke the list of algorithms. I'll add this for the next version.

But nevertheless, attached is an example Lyx file to show you how the list of 
algorithms is done.

Good luck with your thesis!

regards Uwe

Attachment: newfile2.pdf
Description: Adobe PDF document

Attachment: newfile2.lyx
Description: application/lyx

Reply via email to