summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/pm-isomath
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-12-07 23:14:48 +0000
committerKarl Berry <karl@freefriends.org>2017-12-07 23:14:48 +0000
commita1e3748b2a855f1a0c875df7f9585e1a01c44d9a (patch)
tree5ccf5e657c7ddb77a0c9657e2e6103ce11c6c71d /Master/texmf-dist/source/latex/pm-isomath
parent19ca5ad9055c34322b8400af8c7b1b83f65d7829 (diff)
pm-isomath (7dec17)
git-svn-id: svn://tug.org/texlive/trunk@46012 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/pm-isomath')
-rw-r--r--Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx326
1 files changed, 163 insertions, 163 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 7461ddd510e..1c45e9a74c4 100644
--- a/Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx
+++ b/Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx
@@ -50,7 +50,7 @@ the manifest.txt file, and the derived files:
% 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.3 or later is part of all distributions of LaTeX
+% 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".
@@ -72,7 +72,7 @@ the manifest.txt file, and the derived files:
%</driver>
%<style>\ProvidesPackage{pm-isomath}[%
%<*driver,style>
-2017/08/22 v.1.0.00
+2017/12/07 v.1.0.02
%<style>Poor man package for typesetting ISO compliant math when using pdfLaTeX]
%</driver,style>
%<*driver>
@@ -83,7 +83,7 @@ the manifest.txt file, and the derived files:
\GetFileInfo{pm-isomath.dtx}
\title{\texttt{PM-ISOmath}\\The Poor Man ISO math bundle}
\date{\fileversion\space--- \filedate}
- \author{Claudio Beccari\thanks{E-mail: \texttt{claudio dot beccari at gmail dot com}}}
+\author{Claudio Beccari\thanks{E-mail: \texttt{claudio dot beccari at gmail dot com}}}
\usepackage{metalogo,multicol,enumitem,url,booktabs}
\usepackage[utf8]{inputenc}
@@ -121,9 +121,9 @@ the manifest.txt file, and the derived files:
% \begin{abstract}
% The ISO regulation for typesetting math in the field of physics
% and technology are pretty stringent and imply legal questions
-% that we do not treat here; It suffices to say the an
-% ``Expertise'' for a Legal Court that does not fulfil such
-% regulations in certain countries may be rejected by the Court,
+% that we do not treat here; it suffices to say that in certain
+% countries an ``Expertise'' for a Legal Court that does not
+% fulfil such regulations may be rejected by the Court,
% independently from its expert contents.
%
% Authors may not like them, but in the filed of \emph{applied
@@ -143,20 +143,20 @@ the manifest.txt file, and the derived files:
% 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 let understand that
-% they apply to alla sciences that use the ``mathematics of
+% 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 elements $(x, y)$,
+% 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
-% elements may not e separated, therefore some special
+% entities may not e separated, therefore some special
% mathematical rules are established in order to operate on
-% such entities.
+% quanties.
%
-% Add to these special mathematical bases the facto that the
+% Add to these special mathematical bases the fact that the
% measure component of the quantity is pretty fuzzy and it
% is always accompanied by a certain degree of uncertainty;
-% metrologists are the the masters in measuring quantities
+% metrologists are the masters in measuring quantities
% and handling their measures and uncertainties, but although
% for simplicity measures are handled by lay people as rational
% numbers (after all aren't the the ratio of something to be
@@ -166,7 +166,7 @@ the manifest.txt file, and the derived files:
% Furthermore quantities are so many that any work in applied
% sciences should contain a nomenclature list in order to
% explain which symbol is used for which quantity. This is
-% where the ISO regulations set some order and they published
+% 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
% of the Comité International des Pois et Mésures, that
@@ -185,8 +185,8 @@ the manifest.txt file, and the derived files:
%
% There are no problems when typesetting applied science
% documents with \LuaLaTeX\ or \XeLaTeX, at least if the
-% proper OpenType math fonts are used; Such fonts have
-% available so mani slots (code points) that may contain
+% proper OpenType math fonts are used; such fonts have
+% available so many slots (code points) that may contain
% any variation of any glyph; it suffices to specify the
% option |math style = ISO| to the math handling package
% |unicode-math| and to select an OpenType math font. The
@@ -199,13 +199,14 @@ the manifest.txt file, and the derived files:
% academic and/or research institutions.
%
% For private users I'd suggest to download the PDF document
-% \url{https://www.nist.gov/pml/special-publication-811-extended-%contents}. This document has been produced by the National
-% Institute for Science and Technology, the Institutions that
+% \url{https://www.nist.gov/pml/special-publication-811-extended-
+%contents}. This document has been produced by the National
+% Institute for Science and Technology, the Institution that
% several years ago was appointed to replace the United States
-% National Bureau of Standards. Thei staff is made essentially
+% National Bureau of Standards. Their staff is made essentially
% by metrologists and this guide is written to give precise
% instructions for handling the applied science mathematics
-% according to the ISO Regulations; Is establishes also several
+% according to the ISO regulations; it establishes also several
% 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
@@ -215,16 +216,16 @@ the manifest.txt file, and the derived files:
% Users of \pdfLaTeX, on the opposite are in trouble. In facts
% this typesetting program suffers from an inherited limitation:
% math fonts are encoded with the old 128 glyph encodings; this
-% is not a limitation set forth by the underlying interpreter
-% \pdfTeX. Matter of fact there exist the quite recent
-% LibertinusT1math fonts for \pdfLaTeX, created by Michal Sharpe,
-% that to my best knowledge are the only ones with 256 glyph
+% is not a limitation set forth by the underlying interpreter
+% \pdfTeX. Matter of fact there exists the quite recent
+% LibertinusT1math fonts for \pdfLaTeX, created by Michael Sharpe,
+% that, to my best knowledge, are the only math fonts with 256 glyph
% encodings. Package |libertinust1math| accepts the |ISO| option
% that allows to fulfil the ISO regulations; it accepts other
-% options depending on which the number of math groups, beyond
-% the essential first four ones, increases by three to six units,
-% reaching a maximum of ten; there remains enough free math
-% groups to satisfy any user requirement.
+% options; depending on which options are specified the number
+% of math groups, beyond the essential first four ones, increases
+% by three to six units, reaching a maximum of ten; there remains
+% enough free math groups to satisfy most user requirements.
%
% But even while using such LibertinusT1math fonts, \pdfTeX\
% suffers from another handicap derived from the knuthian
@@ -234,7 +235,8 @@ the manifest.txt file, and the derived files:
% by \LaTeXe.). I am not complaining about these \pdfTeX\ and
% \LaTeX\ limitations; for decades people have been happily
% typesetting math with results that are much superior to any
-% other typesetting program if it does not use some \TeX\ software.
+% other typesetting program at least when it does not use some
+% \TeX\ software.
%
% The handicap I am talking about is the way math alphabets are
% handled at the moment by \pdfTeX and \LaTeX; such alphabets
@@ -271,14 +273,14 @@ the manifest.txt file, and the derived files:
%
% Therefore, dear reader, before using the poor man solutions
% of this package, try |ISOmath|, if your font set passes all
-% the requirements described in this package documentation,
+% the requirements described in that package documentation,
% you don't need the poor man patches offered by this package.
%
% \section{ISO rules summary}
% This summary does not replace the original ISO document nor
% what is written in the instructions published by NIST. It
% simply recalls those rules that this package tries to implement.
-% In the following the word ``quantity'' is used to represent
+% In what follows, the word ``quantity'' is used to represent
% any physical entity that may be measured according to the
% metrological standards; the word ``variable'' is used to
% represent a mathematical entity that represents variable data.
@@ -291,7 +293,7 @@ the manifest.txt file, and the derived files:
% variable data; but computer programs are not mathematics,
% rather they are a special language that tells the computer
% what to do, even mathematics, but the language is not the
-% one that represents math. Unfortunately som acronyms have
+% one that represents math. Unfortunately some acronyms have
% gained strong popularity and wide usage, but they are
% forbidden by the ISO rules; example: \emph{CMRR} is often
% used to mean ``common mode rejection ratio'', but this is
@@ -301,53 +303,54 @@ the manifest.txt file, and the derived files:
% meaning of what it typesets.
% \item
% All quantity symbols must be set in italics, slanted type
-% is allowed, but serifed italics should be referred, unless
+% 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
-% 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) be 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$ be distinguished
-% from the plane angle $\pi$; and similar other numerical constants represented by Latin or Greek letters.
+% the differential symbol be in upright font to avoid confusion
+% 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) be 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$ should be distinguished
+% from the plane angle $\pi$; and similar other numerical constants
+% represented by Latin or Greek letters.
% \item
% All symbols that do not represent quantities should be
% typeset in an upright font, preferably a serifed font,
% except when the ISO rules require a sans serif font.
-% This rule include numbers and their digits, symbols that
+% This rule includes numbers and their digits, symbols that
% represent constant numeric values, all appositions both
% in subscript and superscript position. Appositions are not
% quantities or variables: for example in $V_i$, the
% 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}}$ is an apposition because `i'
-% means, say, `input'.
+% the opposite $V_{\mathrm{i}}$ the subscript is an apposition
+% because `i' means, say, `input'.
% \item
% Upright bold roman or black board bold symbols represent sets.
% \item
-% Italic bold symbols represent matrices; une column matrices
+% Italic bold symbols represent matrices; one column matrices
% may represent vectors in an algebraic way and should be
-% treated as any other matrix; generally multirow and multicolumn
+% treated as any other matrix; in general multirow and multicolumn
% matrices are typeset with uppercase letters, while lowercase
% ones are reserved for vectors; but in some sciences also vectors
% may have uppercase letters. Geometrical vectors that might be
-% typeset wit a medium series upper o lowercase italic letter
+% typeset with a medium series upper o lowercase italic letter
% with an arrow on top of it are nor treated by the ISO
% regulations that speak of vectors irrespective if they are
-% considered as one column matrices od oriented segments;
+% considered as one column matrices or oriented segments;
% apparently oriented segments should be treated the same as
% one column matrices.
% \item
% Labels to geometrical entities, such as points, segments,
-% angles (not their measures) should be set in upright
-% medium series sans serif fonts; the same rule applies
-% to labels used in sketches and drawings representing
-% machinery, electric circuitry, and the like when the label
-% refers to an object and not to its measure: ``the lens
-% $\mathsf{L}_1$'', ``the switch $\mathsf{S}_2$'', ``the
-% planetary gear $\mathsf{G}_3$'', and so on.
+% angles (not their measures) should be set in upright
+% medium series sans serif fonts; the same rule applies
+% to labels used in sketches and drawings representing
+% machinery, electric circuitry, and the like when the label
+% refers to an object and not to its measure: ``the lens
+% $\mathsf{L}_1$'', ``the switch $\mathsf{S}_2$'', ``the
+% planetary gear $\mathsf{G}_3$'', and so on.
% \item
% Tensors should be set in slanted bold sans serif font.
% \item
@@ -363,51 +366,51 @@ the manifest.txt file, and the derived files:
%\begin{itemize}[noitemsep]
%\item
% Uppercase greek letters are taken from the ``operators''
-% alphabet and are letter symbols; therefore they are upright;
+% alphabet and are letter symbols; they are upright;
% but if they represent quantities they must be in italics,
% or at least slanted;
%\item
-% Lowercase Greek letters are taken from the ``letters'' alphabet
-% and are ordinary symbols; they are slanted, and this is fine,
-% but as ordinary symbols they cannot be modified by commands
+% Lowercase Greek letters are taken from the ``letters'' math alphabet
+% and are ordinary symbols; they are oblique, and this is fine,
+% but as ordinary math symbols they cannot be modified by commands
% such as |\mathrm|; furthermore upright lowercase Greek letters
-% are not available.
+% are not available, at least not directly.
%\end{itemize}
%
% \section{Some existing solutions}
% Several packages to be used with \pdfLaTeX\ allow for upright
% Greek letters, especially those packages for French typography,
-% where the national rules (in contrst with the ISO regulations)
+% 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 |kpfont|. Other
+% upright. Among these the |fourier| and the |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 letters as well as
-% slanted uppercase ones.
+% let the user employ upright lowercase Greek letters as well as
+% oblique uppercase ones.
%
% Package |libertinust1math| allows the use of the 256~glyph
% encoded fonts and are less sensitive to the limit of 16~math
-% groups, Is many options allow to use the various font styles
+% groups. Its many options allow to use the various font styles
% without requiring the |\boldmath| declaration; this implies
% that medium and bold series are both preloaded without
% actually using extra math alphabets beyond the small number
% it uses for its full functionality. An option |ISO| is
-% already available to fulfill the ISO regulations. Maybe
-% the only drawback of the fonts used is that they match text
-% fonts that are blacker than the standard Computer or Latin
-% Modern fonts. The auxiliary font selection commands used in
-% the |ISOmath| package are already implemented with this
-% |libertinust1math| one.
+% already available to fulfil the ISO regulations. Maybe
+% the only drawback of the fonts used is that they are intended to
+% match the Libertinus text fonts that are blacker than the
+% standard Computer or Latin Modern ones. The auxiliary font
+% selection commands used in the |ISOmath| package are already
+% implemented with this |libertinust1math| one.
%
% Of course the |ISOmath| package might solve all problems if the
% user math environment has the necessary functionalities, in
-% particular all the math alphabets needed for the task and
+% particular all the math alphabets needed for the task and if
% there are no difficulties with the number of math groups.
%
% \section{The poor man solution}
% The poor man solution is very simple in theory; it handles
% text fonts in math expressions through the |\text| command
-% of the |amsmath| package; of course there are functionalities
+% provided by the |amsmath| package; of course there are functionalities
% to chose families series and shapes in a comfortable way
% by means of the powerful command definition commands provided
% by the |xparse| package; for Greek letters it uses the
@@ -437,12 +440,12 @@ 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 documentation is typeset
-% with Latin Modern fonts and this very package. The examples
-% shown in a following chapter show the ease with which the
-% ISO regulations may be fulfilled.
+% 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.
%
-% There are other Greek fonts that may be used in place if
+% There are other Greek fonts that may be used in place of
% those of the CBfonts collection, especially those distributed
% by the Greek Font Society (GFS) that are already part of the
% \TeX\ system distribution; they are LGR encoded and have their
@@ -477,7 +480,7 @@ the manifest.txt file, and the derived files:
%\cs{MathGreek}\marg{letter}\marg{family}\oarg{series}\parg{shape}
%\end{ttsintassi}
% where \cs{MathLatin} sets the text encoding to |T1|, while
-% \cs{MathGreek} set it to |LGR|. In both commands the arguments
+% \cs{MathGreek} sets it to |LGR|. In both commands the arguments
% 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
@@ -526,7 +529,7 @@ the manifest.txt file, and the derived files:
%
% The package defines other macros for fulfilling the rules
% relative to the differential symbol and the numerical constants
-% represented with letters; Furthermore defines the commands
+% represented with letters; furthermore it defines the commands
% 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
@@ -544,7 +547,7 @@ the manifest.txt file, and the derived files:
% \subparagraph{ISO Greek letters}
% In this example we typeset an array in math mode, where
% we show all the Greek letters that can be typeset with
-% the \cs{ISO}\meta{letter} macros; the array is typeset
+% the \cs{ISO}\meta{lettername} macros; the array is typeset
% in normal math style, but the ISO letters are in bold
% style so that there is no confusion with a normal
% bold math setting; some letters, equal to
@@ -591,7 +594,7 @@ the manifest.txt file, and the derived files:
%$i.68\,\micro\ohm\,\mathrm{cm}$ (1.68\unit{\micro\ohm\,cm})
%\end{verbatim}
%\subparagraph{A tensor}
-%\[ \vectorsymbol{D} =\epsilon_0\vectorsymbol{\epsilon}\ped{r}\vectorsymbol{E}\]
+%\[ \vectorsymbol{D} =\epsilon_0\tensorsymbol{\epsilon}\ped{r}\vectorsymbol{E}\]
%is typeset with the following code
%\begin{verbatim}
%\[
@@ -599,7 +602,7 @@ the manifest.txt file, and the derived files:
%\]
%\end{verbatim}
%\subparagraph{Solid angle}
-% An energy flux of light form a isomorph source that irradiates
+% An energy flux of light form a isomorphic source that irradiates
% the power $P$ through the solid angle $\Omega$ generates
% a flux \[\Phi = \frac{P}{\Omega}\] is typeset with the following
% code
@@ -610,13 +613,16 @@ the manifest.txt file, and the derived files:
% as the ISO rules require, instead of upright, as \LaTeX\ sets
% them by default.
% \subparagraph{A bold formula}
-% This is the very important inverse Laplace transform
+% This is the very important inverse Laplace transform\footnote{Some
+% packages may have a contorl sequence to inerta a Cauchy principal
+% value integral sign into a math expression; here we fake it by
+% means of the superposition of a normal integral sign to a minus sign,}
%{\boldmath\[
%f(t) = \frac{1}{2\ISOpi\iu} -\mkern-19mu\int_{\sigma-\iu\infty}^{\sigma+\iu\infty}\eu^{pt}\diff p \qquad \text{for } \sigma > \sigma\ped{c}
%\]}
-%%typeset with the following code
+% typeset with the following code
%\begin{verbatim}
-%{\boldmath\[f(t)=
+%{\boldmath\[
%f(t) = \frac{1}{2\ISOpi\iu} -\mkern-19mu
% \int_{\sigma-\iu\infty}^{\sigma+\iu\infty}\eu^{pt}\diff p
% \qquad \text{for } \sigma > \sigma\ped{c}
@@ -628,7 +634,7 @@ the manifest.txt file, and the derived files:
% \subparagraph{Various styles of Greek fonts} Here are some
% examples of Greek fonts in various styles; within the same
% table bold and medium series fonts stay side by side, as well
-% as font coming from different families.\medskip
+% as glyphs coming from different families.\medskip
%
%\bgroup\begin{lrbox}{0}
%\begin{tabular}{@{}ll@{}}
@@ -648,54 +654,54 @@ the manifest.txt file, and the derived files:
%\section{Final remarks}
% This package |pm-isomath| is far from perfect, and its results are
% questionable; of course poor man solutions are just patches;
-% incomplete solutions; But the results are not so bad. It has
-% the indubitable advantage that is does not use any math group,
+% incomplete solutions; but the results are not so bad. It has
+% the indubitable advantage that is does not use any math groups,
% therefore there is no risk to exceed the limit of 16~math groups.
%
% \StopEventually{}
%
% \section{The code}
% This package was loosely inspired by the |ISOmath| package
-% by Günter Milde, but tacles the problem of insuffiente maximum
+% by Günter Milde, but tackles the problem of insufficient maximum
% number of math font groups so as to avoid any problem with such
-% groups, and therfore all the caveats in Milde's package. That
-% package is much more comfortable to use then this one; but
-% it is subject to a number of conditions the, depending on the
+% group limitation, and therefore all the caveats in Milde's package.
+% That package is much more comfortable to use then this one; but
+% it is subject to a number of conditions that, depending on the
% user environment, may even result in a complete failure. This
-% package avoids problema with math font groups because it does
+% package avoids problems with math font groups because it does
% not use any, but it is not so comfortable to use because often
% the user has to specify optional settings.
%
-%The preliminary lines have been already defined; therefore we
+% The preliminary lines have been already defined; therefore we
% start with real code.
%
-%The trick of this package is that all fonts different from the
-% four or six (including the AMS symbol fonts) are textual fonts
+% The trick of this package is that all fonts different from the
+% four or six ones (including the AMS symbol fonts) are textual fonts
% used in math typesetting through the intermediate action of
% the |\text| command defined by the |amsmath| package.
% Therefore we start by verifying if packages |amsmath|,
-% |alphabeta| and |xparse| have already been loaded by in the
-% preamble document; this implies a weak loading order, that is this
+% |alphabeta| and |xparse| have already been loaded in the document
+% preamble; this implies a weak loading order, that is this
% package must be loaded after all the above packages are loaded;
-% in facts of such packages are not loaded, they are by this
-% package, and they are loaded without options. The package
+% in facts if such packages are not loaded, they get loaded by this
+% one, but without any option. The package
% 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 an very ``strong'' one.
+% ``weak'' loading error becomes a very ``strong'' one.
%\iffalse
%<*style>
%\fi
% \begin{macrocode}
-% The we verify if the document is being typeset with \pdfLaTeX;
-% it it is not; and error flag is raised and reading of this
+% Then we verify if the document is being typeset with \pdfLaTeX;
+% if it is not, an error flag is raised and reading of this
% package is immediately interrupted. For this purpose we need
% an engine-detecting package, and we generally use the |iftex| one.
\@ifpackageloaded{iftex}{}{\RequirePackage{iftex}}
\unless\ifPDFTeX
- \PackageError{ISOrules4pdfLaTeX}{%
+ \PackageError{pm-isomath}{%
******************************************\MessageBreak
This package should be used only when \MessageBreak
typesetting with pdfLaTeX. \MessageBreak
@@ -709,7 +715,7 @@ the manifest.txt file, and the derived files:
}
\expandafeter\@firstoftwo
\else
- \PackageInfo{ISOrules4pdfLaTeX}{%
+ \PackageInfo{pm-isomath}{%
******************************************\MessageBreak
Typesetting this document with pdfLaTeX! \MessageBreak
******************************************\MessageBreak
@@ -719,14 +725,14 @@ the manifest.txt file, and the derived files:
{\endinput}{\relax}
% \end{macrocode}
% Actually this package accepts an option: |engineer|. This
-% option is for deciding if the imaginary uit should be
+% option is for deciding if the imaginary unit should be
% 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
+% electricity and electrical quantities, but also electronics, control
% and telecommunications engineers, use only `j'; all these
% varieties of engineers could not do anything in their profession
% if they don't use complex numbers and quantities (the latter
-% called phasors). possible they are the applied scientists
+% called phasors). Possibly they are the applied scientists
% who use complex numbers more than any other scientist.
% This option has not been used to prepare this documented \TeX\ file.
% \begin{macrocode}
@@ -740,12 +746,12 @@ the manifest.txt file, and the derived files:
\@ifpackageloaded{etoolbox}{}{\RequirePackage{etoolbox}}
\@ifpackageloaded{xparse}{}{\RequirePackage{xparse}}
% \end{macrocode}
-% Now we have almost alla software instruments available. We
+% Now we have almost all software instruments available. We
% define a macro to switch the definitions of certain math
% Greek symbols; some of these are defined in the \LaTeX\
% kernel: the lowercase Greek variant letters; some others
% are defined in the |amsmath| package: the uppercase slanted
-% greek letters. all these variant lettere have a name identical
+% greek letters. All these variant letters have a name identical
% to the regular ones but prefixed with the string |var|;
% example |\epsilon| and |\varepsilon|, |\Omega| and |\varOmega|.
% We switch the control sequence definitions between the |var|-less
@@ -784,30 +790,30 @@ the manifest.txt file, and the derived files:
% The next line defines the default family, series and shape
% to be used in the macros that follow; as it can be seen
% the default family is the Latin Modern regular (or roman);
-% the series i medium and the shape is normal (or upright).
+% the series is medium and the shape is normal (or upright).
% The codes used are the same used in the font description
-% files with extension |.fd|. their name if obtained by merging
+% files with extension |.fd|. Their name is obtained by merging
% the encoding name with the family name; Therefore the default
-% font description file for Latin Characters is |t1lmr.fd|,
+% font description file for Latin characters is |t1lmr.fd|,
% while the one for Greek characters is |lgrlmr.fd|; these
-% files define the series the contains that are identified
+% files define the series they contain and that are identified
% with codes such as |m| (medium); |bx| (bold extended);
% |b| (bold). Other fonts, with different series may have
% also other codes. For each series the |.fd| defines the
% codes for shapes, and for every valid combination of
-% series, shape and sizes it defines the specific font file
+% series, shape and size it defines the specific font file
% to use.
% 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; is ``suffices'' to open the packages that
-% allow to use the desired fonts, read the code and fin out
-% the names of the |.fd| files; then search this file on the
+% 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
% codes for the available series and shapes.
%
-% for the Latin and Greek |.fd| file we havethe series and
+% for the Latin and Greek |.fd| file we have the series and
% shapes shown in table~\ref{tab:lmr-series-shapes}.
%
%\begin{table}[!tb]\centering
@@ -827,48 +833,41 @@ 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}
%\label{tab:lmr-series-shapes}
%\end{table}
%
-%
-%
-%
-%%%%%% Queste sono le impostazioni di default per la famiglia,
-%%%%%% la serie e la forma:
% \begin{macrocode}
\def\ISOfam{lmr}\def\ISOser{m}\def\ISOsha{n}
% \end{macrocode}
%
-% As explained in the initial documentation all fonts changing
+% As explained in the initial documentation all font changing
% commands are constructed in such a way as to have a default
-% family, series and shape common to both Latin and Greek fonts;
-% therefore with thre optional arguments that the user can
+% family, series and shape common to both Latin and Greek fonts;
+% therefore with three optional arguments that the user can
% specify with different delimiters but respecting their order,
% the user can get eight different choice combinations that
-% allow the selection of an almost limited less number of
-% different looks.
+% allow the selection of a large number of different looks.
%
-% We now define the mains macros and service macros that allow
-% such font selection; We have ti create similar macros that
-% mostly differ in the choice of the encoding for Latin or
-% for Greek letters.
+% We now define the main and service macros that allow
+% such font selection; we have to create similar macros that
+% mostly differ in the encoding choice for Latin or Greek letters.
%
-% The user macros are defined by meanso of the defining commands
+% The user macros are defined by means of the defining commands
% provided by the |xparse| package, while the service macros use
% normal \LaTeX\ commands. The user commands follow this special
% syntax:
@@ -877,11 +876,12 @@ the manifest.txt file, and the derived files:
%\cs{MathGreek}\marg{Greek letter}\marg{family}\oarg{series}\parg{shape}
%\end{ttsintassi}
% where in both cases the last three arguments are differently
-% delimited values, even the first one of the three, in spite
-% of being delimited by curly braces. In both cases the only
+% delimited optional values, even the first one of the three, in
+% spite of being delimited by curly braces. In both cases the only
% mandatory argument is the Latin or Greek letter; the latter
-% one my be specified by the macros |\alpha|, |\beta|,\dots,
-% |\Omega|, the same ones that are normally used in math.
+% one may be specified by the macros |\alpha|, |\beta|,\dots,
+% |\Omega|, the same ones that are normally used in math (although
+% they are going to be used in textmode).
% \begin{macrocode}
\NewDocumentCommand\MathLatin{m gO{m}D(){it}}{\bgroup
\edef\y{\IfNoValueTF{#2}{\ISOfam}{#2}}%
@@ -904,10 +904,10 @@ the manifest.txt file, and the derived files:
% \end{macrocode}
% We now define the macros for all lowercase Greek letters
-% and several Uppercase ones (even some that are identical
-% to some Latin Letters) that should save several keystrokes
-% when entering Greek letters in the source file. The shorter
-% the code to type in, the smaller the the number of typos.
+% and several uppercase ones (even some that are identical
+% to some Latin letters) that should save several keystrokes
+% when entering such letters in the source file. The shorter
+% the code to type in, the smaller the the number of potential typos.
% \begin{macrocode}
\newcommand\ISOalpha{\MathGreek{\alpha}}
\newcommand\ISObeta{\MathGreek{\beta}}
@@ -986,23 +986,23 @@ the manifest.txt file, and the derived files:
% \end{macrocode}
%
% We now define some macros for setting some elements in the
-% proper fonts; the ideaa is the same as that for vectors,
+% proper fonts; the idea is the same as that for vectors,
% matrices and tensors, except that these macros produce
% directly the desired symbol without using arguments, if
% possible.
%
% The imaginary unit is subject to the state of the |engineer|
% switch, set with the proper option on calling the package.
-% If such option has been specifies in calling this package,
+% If such option has been specified in calling this package,
% the |\iu| command is let to |\junit|, otherwise it's let
% to |\iunit|. In spite of this option driven aliases, both
-% commands |\iunit| and |\junit| are stille available to the
+% commands |\iunit| and |\junit| are still available to the
% user.
%
% 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 uses as the base of an exponential;
-% therefore such mathematica ``atom'' must be treated as an
+% sense, but it is most often used as the base of an exponential;
+% therefore such math ``atom'' must be treated as an
% operator as well as when the official operator macro |\exp|
% is used.
%
@@ -1020,10 +1020,10 @@ the manifest.txt file, and the derived files:
% a special treatment; a macro |\diff| for the differential
% 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
+% so that proper spacing is used in math typesetting; notice
% that the given definition does not perform as the direct
% use of a thin math space before the upright `d', because
-% spacing bteween math atoms depends on their category, while
+% spacing between math atoms depends on their category, while
% the thin space |\,| is absolute and does not change depending
% on the preceding math atom.
%
@@ -1081,7 +1081,7 @@ the manifest.txt file, and the derived files:
\unless\ifmmode\expandafter\@firstoftwo
\else\expandafter\@secondoftwo\fi}
%
-\AfterEndPreamble{\let\ped\undefined\let\ap\endefined
+\AfterEndPreamble{\let\ped\undefined\let\ap\undefined
\DeclareRobustCommand*\ped[1]{%
\textormath{\textsubscript{#1}}{_{\mathrm{#1}}}}%
%