summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-04 22:27:01 +0000
committerKarl Berry <karl@freefriends.org>2021-05-04 22:27:01 +0000
commit872c91a9ad594e73ac59279f431f8fff6a0a8945 (patch)
treeadf9b5e55162710f0cd35c1bba5debae6b1ca8fe
parentb0bd9715b1c3d53f6da98005d98f487af1b9f1f2 (diff)
pm-isomath (5may21)
git-svn-id: svn://tug.org/texlive/trunk@59077 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/pm-isomath/README.txt2
-rw-r--r--Master/texmf-dist/doc/latex/pm-isomath/pm-isomath.pdfbin623653 -> 624109 bytes
-rw-r--r--Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx28
-rw-r--r--Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty14
4 files changed, 25 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/latex/pm-isomath/README.txt b/Master/texmf-dist/doc/latex/pm-isomath/README.txt
index ec1c2597088..cf98e8ff024 100644
--- a/Master/texmf-dist/doc/latex/pm-isomath/README.txt
+++ b/Master/texmf-dist/doc/latex/pm-isomath/README.txt
@@ -1,4 +1,4 @@
- README.txt file for pm-isomath.sty 2021/05/01 v.1.1.00
+ README.txt file for pm-isomath.sty 2021/05/03 v.1.1.01
Distributable under the LaTeX Project Public License,
diff --git a/Master/texmf-dist/doc/latex/pm-isomath/pm-isomath.pdf b/Master/texmf-dist/doc/latex/pm-isomath/pm-isomath.pdf
index a1afcb8d5c9..713e80614d9 100644
--- a/Master/texmf-dist/doc/latex/pm-isomath/pm-isomath.pdf
+++ b/Master/texmf-dist/doc/latex/pm-isomath/pm-isomath.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx b/Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx
index dba0560e67f..466885491a9 100644
--- a/Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx
+++ b/Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx
@@ -8,7 +8,7 @@
\preamble
______________________________________________________
The PM-ISOmath bundle
- Copyright (C) 2017-2020 Claudio Beccari
+ Copyright (C) 2017-2021 Claudio Beccari
All rights reserved
License information appended
@@ -40,7 +40,7 @@ This work consists of this file pm-isomath.dtx, a README.txt file
\endgroup
%</internal>
%
-% Copyright 2017-2020 Claudio Beccari
+% Copyright 2017-2021 Claudio Beccari
%
% This file is part of the PM-ISOmath bundle
% -------------------------------------------
@@ -57,7 +57,7 @@ This work consists of this file pm-isomath.dtx, a README.txt file
%<style>\ProvidesPackage{pm-isomath}[%
%<txt>\ProvidesFile{README.txt}[%
%<*driver,style,txt>
- 2021/05/01 v.1.1.00
+ 2021/05/03 v.1.1.01
%<txt> README file for pm-isomath.sty]
%<style>Poor man package for typesetting ISO compliant math when using pdfLaTeX]
%</driver,style,txt>
@@ -76,6 +76,7 @@ This work consists of this file pm-isomath.dtx, a README.txt file
\usepackage[LGR,T1]{fontenc}
\usepackage{lmodern,textcomp}
\usepackage{pm-isomath}
+\usepackage{siunitx}
\let\originalmeta\meta
\renewcommand\meta[1]{{\normalfont\originalmeta{#1}}}
\def\prog#1{\textsf{#1}}
@@ -103,7 +104,7 @@ This work consists of this file pm-isomath.dtx, a README.txt file
%</driver>
% \fi
%
-% \CheckSum{459}%
+% \CheckSum{460}%
% \begin{abstract}
% The ISO regulations for typesetting math in the field of physics
% and technology are pretty stringent and imply legal questions
@@ -593,6 +594,9 @@ This work consists of this file pm-isomath.dtx, a README.txt file
%\begin{verbatim}
%$1.68\,\micro\ohm\,\mathrm{cm}$ (in text mode: 1.68\unit{\micro\ohm\,cm})
%\end{verbatim}
+% If the |siunitx| package has been loaded (as it is for typesetting
+% this documentation) its unit |ohm| is redefined so as to always be
+% an upright capital omega.
%\subparagraph{A tensor}
%\[ \vectorsymbol{D} =\epsilon_0\tensorsymbol{\epsilon}\ped{r}\vectorsymbol{E}\]
%is typeset with the following code
@@ -672,7 +676,7 @@ This work consists of this file pm-isomath.dtx, a README.txt file
%\frac{\uppartial V}{\uppartial x}\MathLatin{e}[b](it)_x +
%\frac{\uppartial V}{\uppartial y}\MathLatin{e}[b](it)_y +
%\frac{\uppartial V}{\uppartial z}\MathLatin{e}[b](it)_z +
-%\right)\\[\baselineskip]
+%\right)
%\end{align}
%
%\section{Final remarks}
@@ -1101,7 +1105,9 @@ This work consists of this file pm-isomath.dtx, a README.txt file
% The command |\unit| for appending the units of measure to
% the numerical value of the measure is added if no packages
% have already defined it; package |siunitx| is a particularly
-% recommended one. Similar considerations hold true for the
+% recommended one, but its units and prefixes expressed by means
+% of greek letters must be used only within its |\si| and |SI|
+% commands. Similar considerations hold true for the
% |\ap| and |\ped| (apex and pedex, respectively; i.e\
% superscript and subscript); therefore such command definitions
% are deferred to the start of the document so as to be sure
@@ -1151,11 +1157,11 @@ This work consists of this file pm-isomath.dtx, a README.txt file
{\renewcommand*\micro{\ISOmu(rs)}}%
}
%
-\providecommand*\ohm{}
-\AtBeginDocument{\@ifpackageloaded{textcomp}%
- {\renewcommand*\ohm{\textormath{{\textohm}}{\ISOOmega(n)}}}%
- {\renewcommand*\ohm{\ISOOmega(n)}}%
-}
+\providecommand*\ohm{}\def\ISOohm{\ISOOmega(n)}
+\AtBeginDocument{%
+ \@ifpackageloaded{siunitx}{\let\ohm\ISOohm}{\let\ohm\ISOohm}%
+}%
+
%
\global\csletcs{bbl@it@ped}{undefined}
\global\csletcs{bbl@it@ap}{undefined}
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 9c02e0b10ec..1caf8015fd5 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-2020 Claudio Beccari
+%% Copyright (C) 2017-2021 Claudio Beccari
%% All rights reserved
%%
%% License information appended
%%
\NeedsTeXFormat{LaTeX2e}[2017/01/01]
\ProvidesPackage{pm-isomath}[%
- 2021/05/01 v.1.1.00
+ 2021/05/03 v.1.1.01
Poor man package for typesetting ISO compliant math when using pdfLaTeX]
@@ -173,11 +173,11 @@ Poor man package for typesetting ISO compliant math when using pdfLaTeX]
{\renewcommand*\micro{\textormath{\textmu}{\ISOmu(rs)}}}%
{\renewcommand*\micro{\ISOmu(rs)}}%
}
-\providecommand*\ohm{}
-\AtBeginDocument{\@ifpackageloaded{textcomp}%
- {\renewcommand*\ohm{\textormath{{\textohm}}{\ISOOmega(n)}}}%
- {\renewcommand*\ohm{\ISOOmega(n)}}%
-}
+\providecommand*\ohm{}\def\ISOohm{\ISOOmega(n)}
+\AtBeginDocument{%
+ \@ifpackageloaded{siunitx}{\let\ohm\ISOohm}{\let\ohm\ISOohm}%
+}%
+
\global\csletcs{bbl@it@ped}{undefined}
\global\csletcs{bbl@it@ap}{undefined}
\DeclareRobustCommand\textormath{%