Wrapping text around a figure in LaTeX
- by manapo
When I wrap my text around a figure I cannot get it to wrap around the correct text. Basically, I want to have the text in the section the figure is in wrap around it, but when I compile it my figure ends up being farther down the page next to text in another section. 1. How do I change this? 2. (kind of a minor point) How do I make the label for the caption, such as "Figure 1.", bold?
\usepackage{graphicx}
\usepackage{wrapfig}
...
\begin{wrapfigure}{r}{40mm}
\begin{center}
\includegraphics[scale=0.5]{image}
\end{center}
\caption{This is the image.}
\end{wrapfigure}