I have the following command to display EPS figures and wrapping text around the figure:

  \caption{A gull}

The problem is that the figure is displayed and text is wrapped not only around the figure, but also for all following paragraphs. Any help?

  • I have difficulties understanding your problem. Testing your code, it seems to deliver exactly what you want.
    – rtzll
    Dec 28, 2012 at 23:07
  • The rest of the text after the image is also wrapped. It is not displayed in the full width of the page. Just half of the width of the page has text, the rest is empty.
    – M.M
    Dec 28, 2012 at 23:29
  • 1
    You could try adding the optional argument to specify how many lines the wrapped figure should span, e.g. \begin{wrapfigure}[10]{r}{0.5\textwidth} will make the figure take up 10 lines of vertical space. Dec 28, 2012 at 23:45
  • @Torbjørn T Nothing changed, just the 11th line after the figure is not wrapped !
    – M.M
    Dec 29, 2012 at 2:34
  • 3
    Check that text in not really inside the wrapfigure environment . Please provide an Minimal Working Example like in the Cristhian R. answer showing your problem.
    – Fran
    Dec 29, 2012 at 8:23

1 Answer 1


I've extended your example to a MWE:




  \caption{A gull}


Which is resulting in:


As to my understanding, this is your desired outcome. See the LaTeX wiki for more documentation on this package.

  • I saw this example on the wiki of LATEX. It works on a separated file not in my document !!
    – M.M
    Dec 29, 2012 at 2:39
  • @Abufouda Then it means that something else is wrong with your document. Unless you provide a Minimal non-Working Example, we cannot help you.
    – yo'
    Jan 5, 2013 at 22:02
  • Can I have non-rectangular shapes with wrapfig? I mean as the shapepar's cutout command. I'm looking for an easy solution to wrap text around nonrectangular shapes/images, not needing to define the position of every line explicitly.
    – skan
    Feb 7, 2017 at 15:38
  • @skan check out shapepar
    – jrpear
    Apr 5 at 21:08

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