I'm trying to wrap text around a TikZ image using the wrapfigure package, but it doesn't seem to be working--the document compiles, but the image is pushed down with new text. The error I get on the log is that wrapfigure is being used in a conflicting environment. I'm not quite sure how to resolve this and I would appreciate any help.

Here's my code:


\usepackage[top=2cm, bottom=1.3cm, left=3cm, right=2.0cm]{geometry}

\section*{Chapter 3 Problems}
  \1 A car is driven 215 km west and then 85 km southwest. What is the displacement of the car from the point of origin (magnitude and direction)? Draw a diagram.
    \draw[<->,thick] (-3,0) -- (1,0);
    \draw[<->,thick] (0,-2) -- (0,1);
    \draw[step=0.25cm,gray,very thin] (-3,-2) grid (1,1);
    \draw[red,very thick,<-] (-2,0) -- (0,0);
    \draw (-1,0.15) node [font=\tiny] {215 km};
    \draw[blue,very thick,->] (-2,0) -- (-2.5591,-1);
    \draw (-2.1,-0.5) node [rotate=57,font=\tiny] {85 km};
    \draw (-2.22,0) arc (180:225:0.3);
    \draw[black,thick,->] (0,0) -- (-2.5591,-1);
    \draw (-1,0) arc (180:225:0.5);
    \draw[orange,very thick,dashed] (-2.5591,0) -- (-2.5591,-1);
    \draw[green,very thick,dashed] (-2,0) -- (-2.5591,0);
    \2 [] Displacement in the \textit{y}:
      \3 [] \textit{D}$_y$  


Thanks in advance!

  • I don't think you can use wrapfigure inside outline or similar enumerate environments. This is basically what the "conflicting environment" is most likely about. Commented Jun 23, 2011 at 23:58
  • Okay, I'll take it out of the outline environment to see if wrapfigure will work (although I needed it there).
    – Miriam
    Commented Jun 24, 2011 at 0:12
  • So outline does conflict with wrapfigure...
    – Miriam
    Commented Jun 24, 2011 at 0:17

1 Answer 1


You can use picins instead of wrapfig but like outlines picins is not in texLive.

I use


with your example.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .