summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/dashundergaps
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-11 22:09:42 +0000
committerKarl Berry <karl@freefriends.org>2020-02-11 22:09:42 +0000
commitd2da7f5f40ade904cccb2e82630d15bd42520ff5 (patch)
treeaad6865fa239e3ccd680c8d855826f4931653ca0 /Master/texmf-dist/tex/latex/dashundergaps
parent8787fd9a7c1efeb888b0a6df1c353359091d1ab2 (diff)
dashundergaps (11feb20)
git-svn-id: svn://tug.org/texlive/trunk@53756 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/dashundergaps')
-rw-r--r--Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty10
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty b/Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty
index 2d53571634f..29b36d13414 100644
--- a/Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty
+++ b/Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty
@@ -34,8 +34,8 @@
%%
%% File: dashundergaps.dtx (C) Copyright 2018-2020 Frank Mittelbach
-\def\dashundergapsdate {2020-01-22} % don't forget to also adjust build.lua!
-\def\dashundergapsversion{v2.0f}
+\def\dashundergapsdate {2020-02-11} % don't forget to also adjust build.lua!
+\def\dashundergapsversion{v2.0g}
\RequirePackage[normalem]{ulem}
\protected\def\dotuline{\leavevmode\bgroup
@@ -79,7 +79,10 @@
{\dashundergapsversion}
{Dashing and underlining phantom text}
-\DeclareDocumentCommand \gap { som } { \__fmdug_gap:nnn {#1}{#2}{#3} }
+\DeclareDocumentCommand \gap { som }
+ {
+ \protected@edef\next{#3}
+ \__fmdug_gap:nno {#1}{#2}{ \next } }
\NewDocumentCommand \dashundergapssetup { m }
{ \keys_set:nn {fmdug} {#1} \ignorespaces }
\DeclareDocumentCommand \TeacherModeOn {}
@@ -259,6 +262,7 @@
{ \l__fmdug_gapnum_format_tl }
\group_end:
}
+\cs_generate_variant:Nn \__fmdug_gap:nnn {nno}
\cs_new:Npn \__fmdug_display_total_gaps: {
\vfill \centering
\bfseries Total~ Gaps:~ \thetotalgapnumber