summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pm-isomath/pm-isomath.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-11-07 03:00:56 +0000
committerNorbert Preining <norbert@preining.info>2020-11-07 03:00:56 +0000
commitec3426946c37f270d71e8c4ad19d37beea726e7d (patch)
tree4f9a4ffaa8d056d3d160ba1be76408a2e20d6fb7 /macros/latex/contrib/pm-isomath/pm-isomath.dtx
parentac4210da60306c356c4f9344b65e1f8345314267 (diff)
CTAN sync 202011070300
Diffstat (limited to 'macros/latex/contrib/pm-isomath/pm-isomath.dtx')
-rw-r--r--macros/latex/contrib/pm-isomath/pm-isomath.dtx33
1 files changed, 18 insertions, 15 deletions
diff --git a/macros/latex/contrib/pm-isomath/pm-isomath.dtx b/macros/latex/contrib/pm-isomath/pm-isomath.dtx
index 9e456241ff..106ca10d1d 100644
--- a/macros/latex/contrib/pm-isomath/pm-isomath.dtx
+++ b/macros/latex/contrib/pm-isomath/pm-isomath.dtx
@@ -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>
- 2020/06/30 v.1.0.06
+ 2020/11/06 v.1.0.07
%<txt> README file for pm-isomath.sty]
%<style>Poor man package for typesetting ISO compliant math when using pdfLaTeX]
%</driver,style,txt>
@@ -74,7 +74,7 @@ This work consists of this file pm-isomath.dtx, a README.txt file
\usepackage{metalogo,multicol,enumitem,url,booktabs}
\usepackage[utf8]{inputenc}
\usepackage[LGR,T1]{fontenc}
-\usepackage{lmodern}
+\usepackage{lmodern,textcomp}
\usepackage{pm-isomath}
\let\originalmeta\meta
\renewcommand\meta[1]{{\normalfont\originalmeta{#1}}}
@@ -479,10 +479,10 @@ This work consists of this file pm-isomath.dtx, a README.txt file
% optional, including the first one in spite of being surrounded
% by curly braces. In both cases the default values for each
% argument are respectively |lmr|, |m|, and |n| (normal, upright).
-% Notice the codes: |lmr|, |m|, and|n| are the codes that appear in
+% Notice the codes: |lmr|, |m|, and |n| are the codes that appear in
% the |.fd| file to declare the possible family, series, and shape
-% combinations available for a given family. Se bellow further
-% information in table~\ref{tab:lmr-series-shapes} on
+% combinations available for a given family. Below further
+% information is given in table~\ref{tab:lmr-series-shapes} on
% page~\pageref{tab:lmr-series-shapes}, and how to discover these codes.
%
% Such default values, after loading |pm-isomath|, may be globally
@@ -493,10 +493,10 @@ This work consists of this file pm-isomath.dtx, a README.txt file
%\cs{renewcommand}\Marg{ISOsha}\marg{shape}
%\end{ttsintassi}
% We discourage this global redefinitions unless the user really
-% knows what s/he is doing; in practice it must be checked that
+% knows what s/he is doing; in practice it must be checked that
% T1 encoded families and LGR encoded ones have the same family
% names. If the encoding+family|.fd| files are not available
-% either they have to be created, or such default values should
+% either they have to be created, or such default values should
% not be redefined.
%
% For Latin letters to use in the |\MathLatin| command mandatory
@@ -533,7 +533,7 @@ This work consists of this file pm-isomath.dtx, a README.txt file
% for the |\ohm| unit of measure and the |\micro| SI prefix;
% this latter macro uses a special shape of the CBfonts where
% an upright shape with serifed lowercase Greek letters is
-% available; if another family lacking this shape is being used,
+% available; if another family, lacking this shape, is being used,
% then the normal upright shape is used. In typesetting this
% documentation, evidently there are no problems, but with other
% font selections, especially with Greek fonts, there might be
@@ -545,7 +545,7 @@ This work consists of this file pm-isomath.dtx, a README.txt file
%
% \section{Examples}
% \subparagraph{ISO Greek letters}
-% In example represented in table~\ref{tab:isoletters} we typeset
+% In the examples represented in table~\ref{tab:isoletters}, we typeset
% an array in math mode, where we show all the Greek letters that
% can be typeset with the \cs{ISO}\meta{lettername} macros; the
% array is typeset in normal math style, but the ISO letters are
@@ -1069,13 +1069,16 @@ This work consists of this file pm-isomath.dtx, a README.txt file
\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}