diff options
author | Karl Berry <karl@freefriends.org> | 2018-01-21 22:32:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-01-21 22:32:31 +0000 |
commit | 2a62cd27f234355f6c9e46be9409cc1e36c430ca (patch) | |
tree | 536f2333edb593fb33564794c4ca3e2d31ec6a11 /Master/texmf-dist/source | |
parent | 9af5cfaf04a2780b2a4f07a08511b8732808171e (diff) |
pm-isomath (21jan18)
git-svn-id: svn://tug.org/texlive/trunk@46402 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx | 96 |
1 files changed, 53 insertions, 43 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 1c45e9a74c4..1db0734bd7b 100644 --- a/Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx +++ b/Master/texmf-dist/source/latex/pm-isomath/pm-isomath.dtx @@ -72,7 +72,7 @@ the manifest.txt file, and the derived files: %</driver> %<style>\ProvidesPackage{pm-isomath}[% %<*driver,style> -2017/12/07 v.1.0.02 +2018/01/12 v.1.0.04 %<style>Poor man package for typesetting ISO compliant math when using pdfLaTeX] %</driver,style> %<*driver> @@ -119,7 +119,7 @@ the manifest.txt file, and the derived files: % % ^^A \CheckSum{}% % \begin{abstract} -% The ISO regulation for typesetting math in the field of physics +% The ISO regulations 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 that in certain % countries an ``Expertise'' for a Legal Court that does not @@ -149,9 +149,9 @@ the manifest.txt file, and the derived files: % 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 -% entities may not e separated, therefore some special +% entities may not be separated, therefore some special % mathematical rules are established in order to operate on -% quanties. +% quantities. % % Add to these special mathematical bases the fact that the % measure component of the quantity is pretty fuzzy and it @@ -159,7 +159,7 @@ the manifest.txt file, and the derived files: % 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 +% numbers (after all aren't they the ratio of something to be % measured and the unit of measure?) we are facing the domain % of fuzzy sets. % @@ -229,21 +229,29 @@ the manifest.txt file, and the derived files: % % But even while using such LibertinusT1math fonts, \pdfTeX\ % suffers from another handicap derived from the knuthian -% original \TeX-the-program and by the NFSS (New FonT Selection +% original \TeX-the-program and by the NFSS (New Font Selection % Scheme, which is not new any more, because it dates back to % 1994, when \LaTeX\,209 became obsolete and was substituted % 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 at least when it does not use some -% \TeX\ software. +% other typesetting program at least when the latter 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 +% The handicap I am talking about is the way math alphabets, at +% the moment, are handled by \pdfTeX\ and \LaTeX; such alphabets % are loaded in the form of math groups, the number of which % cannot exceed 16 (numbered from 0 to 15); each group loads % three sizes for normal math style, for script style and for -% script-script style. +% script-script style. Taking into account the bold version, the +% number of math groups would risk to exceed its capabilities; +% in order to avoid exceeding the number limit on the math +% groups usable in any math environment, only the +% medium \emph{or} the bold series is loaded and the math version +% (bold or unbold) must be chosen before entering the math +% environment. Packages that allow mixed series math formulas +% load both versions and become very critical for using other +% math alphabets. % % By default four groups are always loaded; group~0 for % operators; group~1 for letters; group~2 for symbols; @@ -257,12 +265,12 @@ the manifest.txt file, and the derived files: % without doing anything special -- at least he thought so, % but he was evidently wrong. Users who use packages such % as the Fourier or the KPfonts have to pay special attention -% to their documentation because they might specify options -% that imply loading up to 14 math groups. +% to the package documentation because they might specify +% options that imply loading up to 14 math groups. % % 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, +% like to cite the excellent Package |ISOmath| by Günter Milde, % 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 @@ -282,7 +290,7 @@ the manifest.txt file, and the derived files: % simply recalls those rules that this package tries to implement. % 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 +% metrological practice; the word ``variable'' is used to % represent a mathematical entity that represents variable data. %\begin{enumerate}[noitemsep] % \item @@ -309,12 +317,12 @@ the manifest.txt file, and the derived files: % 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. +% 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$ +% 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, @@ -465,7 +473,7 @@ the manifest.txt file, and the derived files: % The usage of the package is very simple; in your preamble % add the line %\begin{ttsintassi} -%\cs{usebackage}\Oarg{engineer}\Marg{pm-isomath} +%\cs{usepackage}\Oarg{engineer}\Marg{pm-isomath} %\end{ttsintassi} % The |engineer| option is used to set the imaginary unit the % way electrical engineers usually do. @@ -503,8 +511,9 @@ 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 the math commands |\alpha|, -% |\beta|,\dots, |\Omega| commands, but it is much simpler to +% For Greek letters you might use |\MathGreek| and the math lette +%r 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: %\begin{ttsintassi} @@ -545,16 +554,16 @@ the manifest.txt file, and the derived files: % % \section{Examples} % \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{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 -% the Latin ones, are also defined because some users have -% experienced difficulties in remembering the correct signs -% especially while labelling diagrams. The -% array may be a useful reference, \ref{tab:isoletters}. +% In example 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 +% in bold style so that there is no confusion with a normal +% bold math setting; some letters, equal to the Latin ones, are +% also defined because some users have experienced difficulties +% in remembering the correct signs especially while labelling +% diagrams. The array in table~\ref{tab:isoletters} may be a +% useful reference. %\begin{table}[!tb] %\def\T#1{\cs{ISO#1} & \csuse{ISO#1}[bx]} %\[\begin{array}{lclclclc} @@ -588,10 +597,10 @@ the manifest.txt file, and the derived files: %\[ \vectorsymbol{b} = \matrixsymbol{M}\vectorsymbol{a} \] %\end{verbatim} % \subparagraph{A resistivity value} -% The resistivity of copper is $1.68\,\micro\ohm\,\mathrm{cm}$ (1.68\unit{\micro\ohm\,cm}) +% The resistivity of copper is $1.68\,\micro\ohm\,\mathrm{cm}$ (in text mode: 1.68\unit{\micro\ohm\,cm}) % is typeset with the following code %\begin{verbatim} -%$i.68\,\micro\ohm\,\mathrm{cm}$ (1.68\unit{\micro\ohm\,cm}) +%$i.68\,\micro\ohm\,\mathrm{cm}$ (in text mode: 1.68\unit{\micro\ohm\,cm}) %\end{verbatim} %\subparagraph{A tensor} %\[ \vectorsymbol{D} =\epsilon_0\tensorsymbol{\epsilon}\ped{r}\vectorsymbol{E}\] @@ -614,9 +623,9 @@ the manifest.txt file, and the derived files: % them by default. % \subparagraph{A bold formula} % This is the very important inverse Laplace transform\footnote{Some -% packages may have a contorl sequence to inerta a Cauchy principal +% packages may have a control sequence to insert 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,} +% 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} %\]} @@ -665,7 +674,7 @@ the manifest.txt file, and the derived files: % by Günter Milde, but tackles the problem of insufficient maximum % number of math font groups so as to avoid any problem with such % group limitation, and therefore all the caveats in Milde's package. -% That package is much more comfortable to use then this one; but +% That package is much more comfortable to use than 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 problems with math font groups because it does @@ -687,7 +696,7 @@ the manifest.txt file, and the derived files: % 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 +% 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. @@ -734,7 +743,8 @@ the manifest.txt file, and the derived files: % 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. -% This option has not been used to prepare this documented \TeX\ file. +% Note: this option has \emph{not} been used to prepare this +% very document. % \begin{macrocode} \newif\ifengineer \engineerfalse \DeclareOption{engineer}{\engineertrue} @@ -813,7 +823,7 @@ the manifest.txt file, and the derived files: % 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 have the series and +% For the Latin and Greek |.fd| files we have the series and % shapes shown in table~\ref{tab:lmr-series-shapes}. % %\begin{table}[!tb]\centering @@ -968,7 +978,7 @@ the manifest.txt file, and the derived files: % \end{macrocode} % Imitating the |ISOmath| package we define also the macros % for selecting the bold italics (produces results similar -% to those obtained with package|bm|, but it does not require +% to those obtained with package |bm|, but it does not require % any math group), and sans serif in both normal and bold % slanted shape. % \begin{macrocode} |