TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

closed as too localized by bloodworks, Martin Schröder, Kurt, Werner, lockstep Jan 5 '13 at 22:36

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I have difficulties understanding your problem. Testing your code, it seems to deliver exactly what you want. – polyfunc Dec 28 '12 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 '12 at 23:29
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. – Torbjørn T. Dec 28 '12 at 23:45
@Torbjørn T Nothing changed, just the 11th line after the figure is not wrapped ! – M.M Dec 29 '12 at 2:34
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 '12 at 8:23

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.

share|improve this answer
I saw this example on the wiki of LATEX. It works on a separated file not in my document !! – M.M Dec 29 '12 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 '13 at 22:02

Not the answer you're looking for? Browse other questions tagged or ask your own question.