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've created a wrapfig environment

\includegraphics[width = 0.05\textwidth]{abc.jpg}
\noindent{\textbf{Useful Terms}} \\

The problem is that even thought I specify an overhang of 0pt, it is still placed in the margin;

enter image description here

Why is this command being "disobeyed"?



share|improve this question
Can you provide an MWE (minimal working example)? – Guido Aug 14 '12 at 8:52
up vote 2 down vote accepted

This is caused by the fact that material inside an environment is placed inside a group, which confuses wrapfig. Page 1 of the package documentation, says

If you put a wrapfigure in a parbox or a minipage, or any other type of grouping, the text wrapping should end before the group does.

share|improve this answer
Thanks. I guess the work-around would be to specify this kind of thing as a command, and not an environment. – Nick Riches Aug 14 '12 at 11:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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