summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/nih/denselists.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-09-30 22:15:42 +0000
committerKarl Berry <karl@freefriends.org>2006-09-30 22:15:42 +0000
commitfaa731ffb480e9d2c507ea601ebd303ba25688d8 (patch)
tree8cfb7209bcde3faeaacb6eddd4d5a453ece61bf5 /Master/texmf-dist/tex/latex/nih/denselists.sty
parent1e8938a1ca753dde6c8800b1389d314c0a42dbe4 (diff)
new package nih (29sep06)
git-svn-id: svn://tug.org/texlive/trunk@2230 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/nih/denselists.sty')
-rw-r--r--Master/texmf-dist/tex/latex/nih/denselists.sty18
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}
+