diff options
author | Karl Berry <karl@freefriends.org> | 2019-09-06 21:13:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-09-06 21:13:15 +0000 |
commit | 672ea6ad9ccdaf9dd827a8a0d9c41e18a07cc6ab (patch) | |
tree | d406ee4bf182ae48928d03a920c823486871a355 /Master/texmf-dist/tex/latex/spacingtricks | |
parent | dee60691b7fd1a27fde4cd2551c338dff5530c79 (diff) |
spacingtricks (6sep19)
git-svn-id: svn://tug.org/texlive/trunk@52040 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/spacingtricks')
-rw-r--r-- | Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty b/Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty index d026b759d57..35064ab25a2 100644 --- a/Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty +++ b/Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty @@ -22,7 +22,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{spacingtricks} - [2019/06/26 v1.0 .dtx spacingtricks file] + [2019/09/06 v1.1 .dtx spacingtricks file] \RequirePackage{ifthen} \RequirePackage{xspace} @@ -61,14 +61,18 @@ \item[] }{\end{list}} +\newlength{\compactlistindent} +\setlength{\compactlistindent}{1em} \newenvironment*{compactlist}[1][\textbullet]{ \begin{list}{#1\unskip}{% \unskip suppresses the space created by \xspace - \setlength{\labelwidth}{1em} - %\setlength{\leftmargin}{\labelwidth} % indentation \setlength{\itemsep}{0pt} \setlength{\parsep}{0pt} \setlength{\topsep}{0ex} \setlength{\partopsep}{0pt} + \setlength{\labelwidth}{1em} + \setlength{\leftmargin}{\labelwidth} + \addtolength{\leftmargin}{\labelsep} + \addtolength{\leftmargin}{\compactlistindent} } }{\end{list}} |