I am using the algorithm and algpseudocode packages. When I define an algorithm it ends with a horizontal line. I would like to have some text below this horizontal line explaining some special case scenarios. I've seen this used in various books. How do I put text below this horizontal line?
I've defined a new command
The only limitation is that you cannot allow the
This is another option, removing the limitation in Karl Koeller's answer (the environment can freely float if desired, and \algcomment can be used inside the