changed indentation for quotations
Hi, is there a way to change indentation for quotes and quotations in the preamble of a document? I'd need left indentation 0.7cm, right indentation 0cm. All I found was changes inside the document, such as: \par \begingroup \leftskip=2cm % ggf. verstellen \noindent Langer Text \par \endgroup Weiterer Text Not a very encouraging option when you need to change about 1,000 quotations. Thanks for your advice. Markus
Re: changed indentation for quotations
Markus Büchele wrote: Hi, is there a way to change indentation for quotes and quotations in the preamble of a document? I'd need left indentation 0.7cm, right indentation 0cm. All I found was changes inside the document, such as: \par \begingroup \leftskip=2cm % ggf. verstellen \noindent Langer Text \par \endgroup Weiterer Text Not a very encouraging option when you need to change about 1,000 quotations. Exactly what to do depends upon your document class, but the short version is that you can just \renewenvironment the quote environment by copying it out of the class and changing it as you see fit. It's just a list environment. E.g., here are the ones from book.cls: \newenvironment{quotation} {\list{}{\listparindent 1.5em% \itemindent \listparindent \rightmargin \leftmargin \parsep \z@ \...@plus\p@}% \item\relax} {\endlist} \newenvironment{quote} {\list{}{\rightmargin\leftmargin}% \item\relax} {\endlist} You could try putting \setlength\leftmargin{2cm} in there, and adjust as need be, e.g.: \renewenvironment{quote} {\list{}{\setlength\leftmargin{2cm}\rightmargin\leftmargin}% \item\relax} {\endlist} Something like that should work. Richard
Re: changed indentation for quotations [solved]
Richard, thanks a lot! It worked very well. You're my favourite hecker! ;-) I adapted it to: \renewenvironment{quote} {\list{}{\setlength\leftmargin{0.7cm}}% \item\relax} {\endlist} \renewenvironment{quotation} {\list{}{\setlength\leftmargin{0.7cm}}% \item\relax} {\endlist} Cheers and best wishes! Markus Am Freitag, 29. Mai 2009 20:26:58 schrieben Sie: Markus Büchele wrote: Hi, is there a way to change indentation for quotes and quotations in the preamble of a document? I'd need left indentation 0.7cm, right indentation 0cm. All I found was changes inside the document, such as: \par \begingroup \leftskip=2cm % ggf. verstellen \noindent Langer Text \par \endgroup Weiterer Text Not a very encouraging option when you need to change about 1,000 quotations. Exactly what to do depends upon your document class, but the short version is that you can just \renewenvironment the quote environment by copying it out of the class and changing it as you see fit. It's just a list environment. E.g., here are the ones from book.cls: \newenvironment{quotation} {\list{}{\listparindent 1.5em% \itemindent \listparindent \rightmargin \leftmargin \parsep \z@ \...@plus\p@}% \item\relax} {\endlist} \newenvironment{quote} {\list{}{\rightmargin\leftmargin}% \item\relax} {\endlist} You could try putting \setlength\leftmargin{2cm} in there, and adjust as need be, e.g.: \renewenvironment{quote} {\list{}{\setlength\leftmargin{2cm}\rightmargin\leftmargin}% \item\relax} {\endlist} Something like that should work. Richard
changed indentation for quotations
Hi, is there a way to change indentation for quotes and quotations in the preamble of a document? I'd need left indentation 0.7cm, right indentation 0cm. All I found was changes inside the document, such as: \par \begingroup \leftskip=2cm % ggf. verstellen \noindent Langer Text \par \endgroup Weiterer Text Not a very encouraging option when you need to change about 1,000 quotations. Thanks for your advice. Markus
Re: changed indentation for quotations
Markus Büchele wrote: Hi, is there a way to change indentation for quotes and quotations in the preamble of a document? I'd need left indentation 0.7cm, right indentation 0cm. All I found was changes inside the document, such as: \par \begingroup \leftskip=2cm % ggf. verstellen \noindent Langer Text \par \endgroup Weiterer Text Not a very encouraging option when you need to change about 1,000 quotations. Exactly what to do depends upon your document class, but the short version is that you can just \renewenvironment the quote environment by copying it out of the class and changing it as you see fit. It's just a list environment. E.g., here are the ones from book.cls: \newenvironment{quotation} {\list{}{\listparindent 1.5em% \itemindent \listparindent \rightmargin \leftmargin \parsep \z@ \...@plus\p@}% \item\relax} {\endlist} \newenvironment{quote} {\list{}{\rightmargin\leftmargin}% \item\relax} {\endlist} You could try putting \setlength\leftmargin{2cm} in there, and adjust as need be, e.g.: \renewenvironment{quote} {\list{}{\setlength\leftmargin{2cm}\rightmargin\leftmargin}% \item\relax} {\endlist} Something like that should work. Richard
Re: changed indentation for quotations [solved]
Richard, thanks a lot! It worked very well. You're my favourite hecker! ;-) I adapted it to: \renewenvironment{quote} {\list{}{\setlength\leftmargin{0.7cm}}% \item\relax} {\endlist} \renewenvironment{quotation} {\list{}{\setlength\leftmargin{0.7cm}}% \item\relax} {\endlist} Cheers and best wishes! Markus Am Freitag, 29. Mai 2009 20:26:58 schrieben Sie: Markus Büchele wrote: Hi, is there a way to change indentation for quotes and quotations in the preamble of a document? I'd need left indentation 0.7cm, right indentation 0cm. All I found was changes inside the document, such as: \par \begingroup \leftskip=2cm % ggf. verstellen \noindent Langer Text \par \endgroup Weiterer Text Not a very encouraging option when you need to change about 1,000 quotations. Exactly what to do depends upon your document class, but the short version is that you can just \renewenvironment the quote environment by copying it out of the class and changing it as you see fit. It's just a list environment. E.g., here are the ones from book.cls: \newenvironment{quotation} {\list{}{\listparindent 1.5em% \itemindent \listparindent \rightmargin \leftmargin \parsep \z@ \...@plus\p@}% \item\relax} {\endlist} \newenvironment{quote} {\list{}{\rightmargin\leftmargin}% \item\relax} {\endlist} You could try putting \setlength\leftmargin{2cm} in there, and adjust as need be, e.g.: \renewenvironment{quote} {\list{}{\setlength\leftmargin{2cm}\rightmargin\leftmargin}% \item\relax} {\endlist} Something like that should work. Richard
changed indentation for quotations
Hi, is there a way to change indentation for quotes and quotations in the preamble of a document? I'd need left indentation 0.7cm, right indentation 0cm. All I found was changes inside the document, such as: \par \begingroup \leftskip=2cm % ggf. verstellen \noindent Langer Text \par \endgroup Weiterer Text Not a very encouraging option when you need to change about 1,000 quotations. Thanks for your advice. Markus
Re: changed indentation for quotations
Markus Büchele wrote: Hi, is there a way to change indentation for quotes and quotations in the preamble of a document? I'd need left indentation 0.7cm, right indentation 0cm. All I found was changes inside the document, such as: \par \begingroup \leftskip=2cm % ggf. verstellen \noindent Langer Text \par \endgroup Weiterer Text Not a very encouraging option when you need to change about 1,000 quotations. Exactly what to do depends upon your document class, but the short version is that you can just \renewenvironment the quote environment by copying it out of the class and changing it as you see fit. It's just a list environment. E.g., here are the ones from book.cls: \newenvironment{quotation} {\list{}{\listparindent 1.5em% \itemindent \listparindent \rightmargin \leftmargin \parsep \z@ \...@plus\p@}% \item\relax} {\endlist} \newenvironment{quote} {\list{}{\rightmargin\leftmargin}% \item\relax} {\endlist} You could try putting "\setlength\leftmargin{2cm}" in there, and adjust as need be, e.g.: \renewenvironment{quote} {\list{}{\setlength\leftmargin{2cm}\rightmargin\leftmargin}% \item\relax} {\endlist} Something like that should work. Richard
Re: changed indentation for quotations [solved]
Richard, thanks a lot! It worked very well. You're my favourite hecker! ;-) I adapted it to: \renewenvironment{quote} {\list{}{\setlength\leftmargin{0.7cm}}% \item\relax} {\endlist} \renewenvironment{quotation} {\list{}{\setlength\leftmargin{0.7cm}}% \item\relax} {\endlist} Cheers and best wishes! Markus Am Freitag, 29. Mai 2009 20:26:58 schrieben Sie: > Markus Büchele wrote: > > Hi, > > > > is there a way to change indentation for quotes and quotations in the > > preamble of a document? I'd need left indentation 0.7cm, right > > indentation 0cm. > > > > All I found was changes inside the document, such as: > > > > \par > > \begingroup > > \leftskip=2cm % ggf. verstellen > > \noindent Langer Text > > \par > > \endgroup > > Weiterer Text > > > > Not a very encouraging option when you need to change about 1,000 > > quotations. > > Exactly what to do depends upon your document class, but the short > version is that you can just \renewenvironment the quote environment by > copying it out of the class and changing it as you see fit. It's just a > list environment. E.g., here are the ones from book.cls: > > \newenvironment{quotation} > {\list{}{\listparindent 1.5em% > \itemindent \listparindent > \rightmargin \leftmargin > \parsep \z@ \...@plus\p@}% > \item\relax} > {\endlist} > \newenvironment{quote} > {\list{}{\rightmargin\leftmargin}% > \item\relax} > {\endlist} > > You could try putting "\setlength\leftmargin{2cm}" in there, and adjust > as need be, e.g.: > \renewenvironment{quote} > {\list{}{\setlength\leftmargin{2cm}\rightmargin\leftmargin}% > \item\relax} > {\endlist} > Something like that should work. > > Richard