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 am working on a poster with headerbox elements. In one of the boxes I try to have an image on the right side and have the text left of it. I tried different minipage and wrapfigure examples but the image ended up beeing all over the poster and not in the headerbox at the right position. :/

 Lore ipsum
share|improve this question
Can you provide a full MWE? You have put the wrapfigure on the left side. Where do you want it? at right? Then change l to r. Also what is the purpose of \hrulefill? – Harish Kumar May 13 '12 at 11:33
So the cause of the problem was, that there was not enough text in the box. I'd vote to close my question. Thanks Harish for your feedback! – Framester May 13 '12 at 13:05
@HarishKumar: You provided the correct hint -- please provide an answer. – Marco Daniel May 13 '12 at 14:47
@MarcoDaniel: Thanks and done. – Harish Kumar May 13 '12 at 22:36
up vote 5 down vote accepted

To place the wrap figure at the right , you have to use r not l. Another fact is that it should have enough text in the surrounding so as to wrap properly. If you want to force the placement *exactly here you can use the capital R (or L, I, or O). Fot details see the documentation of wrapfigure. (texdoc wrapfig). Here is a complete MWE:

This is where the figure goes with text wrapping around it. There should be enough text around the wrapfigure so that it is warpped properly. 
\caption{A wrapped figure going nicely inside the text.}\label{wrap-fig:1}
Figure~\ref{wrap-fig:1} is a wrapped figure. \lipsum[4]
\caption{A wrapped figure going nicely inside the text.}\label{wrap-fig:1}

enter image description here

share|improve this answer

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.