From c94a02c2dfcdf9763957eefe2f80c61b25e4c96d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 6 Nov 2020 21:52:45 +0000 Subject: pm-isomath (6nov20) git-svn-id: svn://tug.org/texlive/trunk@56868 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex') 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 53758fcf7da..e2b5785c7fc 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}[2017/01/01] \ProvidesPackage{pm-isomath}[% - 2020/06/30 v.1.0.06 + 2020/11/06 v.1.0.07 Poor man package for typesetting ISO compliant math when using pdfLaTeX] @@ -160,12 +160,15 @@ Poor man package for typesetting ISO compliant math when using pdfLaTeX] \providecommand*\diff{} \renewcommand*\diff{\ensuremath{\mathop{}\!\MathLatin{d}(n)}} \providecommand*\micro{} -\renewcommand*\micro{% -\textormath{\ifcsdef{textmicro}{\textmicro}{\ISOmu(rs)}}{\ISOmu(rs)}} +\AtBeginDocument{\@ifpackageloaded{textcomp}% + {\renewcommand*\micro{\textormath{\textmu}{\ISOmu(rs)}}}% + {\renewcommand*\micro{\ISOmu(rs)}}% +} \providecommand*\ohm{} -\AtBeginDocument{\@ifpackageloaded{textcomp}{% -\renewcommand*\ohm{\textormath{{\textohm}}{\ISOOmega(n)}}}% -{\renewcommand*\ohm{\textormath{\ISOOmega(\f@shape)}{\ISOOmega(n)}}}} +\AtBeginDocument{\@ifpackageloaded{textcomp}% + {\renewcommand*\ohm{\textormath{{\textohm}}{\ISOOmega(n)}}}% + {\renewcommand*\ohm{\ISOOmega(n)}}% +} \global\csletcs{bbl@it@ped}{undefined} \global\csletcs{bbl@it@ap}{undefined} \DeclareRobustCommand\textormath{% -- cgit v1.2.3