I'm trying to insert an image in LaTeX with some text around:
Here is our image:
\begin{figure}[h!]
\centering
\includegraphics[width=0.5\textwidth]{idefA0.jpg}
\caption{IDEF0}
\end{figure}
Here is some text!
I'd like to insert image and 'Here is some image' on the same page, but when i'm trying to compile pdf I get:
Warning! !h changed to !ht and places an image on the next page, and here is some text goes right after Here is some image
What's wrong?
figureenvironment. But you could also include an image by using\includegraphicsin acenterenvironment if you don't need or want the power of the figure environment. That would give you absolute control about the placement but you would have to give up the\captionas well. – Christian Lindig Apr 04 '11 at 17:59