Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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:

\begin{figure}[h]
    \centering
        \includegraphics[scale=0.75]{some_img} \\
        \caption {A caption goes here}
\end{figure}
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.

3  
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
2  
Have a look at the discussion on Keeping tables/figures close to where they are mentioned. –  Ian Thompson Dec 20 '11 at 23:02

1 Answer 1

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.