Possible Duplicate:
How to influence the position of float environments like figure and table in LaTeX?
I am using algorithmic package. I have description of an algorithm in \begin{algorithm} ... \end{algorithm}, and I have text before it. However, the text appears after algorithm in the pdf. Why does it happen? and how to fix it? thanks.
algorithmis a floating environment. A good reference is How to influence the position of float environments like figure and table in LaTeX?. – Peter Grill May 13 '12 at 19:14[H]after\begin{algorithm}– ashim May 13 '12 at 19:26