I use a wrapfigure as below:

\caption{\small \sl My Diagram. \label{fig:image}}  

Somewhere in my report i have a formula which passes right below the figure. (i.e between caption and figure). How can i prevent this?

  • It is always best to compose a fully compilable MWE that illustrates the problem including the \documentclass and the appropriate packages so that those trying to help don't have to recreate it. That way those trying to help can focus on solution as opposed to setting up the problem test case. Personally, I have often solved my own problems in the process of reducing the amount of code actually required to reproduce the problem. – Peter Grill Apr 14 '12 at 1:02

The wrapfigure environment sometimes gets the height wrong. You can use an optional argument to manually specify the number of lines that the figure occupies. I would try


and adjust the parameter n until the problem goes away.

|improve this answer|||||
  • I believe that each line of 'math' still counts as a line even though they are much larger than the standard line, just in case you are wondering. IMHO it is a weakness in the wrapfig package. – Nicholas Hamilton Apr 21 '13 at 3:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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