diff options
author | Karl Berry <karl@freefriends.org> | 2015-12-08 22:08:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-12-08 22:08:55 +0000 |
commit | 32dfcb4c5c886d97931290e76ed02234e8dbe485 (patch) | |
tree | e39cb3e2be2aa0f0c70f2a2023f2891f932075fe /Master/texmf-dist/tex/latex/mfirstuc | |
parent | 5db0950ba6b90723a352862042de9231540decfc (diff) |
mfirstuc (8dec15)
git-svn-id: svn://tug.org/texlive/trunk@39055 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mfirstuc')
-rw-r--r-- | Master/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty b/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty index ed7992e1d6f..06fae7ea38d 100644 --- a/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty +++ b/Master/texmf-dist/tex/latex/mfirstuc/mfirstuc.sty @@ -39,12 +39,22 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mfirstuc}[2015/09/09 v2.0 (NLCT)] +\ProvidesPackage{mfirstuc}[2015/12/08 v2.01 (NLCT)] \RequirePackage{etoolbox} \newif\if@glscs \newtoks\@glsmfirst \newtoks\@glsmrest \newrobustcmd*{\makefirstuc}[1]{% + \@MFU@p@makefirstuc#1\relax\relax\relax\@end@MFU@protected{#1}% +} +\def\@MFU@p@makefirstuc#1#2#3\@end@MFU@protected#4{% + \ifx\protect#1\relax + \@makefirstuc{#2#3}% + \else + \@makefirstuc{#4}% + \fi +} +\newcommand*{\@makefirstuc}[1]{% \def\gls@argi{#1}% \ifx\gls@argi\@empty \else |