My example is this:
\documentclass{amsart}
\usepackage{graphicx}
\usepackage{wrapfig}
\begin{document}
\begin{enumerate}
\item \begin{enumerate}
\begin{wrapfigure}{l}{0.5\textwidth}
\centering
\includegraphics[width=.98\linewidth]{lociplanarsetsedited.eps}
\caption{A caption}
\end{wrapfigure}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec erat libero, varius ut lacinia eget, fringilla sit amet nibh.
\end{enumerate}
\end{enumerate}
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
\end{document}
The image I'm using comes from the graph of a planar set at https://sites.google.com/site/xtheunknown0/latex. I'm not sure how to get the eps up (but I converted the file first, of course).
So as you should be able to see, the image comes at the end of the document.
How do I put the graph to the right of the (1) and have the two sentences of Latin underneath the graph?
Best Answer
Environment
wrapfigure
does not work underenumerate
environment.My code:
Result:
The picture can be either set to right turn side or left turn side as you like by changing the wrapfigure option.
The answer has already appeared in TeX.