texlive[59077] Master/texmf-dist: pm-isomath (5may21)
commits+karl at tug.org
commits+karl at tug.org
Wed May 5 00:27:01 CEST 2021
Revision: 59077
http://tug.org/svn/texlive?view=revision&revision=59077
Author: karl
Date: 2021-05-05 00:27:01 +0200 (Wed, 05 May 2021)
Log Message:
-----------
pm-isomath (5may21)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/pm-isomath/README.txt
trunk/Master/texmf-dist/doc/latex/pm-isomath/pm-isomath.pdf
trunk/Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx
trunk/Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty
Modified: trunk/Master/texmf-dist/doc/latex/pm-isomath/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pm-isomath/README.txt 2021-05-04 22:26:44 UTC (rev 59076)
+++ trunk/Master/texmf-dist/doc/latex/pm-isomath/README.txt 2021-05-04 22:27:01 UTC (rev 59077)
@@ -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,
Modified: trunk/Master/texmf-dist/doc/latex/pm-isomath/pm-isomath.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx 2021-05-04 22:26:44 UTC (rev 59076)
+++ trunk/Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx 2021-05-04 22:27:01 UTC (rev 59077)
@@ -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 @@
\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 @@
%<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 @@
\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 @@
%</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 @@
%\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 @@
%\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 @@
% 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 @@
{\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 at it@ped}{undefined}
\global\csletcs{bbl at it@ap}{undefined}
Modified: trunk/Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty 2021-05-04 22:26:44 UTC (rev 59076)
+++ trunk/Master/texmf-dist/tex/latex/pm-isomath/pm-isomath.sty 2021-05-04 22:27:01 UTC (rev 59077)
@@ -7,7 +7,7 @@
%% 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
@@ -14,7 +14,7 @@
%%
\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 @@
{\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 at it@ped}{undefined}
\global\csletcs{bbl at it@ap}{undefined}
\DeclareRobustCommand\textormath{%
More information about the tex-live-commits
mailing list.