summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-01 20:16:31 +0000
committerKarl Berry <karl@freefriends.org>2021-05-01 20:16:31 +0000
commit4718de2492a074c4869e5f6ce79ae0977070960d (patch)
treede08bc82b859c43b0b5f61a96187c4a264d465df /Master/texmf-dist/tex
parent4eb343e90751344fc955d659434e86ffbc3de714 (diff)
pm-isomath (1may21)
git-svn-id: svn://tug.org/texlive/trunk@59038 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty15
1 files changed, 12 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 e2b5785c7fc..9c02e0b10ec 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/11/06 v.1.0.07
+ 2021/05/01 v.1.1.00
Poor man package for typesetting ISO compliant math when using pdfLaTeX]
@@ -24,7 +24,7 @@ Poor man package for typesetting ISO compliant math when using pdfLaTeX]
******************************************\MessageBreak
This package should be used only when \MessageBreak
typesetting with pdfLaTeX. \MessageBreak
- Skipping loading the package \MessageBreak
+ Loading this package is skipped \MessageBreak
******************************************\MessageBreak
}{%
******************************************\MessageBreak
@@ -47,7 +47,8 @@ Poor man package for typesetting ISO compliant math when using pdfLaTeX]
\ProcessOptions*\relax
\@ifpackageloaded{amsmath}{}{\RequirePackage{amsmath}}
\@ifpackageloaded{etoolbox}{}{\RequirePackage{etoolbox}}
-\@ifpackageloaded{xparse}{}{\RequirePackage{xparse}}
+\RequirePackage{xparse,xfp}
+\@ifpackageloaded{graphicx}{}{\RequirePackage{graphicx}}
\newcommand\switchvarsymbols[1]{%
\letcs{\tempA}{#1}\csletcs{#1}{var#1}\cslet{var#1}{\tempA}}
%%%%
@@ -159,6 +160,14 @@ Poor man package for typesetting ISO compliant math when using pdfLaTeX]
\renewcommand\uppi{\ISOpi(n)}
\providecommand*\diff{}
\renewcommand*\diff{\ensuremath{\mathop{}\!\MathLatin{d}(n)}}
+\newbox{\PMpartial}
+\AtBeginDocument{%
+\@ifdefinable{\uppartial}%
+ {\NewDocumentCommand\uppartial{O{22}}{\setbox\PMpartial\hbox{$\partial$}%
+ \setbox\PMpartial=\hbox{%
+ \scalebox{1}[\fpeval{cosd #1}]{\rotatebox[origin=br]{#1}{\box\PMpartial}}%
+ }\raisebox{0.35ex}{\box\PMpartial}\mkern-1.25mu}}%
+}
\providecommand*\micro{}
\AtBeginDocument{\@ifpackageloaded{textcomp}%
{\renewcommand*\micro{\textormath{\textmu}{\ISOmu(rs)}}}%