diff options
author | Karl Berry <karl@freefriends.org> | 2021-09-20 20:02:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-09-20 20:02:00 +0000 |
commit | d313b30f43011c10220b10b39e52de01aca9226e (patch) | |
tree | 6c1b4d99d666fab767572d9d7af50d35190cd2d1 /Master/texmf-dist/tex/latex/spacingtricks | |
parent | 19ab16ae7710544e10ce46301a294595759f781e (diff) |
spacingtricks (20sep21)
git-svn-id: svn://tug.org/texlive/trunk@60559 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 | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty b/Master/texmf-dist/tex/latex/spacingtricks/spacingtricks.sty index bd9ea824a14..fe0c2a111b1 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-2020 by Antoine Missier <antoine.missier@ac-toulouse.fr> +%% Copyright (C) 2019-2021 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,14 +22,14 @@ %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{spacingtricks} - [2020/11/02 v1.3 .dtx spacingtricks file] + [2021/09/20 v1.4 .dtx spacingtricks file] \RequirePackage{ifthen} \RequirePackage{calc} \RequirePackage{setspace} \RequirePackage{xspace} \newcommand*{\centered}[1]{{\setlength{\parskip}{0pt}\par\noindent\hfill - #1\hfill\mbox{}}} + #1\hfill\mbox{}}} \newcommand{\footnotespace}{} \newcommand{\footnoteindent}{} \let\footnt\footnote @@ -55,29 +55,29 @@ \newenvironment*{indentblock}[1][\parindentlength]{ \begin{list}{}{% - \setlength{\leftmargin}{#1} - \setlength{\itemsep}{0pt} - \setlength{\topsep}{1ex} - \setlength{\partopsep}{0pt} + \setlength{\leftmargin}{#1} + \setlength{\itemsep}{0pt} + \setlength{\topsep}{1ex} + \setlength{\partopsep}{0pt} } - \item[] - }{\end{list}} + \item[] + }{\end{list}} \newlength{\compactlistindent} \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} - \setlength{\topsep}{0ex} - \setlength{\partopsep}{0pt} - \setlength{\labelwidth}{1em} - \setlength{\leftmargin}{\labelwidth} - \addtolength{\leftmargin}{\labelsep} - \addtolength{\leftmargin}{\compactlistindent} + \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}} + }{\end{list}} \providecommand{\bul}{\textbullet} \providecommand{\dash}{\textendash} @@ -94,12 +94,12 @@ \par\noindent \raisebox{\depth-#1\totalheight}{#2} \hfill \raisebox{\depth-#1\totalheight}{#3} \smallskip - } +} \newcommand{\@dualboxes}[3][1]{ \par\noindent \hfill \raisebox{\depth-#1\totalheight}{#2} \hfill \raisebox{\depth-#1\totalheight}{#3} \hfill\mbox{}\smallskip - } +} \newcommand{\dualboxes}{\@ifstar{\@@dualboxes}{\@dualboxes}} \endinput |