Possible Duplicate:
Keeping tables/figures close to where they are mentioned
I'm having troubles positioning some images. Some appear where i want them to, others appear right at the end of the document.
\begin{figure}[h]
\centering
\includegraphics[width=0.8\textwidth]{images/cleanity.jpg}\\
\caption{Rapid Application Development (RAD) Model}\label{fig:sift_ex}
\end{figure}
I have a bunch of subheadings and my bibliography after this code, but the image appears after. What am i doing wrong?
\clearpageto flush any existing (backed-up) floats. Also, float placement is not always as simple as specifying[h]forhere. See How to influence the position of float environments like figure and table in LaTeX? – Werner Apr 03 '12 at 16:59