I want to insert a picture, and use overpic to label it, in between two paragraphs of text, like so:
Here is my first paragraph of text.
\begin{figure}[htb] \centering
\begin{overpic}[width=0.5\textwidth]{./figure/mypicture.pdf}
\put(20, 20){$A$}
\end{overpic}
\caption{This is mypicture.pdf, with the label $A$.}
\end{figure}
Here is my second paragraph of text.
In order to understand this paragraph, you first need to see the picture.
But depending on the content of those paragraphs, and on other pictures that are inserted before or after them, mypicture.pdf doesn't always end up in the right place. Is there a way to force it to be there (as in \includegraphic), while still being able to use overpic?
centerinstead offigure(and don't say\centering). – egreg Dec 17 '11 at 23:24[htb]? How can I still insert a caption? – jamaicanworm Dec 17 '11 at 23:31