# LaTeX placing figures in bibliography [duplicate]

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}


## marked as duplicate by Jake, egreg, lockstep, Werner, cmhughesDec 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.

## 1 Answer

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.