From 1bbee619d358bad552a4d4aec4f8dc7637e1d846 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 13 Nov 2017 23:52:25 +0000
Subject: glossaries-extra (13nov17)

git-svn-id: svn://tug.org/texlive/trunk@45786 c570f23f-e606-0410-a88d-b1316a301751
---
 .../glossaries-extra-stylemods.sty                 | 46 +++++++++++++++++++++-
 1 file changed, 45 insertions(+), 1 deletion(-)

(limited to 'Master/texmf-dist/tex/latex/glossaries-extra/glossaries-extra-stylemods.sty')

diff --git a/Master/texmf-dist/tex/latex/glossaries-extra/glossaries-extra-stylemods.sty b/Master/texmf-dist/tex/latex/glossaries-extra/glossaries-extra-stylemods.sty
index 2cf66fff322..049342b2f73 100644
--- a/Master/texmf-dist/tex/latex/glossaries-extra/glossaries-extra-stylemods.sty
+++ b/Master/texmf-dist/tex/latex/glossaries-extra/glossaries-extra-stylemods.sty
@@ -39,7 +39,7 @@
 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %%   Right brace   \}     Tilde         \~}
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{glossaries-extra-stylemods}[2017/11/08 v1.22 (NLCT)]
+\ProvidesPackage{glossaries-extra-stylemods}[2017/11/12 v1.23 (NLCT)]
 \newcommand*{\@glsxtr@loadstyles}{}
 \DeclareOption{all}{%
   \appto\@glsxtr@loadstyles{%
@@ -742,6 +742,50 @@
   \newcommand*{\xglssetwidest}[2][0]{%
     \protected@csxdef{@glswidestname\romannumeral#1}{#2}%
   }
+  \newcommand*{\glsupdatewidest}[2][0]{%
+    \ifcsundef{@glswidestname\romannumeral#1}%
+    {\csdef{@glswidestname\romannumeral#1}{#2}}%
+    {%
+      \settowidth{\dimen@}{\csuse{@glswidestname\romannumeral#1}}%
+      \settowidth{\dimen@ii}{#2}%
+      \ifdim\dimen@ii>\dimen@
+       \csdef{@glswidestname\romannumeral#1}{#2}%
+      \fi
+    }%
+  }
+  \newcommand*{\gglsupdatewidest}[2][0]{%
+    \ifcsundef{@glswidestname\romannumeral#1}%
+    {\csgdef{@glswidestname\romannumeral#1}{#2}}%
+    {%
+      \settowidth{\dimen@}{\csuse{@glswidestname\romannumeral#1}}%
+      \settowidth{\dimen@ii}{#2}%
+      \ifdim\dimen@ii>\dimen@
+       \csgdef{@glswidestname\romannumeral#1}{#2}%
+      \fi
+    }%
+  }
+  \newcommand*{\eglsupdatewidest}[2][0]{%
+    \ifcsundef{@glswidestname\romannumeral#1}%
+    {\protected@csedef{@glswidestname\romannumeral#1}{#2}}%
+    {%
+      \settowidth{\dimen@}{\csuse{@glswidestname\romannumeral#1}}%
+      \settowidth{\dimen@ii}{#2}%
+      \ifdim\dimen@ii>\dimen@
+       \protected@csedef{@glswidestname\romannumeral#1}{#2}%
+      \fi
+    }%
+  }
+  \newcommand*{\xglsupdatewidest}[2][0]{%
+    \ifcsundef{@glswidestname\romannumeral#1}%
+    {\protected@csxdef{@glswidestname\romannumeral#1}{#2}}%
+    {%
+      \settowidth{\dimen@}{\csuse{@glswidestname\romannumeral#1}}%
+      \settowidth{\dimen@ii}{#2}%
+      \ifdim\dimen@ii>\dimen@
+       \protected@csxdef{@glswidestname\romannumeral#1}{#2}%
+      \fi
+    }%
+  }
   \newcommand*{\glsgetwidestname}{\@glswidestname}
   \newcommand*{\glsgetwidestsubname}[1]{%
     \ifcsundef{@glswidestname\romannumeral#1}%
-- 
cgit v1.2.3

