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

What is the easiest way to put a box for quotation wrapped within text as we do for figure with wrapfig. Like half-sized box of text in magazines. I am trying float, but I am not sure if it is the best choice for this purpose.

I am looking for a flexible solution: When the box content is long, split the box in two pages (continues to the next page along with the main text).

share|improve this question
Can you show a picture of what you have in mind? – Harish Kumar Apr 18 '12 at 6:54
Could you explain what exactly you mean with "wrapped in text". I can't see how figure is doing this. – Stephan Lehmke Apr 18 '12 at 8:50
@StephanLehmke Exactly! figure is what I need, but I am not sure if figure is the best choice for text. – All Apr 18 '12 at 10:51
I still don't get it. The floating object created by the figure environment is not wrapped in text at all. Are you talking about a specific package? – Stephan Lehmke Apr 18 '12 at 11:00
@StephanLehmke sorry I meant wrapfig. In the original question, I referred to the possibility to wrap figure by corresponding packages. And I am asking for the best package to wrap a box of text. – All Apr 18 '12 at 11:10
up vote 8 down vote accepted

I might have misunderstood the question... but I think you want to wrap the quotation within text. It can be achieved using wrapfig package.

\usepackage{wrapfig}% http://ctan.org/pkg/wrapfig
\usepackage{lipsum}% http://ctan.org/pkg/lipsum
``Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Proin ac tempus dui. Etiam non mattis neque. Maecenas tempor,
massa a luctus sollicitudin, elit massa auctor velit, eu mattis
lacus arcu nec est. 

Sed et lectus non tellus posuere consequat.
Donec congue lacinia urna a iaculis. Cras id nisl sed sapien
euismod rhoncus.''

enter image description here

If you want the box to span many pages, then the mdframed option suggested in the other answer should be followed.

share|improve this answer

Floats cannot wrap multiple pages. I would recommend the mdframed package for this purpose.

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.