summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty')
-rw-r--r--Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty15
1 files changed, 9 insertions, 6 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 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{%