[Tex/LaTex] How to indent a block of text for a specified amount?

indentationparagraphsquoting

Possible Duplicate:
Indenting a whole paragraph
Write text with some fixed amount of space from the margin

I would like to indent a paragraph or two for a specific amount.

The quote environment is not suitable, since indentation width is not configurable.

An article suggested using {\addtolength{\leftskip}{5mm} text}, but that doesn't work for me.

Another article suggested a very hacky way, which involved temporarily modifying global margins.

Is there a clean solution for this?

Best Answer

You may use addmargin environment of either a KOMA-Script class or the KOMA-Script package scrextend. Here an example with a standard class and package scrextend:

\documentclass{article}
\usepackage{scrextend}
\usepackage{lipsum}% for demo only!
\begin{document}

\lipsum[1]
\begin{addmargin}[1em]{2em}% 1em left, 2em right
\lipsum[2]
\end{addmargin}
\lipsum[3]
\end{document}

Results in:

enter image description here

Related Question