\documentclass{article}
\usepackage{graphicx}

\begin{document}

\section{One}

Although not normally the case in academic writing, an author may prefer that some floats do not break the flow of text, but instead allow text to wrap around it. (Obviously, this effect only looks decent when the figure in question is significantly narrower than the text width.)

\begin{figure}
  \centering
    \includegraphics[scale=0.7]{escher-stars}
  \caption{This is the image.}
\end{figure}



A word of warning: Wrapping figures in LaTex will require a lot of manual adjustment of your document. There are several packages available for the task, but none of them works perfectly. Before you make the choice of including figures with text wrapping in your document, make sure you have considered all the options. For example, you could use a layout with two columns for your documents and have no text-wrapping at all.

\section{Two}

Here is some math:
\[
\int_{x=0}^\infty \frac{f(x)}{g(x)} dx 
\]

Anyway, we will look at the package wrapfig. Note that wrapfig may not come with the default installation of LaTeX; you might need to install additional packages.

\end{document}