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 need to change the indentation that the quote and quotation environments and commands employ. I assume that there is some length I need to set, but I've googled around, and cannot find what I am after. So, how to alter the indentation?

share|improve this question
up vote 22 down vote accepted

What about something like that ?


You can also make the margin size an option:


And use with:

  % ...
share|improve this answer
That works, but modifying the original quote environments seems better; with this, I will have to do a global replace of myquote with quote to return to a fully standard document, whereas by modifying the environment itself, commenting out the modification would suffice. Still, +1 and an acceptance in the future if nothing like what I'd envisioned is forthcoming. – vanden Aug 28 '10 at 2:22
Can't you use \renewenvironment{quote} with the code above instead? – frabjous Aug 28 '10 at 12:51
@frabjous: Well, now that you say that, it is obvious. :-) – vanden Aug 30 '10 at 3:22

Use the etoolbox package to patch the \quote command.

\patchcmd{\quote}{\rightmargin}{\leftmargin 4em \rightmargin}{}{}

(The default definition of \quote is \list{}{\rightmargin\leftmargin}\item\relax.)

share|improve this answer
Sweet! Didn't know of etoolbox; thanks. – vanden Sep 14 '10 at 4:38
What's the advantage of using etoolbox over just a \renewenvironment? – doncherry Jul 4 '11 at 21:43
@doncherry: Selectively changing a definition instead of copy-paste-change may have two advantages: a) Updates of other parts of the definition carry over to your change (but should be monitored) b) If the original definition is long, you may save a lot of writing with a concise partial change. – lockstep Jul 4 '11 at 21:52

I recently released the quoting package which provides a consolidated environment for displayed text as an alternative to quotation and quote. As the main feature, "[f]irst-line indentation is activated by adding a blank line before the quoting environment". With regard to the question at hand: It is also possible to change left-hand and right-hand indentation globally or for single environments using a key--value syntax.





% Removing the comment sign in the following line will activate first-line indentation



share|improve this answer

\advance\leftmargini 2em before \begin{quote} or \begin{quotation}.

share|improve this answer
Works, but affects all list-like environments. – Lev Bishop Aug 27 '10 at 13:34
I haven't tried this, but if you enclose the entire thing in a \begingroup and \endgroup then it should localize the effect. – ESultanik Aug 27 '10 at 13:49

I would modify fredz's answer a bit:


This preserves identation in the beginning of paragraphs. For my own needs I have


to print long quotations in blue color.

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.