summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-11-02 21:55:51 +0000
committerKarl Berry <karl@freefriends.org>2020-11-02 21:55:51 +0000
commit68aa4241c4ca49714c69c454b44d77d708fe78ef (patch)
treea2e89d91a44129a1220d2d40862151ddd67d958e /Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty
parent9a95a8e746f2afb7015aea9f8df962351f758670 (diff)
spacingtricks (2nov20)
git-svn-id: svn://tug.org/texlive/trunk@56840 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty')
-rw-r--r--Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty17
1 files changed, 10 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty b/Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty
index d966c2f360a..bd9ea824a14 100644
--- a/Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty
+++ b/Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2019 by Antoine Missier <antoine.missier@ac-toulouse.fr>
+%% Copyright (C) 2019-2020 by Antoine Missier <antoine.missier@ac-toulouse.fr>
%%
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3 of this license
@@ -22,8 +22,10 @@
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesPackage{spacingtricks}
- [2019/09/09 v1.2 .dtx spacingtricks file]
+ [2020/11/02 v1.3 .dtx spacingtricks file]
\RequirePackage{ifthen}
+\RequirePackage{calc}
+\RequirePackage{setspace}
\RequirePackage{xspace}
\newcommand*{\centered}[1]{{\setlength{\parskip}{0pt}\par\noindent\hfill
@@ -62,8 +64,9 @@
}{\end{list}}
\newlength{\compactlistindent}
-\setlength{\compactlistindent}{1em}
+\setlength{\compactlistindent}{0.5em}
\newenvironment*{compactlist}[1][\textbullet]{
+ \par % sometimes necessary
\begin{list}{#1\unskip}{% \unskip suppresses the space created by \xspace
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
@@ -89,13 +92,13 @@
\newcommand{\@@dualboxes}[3][1]{
\par\noindent
- \raisebox{-#1\height}{#2} \hfill
- \raisebox{-#1\height}{#3} \smallskip
+ \raisebox{\depth-#1\totalheight}{#2} \hfill
+ \raisebox{\depth-#1\totalheight}{#3} \smallskip
}
\newcommand{\@dualboxes}[3][1]{
\par\noindent \hfill
- \raisebox{-#1\height}{#2} \hfill
- \raisebox{-#1\height}{#3} \hfill\mbox{}\smallskip
+ \raisebox{\depth-#1\totalheight}{#2} \hfill
+ \raisebox{\depth-#1\totalheight}{#3} \hfill\mbox{}\smallskip
}
\newcommand{\dualboxes}{\@ifstar{\@@dualboxes}{\@dualboxes}}