diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/nih/denselists.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/nih/denselists.sty | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/nih/denselists.sty b/Master/texmf-dist/tex/latex/nih/denselists.sty new file mode 100644 index 00000000000..d8188083d48 --- /dev/null +++ b/Master/texmf-dist/tex/latex/nih/denselists.sty @@ -0,0 +1,18 @@ +% These definitions for minimizing list spacing come from Michel Goossens, +% as put together by Bruce Donald (http://www.cs.duke.edu/brd/). +% +% You may freely use, modify and/or distribute this file. +% +% Prevent infinite loops +\typeout{Style New lists - dense lists} + +\let\Otemize =\itemize +\let\Onumerate =\enumerate +\let\Oescription =\description +% Zero the vertical spacing parameters +\def\Nospacing{\itemsep=0pt\topsep=0pt\partopsep=0pt\parskip=0pt\parsep=0pt} +% Redefine the environments in terms of the original values +\newenvironment{Itemize}{\Otemize\Nospacing}{\endlist} +\newenvironment{Enumerate}{\Onumerate\Nospacing}{\endlist} +\newenvironment{Description}{\Oescription\Nospacing}{\endlist} + |