summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty')
-rw-r--r--Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty10
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}}