I am trying to change the spacing in multiple lyxlist environments throughout a document. I realize that this has come up before, but the solutions in the FAQ and at http://www.mail-archive.com/lyx- [EMAIL PROTECTED]/msg07254.html do not seem to solve my problem for lyxlists.

Options I have tried:

- The setspace package does not appear to alter the spacing of lyxlists.

- Modifying the suggestion for enumerate from the FAQ:

        \let\oldlyxlist=\lyxlist
        \def\lyxlist{\oldlyxlist%
        \setlength{\itemsep}{0pt}\setlength{\parsep}{0pt}}

and putting this code in the preamble gives errors (presumably because \lyxlist hasn't been defined yet). Moving it into an ERT box in the document seems to have no effect on the lyxlist environment.

- I tried a renewenvironment in an ERT:

\renewenvironment{lyxlist}{\itemsep=-5pt\topsep=-5pt\partopsep=-5pt \parskip=-5pt\parsep=-5pt}

but that doesn't have any effect. (I admit that this is probably a misguided renewenvironment. I don't really know what I am doing. I was trying to make the macro referenced in the archive work for lyxlist.)

Does anyone have any ideas how I can do this?

Thanks
Kevin

Reply via email to