Possible Duplicate:
Keeping tables/figures close to where they are mentioned
How to influence the position of float environments like figure and table in LaTeX?
I'm doing this
\section{Use Case Description}
\begin{figure}[h]
\centering
\caption{Diagramma degli use case}
\includegraphics[width=\textwidth, height=\textheight, keepaspectratio]{UCD.pdf}
\end{figure}
\vskip 0.6cm \textbf{Titolo:} UC Create Tag
...
and then there's the rest of my file.
My problem is that the figure renders correctly but just at the end of the file instead of where I've placed it.
If I put no placement parameters, it renders in the next page (as it is supposed to do, I think).
I would like to render it before anything else, but [h] or [h!] didn't work.
\clearpagebefore\sectionwill do. But leave these adjustments for the final revision part of document preparation. – egreg Jan 01 '12 at 14:35@egreg nothing happened
– Chobeat Jan 01 '12 at 14:36width=\textwidthandheight=\textheigth! If these produce a figure that's bigger than 70% of the page height, the figure will never be printed "here", but always as a page float. – egreg Jan 01 '12 at 14:41