TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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}
share|improve this question

marked as duplicate by Jake, egreg, lockstep, Werner, cmhughes Dec 20 '11 at 23:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

You could try to place a \clearpage command before your bibliography (or after your bibliography if you insert figures there). – Philipp Dec 20 '11 at 23:01
Have a look at the discussion on Keeping tables/figures close to where they are mentioned. – Ian Thompson Dec 20 '11 at 23:02

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.

share|improve this answer

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