[Tex/LaTex] changing quotation margins temporarily

indentationquoting

I wish to change the margins of the quote environment, but just for a one-off occasion. I don't wish to change the quote environment throughout the document.

I tried to do the following, but it doesn't work..

\documentclass{article}

\begin{document}
This is a normal paragraph. This is a normal paragraph. 
This is a normal paragraph. This is a normal paragraph. This is a normal paragraph. 

\begin{quote}
This is a quote, normally with margins. This is a quote, normally with margins. 
This is a quote, normally with margins. This is a quote, normally with margins. 
\end{quote}

\begin{quote}
\setlength{\leftmargin}{0.1in}
\setlength{\rightmargin}{0.1in}
This other quote needs slimmer margins. This other quote needs slimmer margins. 
This other quote needs slimmer margins. This other quote needs slimmer margins. 
\end{quote}

\end{document}

Best Answer

You should make the change outside the quote environment.

\documentclass{article}

\begin{document}
This is a normal paragraph. This is a normal paragraph.
This is a normal paragraph. This is a normal paragraph. This is a normal paragraph.

\begin{quote}
This is a quote, normally with margins. This is a quote, normally with margins.
This is a quote, normally with margins. This is a quote, normally with margins.
\end{quote}

\begingroup
\addtolength\leftmargini{0.1in}
\begin{quote}
This other quote needs slimmer margins. This other quote needs slimmer margins.
This other quote needs slimmer margins. This other quote needs slimmer margins.
\end{quote}
\endgroup

\begin{quote}
This is a quote, normally with margins. This is a quote, normally with margins.
This is a quote, normally with margins. This is a quote, normally with margins.
\end{quote}

\end{document}

enter image description here

(You could also use two quote environments)