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'll notice what I really did was cannibalize the 
\renewenvironment{itemize} from amsbook.cls, and then add two setlengths. I 
have no idea why this works, but it seems to work quite nicely and gives a 
very nice spacing, while retaining bullets and nesting.

If you use this and want to widen the spacing, simply reduce the absolute 
value of the negative numbers in the \setlength commands. If you want to 
further narrow the spacing, increase their absolute values.

Next, I'll do a similar steal and enhance for the Enumerate environment. 
Hopefully this will knock off 10 or 20 pages from my book, allowing a better 
size for mail order.

When the Enumerate is done I'll post it.

If I've made any horrid mistakes or miscalculations in doing this, please 
feel free to let me know.

Thanks

Steve

-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.




Reply via email to