summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-04-19 22:12:52 +0000
committerKarl Berry <karl@freefriends.org>2020-04-19 22:12:52 +0000
commitb41b10dbca38f8a6b2adbb4865e9e349b49bde16 (patch)
tree7c31c4dc057dd7d98b42bf08353fa120ebb9ee00 /Master/texmf-dist/source
parent9ff300200b9319d8e26447aa07c154b16ed77f01 (diff)
pm-isomath (20apr20)
git-svn-id: svn://tug.org/texlive/trunk@54799 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx190
1 files changed, 101 insertions, 89 deletions
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 1db0734bd7b..e72d09d24ba 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 Claudio Beccari
+ Copyright (C) 2017-2020 Claudio Beccari
All rights reserved
License information appended
@@ -16,16 +16,15 @@
\endpreamble
\postamble
-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.
\endpostamble
@@ -33,6 +32,7 @@ the manifest.txt file, and the derived files:
\askforoverwritefalse
\generate{\file{pm-isomath.sty}{\from{pm-isomath.dtx}{style}}
+ \file{README.txt}{\from{pm-isomath.dtx}{txt}}
}
\def\tmpa{plain}
@@ -40,27 +40,11 @@ the manifest.txt file, and the derived files:
\endgroup
%</internal>
%
-% Copyright 2017 Claudio Beccari
+% Copyright 2017-2020 Claudio Beccari
%
% This file is part of the PM-ISOmath bundle
% -------------------------------------------
%
-% It may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2003/12/01 or later.
-%
-% This file has the LPPL maintenance status "author-maintained".
-%
-% The list of all files belonging to the PM-ISOmath bundle is
-% given in the file `manifest.txt'.
-%
-% The set of derived (unpacked) files belonging to the distribution
-% and covered by LPPL is created by the self unpacking file
-% pm-isomath.dtx which is the principal part of the distribution.
%
% \fi
%
@@ -71,8 +55,10 @@ the manifest.txt file, and the derived files:
\ProvidesFile{pm-isomath.dtx}[%
%</driver>
%<style>\ProvidesPackage{pm-isomath}[%
+%<txt>\ProvidesFile{README.txt}[%
%<*driver,style>
-2018/01/12 v.1.0.04
+2020/04/18 v.1.0.05
+%<txt>Readme file for pm-isomath.sty]
%<style>Poor man package for typesetting ISO compliant math when using pdfLaTeX]
%</driver,style>
%<*driver>
@@ -117,7 +103,7 @@ the manifest.txt file, and the derived files:
%</driver>
% \fi
%
-% ^^A \CheckSum{}%
+% \CheckSum{436}%
% \begin{abstract}
% The ISO regulations for typesetting math in the field of physics
% and technology are pretty stringent and imply legal questions
@@ -142,10 +128,10 @@ the manifest.txt file, and the derived files:
% \section{Introduction}
% The ISO regulations (formerly ISO\,31/XI, now ISO\,80000) are
% stringent rules to typeset mathematics in the domains of physics
-% and applied sciences; their title explicitly mentions ``physics
-% and technology'', but their careful reading lets understand that
-% they apply to all sciences that use the ``mathematics of
-% quantities''. Such entities form a special group or space,
+% and applied sciences; their title explicitly mentions “physics
+% and technology”, but their careful reading lets understand that
+% they apply to all sciences that use the “mathematics of
+% quantities”. Such entities form a special group or space,
% where the elements are couples of two ordered entities $(x, y)$,
% where $y$ represents the unit of measure and $x$ represents the
% ratio of the quantity to the unit of measure. Such paired
@@ -168,9 +154,9 @@ the manifest.txt file, and the derived files:
% explain which symbol is used for which quantity. This is
% where the ISO regulations set some order and establish
% a long list of named quantities with their preferred symbols
-% and their ``normal'' units according to the prescriptions
+% and their “normal” units according to the prescriptions
% of the Comité International des Pois et Mésures, that
-% established the the International System of measures
+% established the International System of measures
% (Systhème International, SI).
%
% This ISO nomenclature is used uniformly by most, if not all,
@@ -210,7 +196,7 @@ the manifest.txt file, and the derived files:
% rules for writing text about mathematics and metrology. It
% is extremely valuable for anglophones, but, with the due
% differences concerning the mother languages, it is extremely
-% useful also for people using other languages than English.
+% useful also for people using languages different from English.
%
% \section{The \pdfLaTeX\ handicaps}
% Users of \pdfLaTeX, on the opposite are in trouble. In facts
@@ -271,7 +257,7 @@ the manifest.txt file, and the derived files:
% Several authors provided packages to help users produce
% perfect documents that fulfil the ISO regulations; I would
% like to cite the excellent Package |ISOmath| by Günter Milde,
-% entitled ``Mathematical style for science and technology''.
+% entitled “Mathematical style for science and technology”.
% It should be the perfect package to use in order to fulfil
% the ISO regulations; sometimes it succeeds with excellent
% results, but more often than not the results are just partial,
@@ -314,13 +300,13 @@ the manifest.txt file, and the derived files:
% is allowed, but serifed italics should be preferred unless
% the ISO rules prescribe a sans serif font. This implies that
% the differential symbol be in upright font to avoid confusion
-% with the physical quantity $d$; the Napier number `e' must be
+% with the physical quantity $d$; the Napier number ‘e’ must be
% set in upright font to avoid confusion with the elementary
% electric charge $e$; the imaginary unit j in electrical
% engineering, (i in other applied sciences) must be set in
% upright font in order to avoid confusion with the electric
% current density $j$ or the electric current $i$; more
-% difficult: the transcendental number $\ISOpi=3.14159\dots$
+% difficult: the transcendental number $\ISOpi=3.14159\dots$
% should be distinguished from the plane angle $\pi$; and similar
% other numerical constants represented by Latin or Greek letters.
% \item
@@ -334,7 +320,7 @@ the manifest.txt file, and the derived files:
% subscript $i$ is a variable because it represents the $i$-th
% element in a sequence, such as $V_0, V_1, V_2, \dots$; on
% the opposite $V_{\mathrm{i}}$ the subscript is an apposition
-% because `i' means, say, `input'.
+% because `i' means, say, ‘input’.
% \item
% Upright bold roman or black board bold symbols represent sets.
% \item
@@ -345,7 +331,7 @@ the manifest.txt file, and the derived files:
% ones are reserved for vectors; but in some sciences also vectors
% may have uppercase letters. Geometrical vectors that might be
% typeset with a medium series upper o lowercase italic letter
-% with an arrow on top of it are nor treated by the ISO
+% with an arrow on top of it are not treated by the ISO
% regulations that speak of vectors irrespective if they are
% considered as one column matrices or oriented segments;
% apparently oriented segments should be treated the same as
@@ -390,7 +376,7 @@ the manifest.txt file, and the derived files:
% Greek letters, especially those packages for French typography,
% where the national rules (in contrast with the ISO regulations)
% require that all math entities typeset with Greek letters be
-% upright. Among these the |fourier| and the |kpfonts|. Other
+% upright. Among such packages therenare |fourier| and |kpfonts|. Other
% packages such as |newpxmath| and |newtxmath| are intended for
% general use, but with suitable options and extra math groups
% let the user employ upright lowercase Greek letters as well as
@@ -428,7 +414,7 @@ the manifest.txt file, and the derived files:
% are the Latin Modern ones that allow a piecewise continuous
% scaling of any available particular font of the collection.
%
-% Needless to say, this poor man solution has advantages and
+% It goes without saying that this poor man solution has advantages and
% disadvantages over the other indicated solutions.
%
% The main advantage is that no math groups are involved,
@@ -436,7 +422,7 @@ the manifest.txt file, and the derived files:
% series and shape that family allows; the default
% family for Greek fonts are the Latin Modern compliant
% LGR encoded collection of CBfonts; they are always
-% available with any updated and complete \TeX\ system
+% available with any up to date and complete \TeX\ system
% installation.
%
% This is also a disadvantage, in the sense that Latin Modern
@@ -448,7 +434,7 @@ the manifest.txt file, and the derived files:
%
% Nevertheless they work very well with the ISO regulations
% and in spite of the disadvantages listed above, they are
-% usable without problems. 'This very documentation is typeset
+% usable without problems. This very documentation is typeset
% with Latin Modern fonts. The examples shown in a following
% section show the ease with which the ISO regulations may be
% fulfilled.
@@ -492,7 +478,7 @@ the manifest.txt file, and the derived files:
% specified with \marg{family}\oarg{series}\parg{shape} are all
% 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).
+% argument are respectively |lmr|, |m|, and |n| (normal, upright).
%
% Such default values, after loading |pm-isomath|, may be globally
% redefined by using in the preamble:
@@ -511,8 +497,8 @@ the manifest.txt file, and the derived files:
% For Latin letters to use in the |\MathLatin| command mandatory
% argument there are no problems.
%
-% For Greek letters you might use |\MathGreek| and the math lette
-%r commands |\alpha|, |\beta|,\dots, |\Omega| commands, but it is
+% For Greek letters you might use |\MathGreek| and the math letter
+% commands |\alpha|, |\beta|,\dots, |\Omega| commands, but it is
% much simpler to avoid|\MathGreek| and
% use the package commands |\ISOalpha|, |\ISObeta|,\dots,
% |\ISOOmega|. All these commands follow the syntax:
@@ -567,25 +553,25 @@ the manifest.txt file, and the derived files:
%\begin{table}[!tb]
%\def\T#1{\cs{ISO#1} & \csuse{ISO#1}[bx]}
%\[\begin{array}{lclclclc}
-%\T{alpha} & \T{beta} &
-%\T{gamma} & \T{delta} \\
-%\T{epsilon} & \T{zeta} &
-%\T{eta} & \T{theta} \\
-%\T{iota} & \T{kappa} &
-%\T{lambda} & \T{mu} \\
-%\T{nu} & \T{xi} &
-%\T{omicron}& \T{pi} \\
-%\T{rho} & \T{sigma} &
-%\T{tau} & \T{upsilon} \\
-%\T{phi} & \T{chi} &
-%\T{psi} & \T{omega} \\
-%\T{Gamma} & \T{Delta} &
-%\T{Eta} & \T{Theta} \\
-%\T{Lambda} & \T{Xi} &
-%\T{Pi} & \T{Rho} \\
-%\T{Sigma} & \T{Upsilon} &
-%\T{Phi} & \T{Chi} \\
-%&&\T{Psi} & \T{Omega}
+%\T{alpha} & \T{beta} &
+%\T{gamma} & \T{delta} \\
+%\T{epsilon} & \T{zeta} &
+%\T{eta} & \T{theta} \\
+%\T{iota} & \T{kappa} &
+%\T{lambda} & \T{mu} \\
+%\T{nu} & \T{xi} &
+%\T{omicron} & \T{pi} \\
+%\T{rho} & \T{sigma} &
+%\T{tau} & \T{upsilon} \\
+%\T{phi} & \T{chi} &
+%\T{psi} & \T{omega} \\
+%\T{Gamma} & \T{Delta} &
+%\T{Eta} & \T{Theta} \\
+%\T{Lambda} & \T{Xi} &
+%\T{Pi} & \T{Rho} \\
+%\T{Sigma} & \T{Upsilon} &
+%\T{Phi} & \T{Chi} \\
+%&&\T{Psi} & \T{Omega}
%\end{array}\]
%\caption{The \cs{ISO}\meta{letter} macros and their rendering in bold style}
%\label{tab:isoletters}
@@ -697,8 +683,8 @@ the manifest.txt file, and the derived files:
% loading mechanism assures avoiding conflicts if packages are
% loaded without options; this is why if one of the three packages
% is loaded after this one but with some option specified, an
-% ``Option clash"" error flag is raised; this is where the
-% ``weak'' loading error becomes a very ``strong'' one.
+% “Option clash” error flag is raised; this is where the
+% “weak” loading error becomes a very “strong” one.
%\iffalse
%<*style>
@@ -735,12 +721,12 @@ the manifest.txt file, and the derived files:
% \end{macrocode}
% Actually this package accepts an option: |engineer|. This
% option is for deciding if the imaginary unit should be
-% defined as `i' or `j'. As we have remarked in the previous
+% defined as ‘i’ or ‘j’. As we have remarked in the previous
% documentation, engineers, especially those who deal with
% electricity and electrical quantities, but also electronics, control
-% and telecommunications engineers, use only `j'; all these
+% and telecommunications engineers, use ‘j’; all these
% varieties of engineers could not do anything in their profession
-% if they don't use complex numbers and quantities (the latter
+% if they don't use complex numbers and quantities (the latter
% called phasors). Possibly they are the applied scientists
% who use complex numbers more than any other scientist.
% Note: this option has \emph{not} been used to prepare this
@@ -817,7 +803,7 @@ the manifest.txt file, and the derived files:
% We should not care for the font names, but in order to use
% different font families, series, and shapes the user should
% know their codes. this is generally a difficult task, but
-% not impossible; it ``suffices'' to open the packages that
+% not impossible; it “suffices” to open the packages that
% allow to use the desired fonts, read the code and find out
% the names of the |.fd| files; then search these files on the
% trees of the \TeX\ system, and eventually find out the
@@ -843,18 +829,18 @@ the manifest.txt file, and the derived files:
% & & upright italics & ui & upright italics& ui \\
% & & small caps & sc & small caps & sc \\
%\midrule
-% bold & b & & & lipsian & li \\
-% & & normal & n & & \\
-% & & slanted & sl & & \\
+% bold & b & & & lipsian & li \\
+% & & normal & n & & \\
+% & & slanted & sl & & \\
%\midrule
-% bold extended& bx & normal & n & normal & n \\
-% & & italics & it & italics & it \\
-% & & slanted & sl & slanted & sl \\
-% & & & & lipsian & li \\
-% & & & & serif & rs \\
-% & & & & serif oblique & rs \\
-% & & & & upright italics & ui \\
-% & & & & small caps & sc \\
+% bold extended& bx & normal & n & normal & n \\
+% & & italics & it & italics & it \\
+% & & slanted & sl & slanted & sl \\
+% & & & & lipsian & li \\
+% & & & & serif & rs \\
+% & & & & serif oblique & rs \\
+% & & & & upright italics & ui \\
+% & & & & small caps & sc \\
%\bottomrule
%\end{tabular}
%\caption{Seres and shapes available with the Latin Modern regular family with Latin and Greek fonts}
@@ -982,17 +968,19 @@ the manifest.txt file, and the derived files:
% any math group), and sans serif in both normal and bold
% slanted shape.
% \begin{macrocode}
-\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)}}
% \end{macrocode}
% Package |ISOmath| defines macros for typesetting vectors,
% matrices and tensors; we do the same, but avoid the
% abbreviation |sym| in place of |symbol|.
% \begin{macrocode}
+\AtBeginDocument{%
\let\vectorsymbol\mathbfit
\let\matrixsymbol\mathbfit
-\let\tensorsymbol\mathsfbfit
+\let\tensorsymbol\mathsfbfit}
% \end{macrocode}
%
% We now define some macros for setting some elements in the
@@ -1009,10 +997,10 @@ the manifest.txt file, and the derived files:
% commands |\iunit| and |\junit| are still available to the
% user.
%
-% The Napier number `e' is defined in roman type, but as an
+% The Napier number ‘e’ is defined in roman type, but as an
% operator; this number is not an operator in the mathematical
% sense, but it is most often used as the base of an exponential;
-% therefore such math ``atom'' must be treated as an
+% therefore such math “atom” must be treated as an
% operator as well as when the official operator macro |\exp|
% is used.
%
@@ -1028,7 +1016,7 @@ the manifest.txt file, and the derived files:
%
% The differential symbol is not an operator, but it requires
% a special treatment; a macro |\diff| for the differential
-% symbol uses an empty`operator' and a negative shift to typeset
+% symbol uses an empty `operator' and a negative shift to typeset
% an upright letter `d' with an operator spacing on its left,
% so that proper spacing is used in math typesetting; notice
% that the given definition does not perform as the direct
@@ -1040,7 +1028,7 @@ the manifest.txt file, and the derived files:
% 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. 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
@@ -1076,8 +1064,8 @@ the manifest.txt file, and the derived files:
\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}{%
@@ -1112,6 +1100,30 @@ the manifest.txt file, and the derived files:
%\iffalse
%</style>
%\fi
+%\iffalse
+%<*txt>
+%\fi
+% \begin{macrocode}
+
+ This bundle has the LPPL maintenance status "author-maintained".
+
+ The list of all files belonging to the PM-ISOmath bundle is
+ pm-isomath.dtx, a README.txt file
+ with the derived files: pm-isomath.sty, pm-isomath.pdf.
+
+ The set of derived (unpacked) files belonging to the distribution
+ and covered by LPPL is created by the self unpacking file
+ pm-isomath.dtx which is the principal part of the distribution.
+
+ In the TDS composed of various branches they should be in the
+ following folders:
+ .../tex/latex/pm-isomath/ contains pm-isomath.sty
+ .../doc/latex/pm-isomath/ contains pm-isomath.pdf and README.txt
+ .../source/latex/pm-isomath contians pm-isomath.dtx
+% \end{macrocode}
+%\iffalse
+%</txt>
+%\fi
%\Finale
% \endinput \ No newline at end of file