[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-users
Subject:    Re: changed indentation for quotations [solved]
From:       Markus =?utf-8?q?B=C3=BCchele?= <Markus.Buechele () web ! de>
Date:       2009-05-29 20:05:11
Message-ID: 200905292205.12122.Markus.Buechele () web ! de
[Download RAW message or body]

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic