Hello, I'm having a weird problem with Algorithm Floats. I am using a master document with several child documents (one for each chapter). The odd thing is that when I compile/pdf the child document by itself, the algorithm floats seem to work just fine. However, when I try to compile/pdf the master document, I get an error: Undefined Control Sequence. In the details, it basically tells me that the algorithm command isn't defined correctly.
I am using the 'report' class. Also using OSX 10.5 (leopard). On a related note, when using a program listing (without any algorithms) that seems to be fine. I am also trying ot understand the difference between the program listing, the algorithm float, and the lyx-code format, since they all seem to be similar to what I want. Please help! =)