Possible Duplicate:
Keeping tables/figures close to where they are mentioned

I am assigning a couple of figures near the end of my document, and it is placing them in the middle of my bibliography instead of in the main text. How do I stop this?

I'm currently typing:

        \includegraphics[scale=0.75]{some_img} \\
        \caption {A caption goes here}

LaTeX keeps the stack of floats (figures and tables) to put them in the "most appropriate place". However, if it cannot find this place, it may dump the stack too late.

The command \clearpage starts a new page, but first it dumps all figures in the stack. Just put \clearpage before the bibliography.

Not the answer you're looking for? Browse other questions tagged or ask your own question.