On Thu, 22 Nov 2001, Steve Litt wrote:

> Hi everyone,
>
> Your mileage may vary, but here's how I vertically condensed my Itemize
> environment:
>
> \renewenvironment{itemize}{%
>   \ifnum\@itemdepth>3 \@toodeep
>   \else \advance\@itemdepth\@ne
>     \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
>     \list{\csname\@itemitem\endcsname}%
>       {\def\makelabel##1{\hss\llap{\upshape##1}}}%
>   \fi
>   \setlength{\parsep}{-4pt}
>   \setlength{\parskip}{-4pt}
>   }{%
>   \endlist
> }
>
> I simply put the preceding code between a Preamble and EndPreamble statement
> in my layout file. There was no need to change the LyX representation,
> because the original LyX representation is faithful enough.

You might like to take a look at foils.cls and its definition of
        \zerolistvertdimens

which sets a few lengths for compacted list-based environments. You
simply place the command as ERT at the start of the first item of
list, enumerate, itemize, description etc. environments.

You might like to take a look at "The LaTeX Companion" for a very good
description of all the different lengths.

You could also make use of it in your above strategy.

Allan. (ARRae)

Reply via email to