diff options
author | Karl Berry <karl@freefriends.org> | 2021-08-29 21:03:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-08-29 21:03:21 +0000 |
commit | 3c9042de55cce93a916b1dda1fb7cb4dde5d7fc6 (patch) | |
tree | dc5c74c43a70f9579f21ed8a8e5226af6b92a83d /Master/texmf-dist/tex | |
parent | 5d502f21fd8d2d8a210cd079e3f07bf668e2bcef (diff) |
pm-isomath (29aug21)
git-svn-id: svn://tug.org/texlive/trunk@60368 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty b/Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty index 3946ad56967..e26c254b70c 100644 --- a/Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty +++ b/Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty @@ -14,7 +14,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2019/01/01] \ProvidesPackage{pm-isomath}[% - 2021/05/15 v.1.1.07 + 2021/08/24 v.1.2.00 Poor man package for typesetting ISO compliant math when using pdfLaTeX] @@ -74,7 +74,13 @@ Poor man package for typesetting ISO compliant math when using pdfLaTeX] \switchvaruppercasegreekletters \@ifpackageloaded{alphabeta}{}{\RequirePackage{alphabeta}} -\def\ISOfam{lmr}\def\ISOser{m}\def\ISOsha{n} +\def\Def@Fam{lmr}\edef\ISOfam{\Def@Fam} +\def\ISOser{m} +\def\ISOsha{n} +\AtBeginDocument{% + \unless\ifx\f@family\Def@Fam\edef\ISOfam{\f@family}\fi +} + \NewDocumentCommand\MathLatin{m g O{m} D(){it}}{% \bgroup\edef\y{\IfNoValueTF{#2}{\ISOfam}{#2}}% \edef\x{\noexpand\egroup\noexpand\MLatin{\noexpand#1}{\y}}\x{#3}{#4}% @@ -208,7 +214,6 @@ Poor man package for typesetting ISO compliant math when using pdfLaTeX] \AfterEndPreamble{\let\ped\undefined\let\ap\undefined \DeclareRobustCommand*\ped[1]{% \textormath{\textsubscript{#1}}{_{\mathrm{#1}}}}% -\providecommand\ap{} \DeclareRobustCommand\ap[1]{% \textormath{\textsuperscript{#1}}{^{\mathrm{#1}}}}% \unless\ifcsname unit\endcsname |