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.sty25
1 files changed, 13 insertions, 12 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 102b66e89c8..899bf4d863b 100644
--- a/Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty
+++ b/Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty
@@ -7,14 +7,14 @@
%% pm-isomath.dtx (with options: `style')
%% ______________________________________________________
%% The PM-ISOmath bundle
-%% Copyright (C) 2017 Claudio Beccari
+%% Copyright (C) 2017-2020 Claudio Beccari
%% All rights reserved
%%
%% License information appended
%%
\NeedsTeXFormat{LaTeX2e}[2017/01/01]
\ProvidesPackage{pm-isomath}[%
-2018/01/12 v.1.0.04
+2020/04/18 v.1.0.05
Poor man package for typesetting ISO compliant math when using pdfLaTeX]
@@ -138,12 +138,14 @@ Poor man package for typesetting ISO compliant math when using pdfLaTeX]
\csname mathit \endcsname\fi
\def\ISOsha{it}\expandafter\use@mathgroup
\csname M@OT1\endcsname{9}}
-\newcommand\mathbfit[1]{\MathLatin{#1}{lmr}[bx](it)}
-\newcommand\mathsfit[1]{\MathLatin{#1}{lmss}[m](sl)}
-\newcommand\mathsfbfit[1]{\MathLatin{#1}{lmss}[bx](sl)}
+\AtBeginDocument{%
+\providecommand\mathbfit[1]{\MathLatin{#1}{lmr}[bx](it)}
+\providecommand\mathsfit[1]{\MathLatin{#1}{lmss}[m](sl)}
+\providecommand\mathsfbfit[1]{\MathLatin{#1}{lmss}[bx](sl)}}
+\AtBeginDocument{%
\let\vectorsymbol\mathbfit
\let\matrixsymbol\mathbfit
-\let\tensorsymbol\mathsfbfit
+\let\tensorsymbol\mathsfbfit}
\newcommand\iunit{\MathLatin{i}(n)}
\newcommand\junit{\MathLatin{j}(n)}
\ifengineer
@@ -158,8 +160,8 @@ 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)}}
+\renewcommand*\micro{%
+\textormath{\ifcsdef{textmicro}{\textmicro}{\ISOmu(rs)}}{\ISOmu(rs)}}
\providecommand*\ohm{}
\AtBeginDocument{\@ifpackageloaded{textcomp}{%
\renewcommand*\ohm{\textormath{{\textohm}}{\ISOOmega(n)}}}%
@@ -180,16 +182,15 @@ Poor man package for typesetting ISO compliant math when using pdfLaTeX]
\fi}
%%
-%% Copyright 2017 Claudio Beccari
%%
%% Distributable under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
%% this license is at: http://www.latex-project.org/lppl.txt
%%
-%% This work is "author-maintained"
+%% This work is "maintained"
%%
-%% This work consists of this file pm-isomath.dtx, a README file
-%% the manifest.txt file, and the derived files:
+%% This work consists of this file pm-isomath.dtx, a README.txt file
+%% and the derived files:
%% pm-isomath.sty, pm-isomath.pdf.
%%
%%