I am using
caption packages in my document, and also packages like
algorithm... that (as far as I know) define floating elements or elements that have captions associated to them.
In the particular case of
listings package, I think it also calls or loads
float, if I am not wrong.
So, my question is this: Where in the preamble is it better or more appropriate to load
caption packages —before or after loading other packages that create floating environments?
Sorry if my question doesn't make sense, maybe I didn't get the whole idea...
Anyway, really looking forward to your answers,