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

How can I make a specific paragraph have a specific line width?

share|improve this question
You need the paragraph to be able to span across pages? – xport Jun 22 '11 at 9:41
In this particular case no span is ok. – Gadi A Jun 22 '11 at 10:40
up vote 8 down vote accepted

Use \parbox{<linewidth>}{<content>} for the paragraph. Alternatively you can use the very similar minipage environment which also takes the line width as first argument. However, both do not allow page breaks in the paragraph. Also have a look on the quote and quotation environments which narrow the paragraph width.

share|improve this answer
\parbox and minipage cannot span across pages. – xport Jun 22 '11 at 9:40
@xport: In this case I would recommend framed.. Oh wait ;-) – Martin Scharrer Jun 22 '11 at 10:24
@xport: I just figured that \par\begingroup\hsize=<width> ... \par\endgroup might be also do it and support page breaks. I'm not 100% sure if it is OK this way or if it needs extra care. Anyway, \textwidth, \columnwidth and \linewidth should all be set to \hsize as well, I think. – Martin Scharrer Jul 8 '11 at 16:49

The method with \leftskip and \rightskip doesn't work if the reduced width part of the document contains lists. In this case it's best to define an environment based on list:



One can specify the settings in the following ways, that should be easily understood:


and lists inside the environment will work properly.

share|improve this answer




enter image description here

share|improve this answer

Good feature: The paragraph can span across pages and be enclosed by a fancy frame.

enter image description here


\def\FrameCommand{{\color{red}\vrule width 3pt}\hspace{0pt}\fboxsep=\FrameSep\colorbox{yellow}}%

share|improve this answer
I much prefer the mdframed approach to defining new frame environments: framed's approach is hard to read... – Seamus Jun 22 '11 at 11:34

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.