Steve Litt wrote:

> 
> So I used the \setstretch{} command to condense wrapped lines of the same 
> item, and then set \parsep and \parskip from -4 to -1 to compensate for the 
> reduced interitem spacing resulting from the \setstretch{}. The result is a 
> very nice list whose multiline items appear as a unit, distinct from other 
> items.
> 
> The following is the code:
> 
> % %%% Vertically denser Itemize style %%%
> \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}{-1pt}
>   \setlength{\parskip}{-1pt}
>   \setstretch{0.8}
>   }{%
>   \endlist
> }
> 
> Please remember that in order to use \setstretch, you must have 
> \usepackage{setspace} preceding it (probably near the top of your preamble).


you'll get the same with a \setlength{\itemsep}{-1ex} in tex(red) at the
end of the first line in a list environment

Herbert


-- 
http://www.lyx.org/help/

Reply via email to