texlive[47150] Master/texmf-dist: mandi (27mar18)

commits+karl at tug.org commits+karl at tug.org
Tue Mar 27 23:24:51 CEST 2018


Revision: 47150
          http://tug.org/svn/texlive?view=revision&revision=47150
Author:   karl
Date:     2018-03-27 23:24:50 +0200 (Tue, 27 Mar 2018)
Log Message:
-----------
mandi (27mar18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/mandi/mandi.pdf
    trunk/Master/texmf-dist/source/latex/mandi/mandi.dtx
    trunk/Master/texmf-dist/tex/latex/mandi/mandi.sty

Modified: trunk/Master/texmf-dist/doc/latex/mandi/mandi.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/mandi/mandi.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/mandi/mandi.dtx	2018-03-27 21:24:36 UTC (rev 47149)
+++ trunk/Master/texmf-dist/source/latex/mandi/mandi.dtx	2018-03-27 21:24:50 UTC (rev 47150)
@@ -32,7 +32,7 @@
 %</internal>
 %
 %<*package>
-%%\ProvidesPackage{mandi}[2018/01/15 2.7.1 Macros for physics and astronomy]
+%%\ProvidesPackage{mandi}[2018/03/20 2.7.2 Macros for physics and astronomy]
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %</package>
 %
@@ -130,7 +130,7 @@
 %  \newcommand*{\opt}[1]{\textsf{\textbf{#1}}}
 %  \newcommand*{\baseunits}{\emph{baseunits}}
 %  \newcommand*{\drvdunits}{\emph{drvdunits}}
-%  \newcommand*{\tradunits}{\emph{tradunits}}
+%  \newcommand*{\altnunits}{\emph{altnunits}}
 %
 %  \IndexPrologue{\section{Index}Page numbers refer to page where the 
 %    corresponding entry is described. Not every command defined in the 
@@ -230,14 +230,64 @@
 % which creates DVI files.
 % 
 % \changes{v2.7.0}{2018/01/11}{Added instructions for Overleaf users.}
+% \changes{v2.7.2}{2018/03/20}{Added expanded instructions for Overleaf users.}
+% \newpage
 % \section{Overleaf Users}
-% \href{https://www.overleaf.com}{Overleaf} is an online \LaTeX\ environment with
-% widespread use. It uses a full \TeX/\LaTeX\ installation but doesn't always 
-% have the latest version of every package installed. Sometimes packages are updated
-% more frequently than the large distributions are updated. If you want to always be 
-% sure you're using the latest version of \mandi\ make sure the files 
-% \pkgname{mandi.sty} and \pkgname{mandi.pdf} are in your Overleaf project folder.
+% \href{https://www.overleaf.com}{Overleaf.com} is an online \LaTeX\ environment 
+% with widespread use. It uses a full \TeX/\LaTeX\ installation but may not always 
+% have the latest version of every package installed (for stability reasons).
+% Sometimes packages are updated more frequently than the large distributions are 
+% updated. If you want to always be sure you're using the latest version of \mandi\ 
+% make sure the files \pkgname{mandi.sty} and \pkgname{mandi.pdf} are in your 
+% Overleaf project folder. The package can now be used in your documents.
 %
+% If you are a student, here are detailed instructions on how to use \mandi\
+% in your Overleaf project. 
+% \begin{enumerate}
+%   \item Direct your browser to 
+%   \href{http://sticksandshadows.com/downloads/index.html}
+%   {http://sticksandshadows.com/downloads/index.html} and fetch the file named
+%   \texttt{overleaf-template.zip}. You can 
+%   \href{http://sticksandshadows.com/downloads/files/overleaf-template.zip}
+%   {directly fetch the file} if you wish. Open the zip file into a temporary
+%   folder.
+%   \item Go to the \href{https://www.overleaf.com}{Overleaf.com} website and 
+%   create a free account and then sign into that account.
+%   \item Upon signing in, you should see a list of your current projects. Look
+%   for the New Project button on the left and click on it. Click on Basics in
+%   the menu of project templates, and then select the Blank Paper template on
+%   the right (it's the first template in the list). A new empty project will
+%   be created and you will be taken to the \texttt{main.tex} file in that project.
+%   \item In the toolbar, click on Project. Your project's folder will be opened
+%   and you can see the files present in the folder. At this point, there should
+%   be only one, \texttt{main.tex}. Click on Files (just under the Overleaf logo
+%   in the toolbar, and select the option for where your template files reside on
+%   your computer.
+%   \item Select all the files in the overleaf-template folder you just created. 
+%   Upload them into your project's folder. You can now delete the \texttt{main.tex} 
+%   file. Click on the 
+%   \texttt{NnnnnnnnCCPxx.tex} file and it will become the new main file in the
+%   project.
+%   \item On the far right of the toolbar, find your name. Click on it and then 
+%   click on My Projects. You will be taken to your main window where you can
+%   see your current projects. Find the one named |\documentname| (it
+%   should be the most recently created project). In the lower righthand corner
+%   of the project's rectangular window, click on the triangle and select 
+%   Rename. I suggest renaming the project Master Template or something very similar 
+%   to that.
+%   \item From now on, to start a new document, begin by copying this master
+%   project template and creating a new name for the new document. This way,
+%   you will build a neatly organize collection of logically named projects
+%   and the original Master Template will never have to be modified (but see
+%   next step) and every project will have \mandi\ available for use.
+%   \item If \mandi\ is updated by the developer, all you need to do is make
+%   sure the new \texttt{mandi.sty} and \texttt{mandi.pdf} files, and perhaps
+%   a few others if the developer has modified them, are uploaded to your project
+%   folders.
+%   \item You can now delete the \texttt{overleaf-template.zip} file and the
+%   temporary folder you created. 
+% \end{enumerate}
+%
 % \newpage
 % \section{Loading the Package}\label{LoadingthePackage}
 % To load \mandi\ with its default options, simply put the line |\usepackage{mandi}| 
@@ -257,6 +307,8 @@
 % \changes{v2.6.0}{2016/05/23}{Loads the \pkgname{tensor} package for future use.}
 % \changes{v2.7.0}{2017/02/02}{Added blank output lines around mandi messages
 %   during compilation.}
+% \changes{v2.7.2}{2018/03/14}{Changed \emph{tradunits} to \opt{altnunits}.}
+% \changes{v2.7.2}{2018/03/19}{Made \opt{drvdunits} the default.}
 %
 % \begin{itemize}
 %   \item \opt{boldvectors} gives bold letters for the kernels of vector names. 
@@ -281,18 +333,17 @@
 %     are used to denote powers of various base units.
 %   \item \opt{drvdunits} causes all units to be displayed, when possible, in
 %     \drvdunits\ form, with SI derived units. Students may already be familiar with
-%     many of these derived units.
-%   \item If neither \opt{baseunits} nor \opt{drvdunits} is specified (the 
-%     default), units are displayed in what I call \tradunits\ form, which
-%     is typically the way they would traditionally appear in textbooks. Units in 
-%     this form frequently hide the underlying physical meaning and are probably not 
-%     best pedagogically but are familiar to students and teachers. In this document, 
-%     the default is to use
+%     many of these derived units. This documentation \mandi\ with this option.
+%   \item If neither \opt{baseunits} nor \opt{altnunits} is specified, units are 
+%     displayed in \drvdunits\ form, which is typically the way they would usually 
+%     appear in textbooks. Units in this form may hide the underlying physical 
+%     meaning or indeed may do precisely the opposite and enhance conceptual 
+%     understanding. In this document, the default is to use
 %       \ifthenelse{\boolean{@optbaseunits}}
 %        {base}
-%        {\ifthenelse{\boolean{@optdrvdunits}}
-%          {derived}
-%          {traditional}}
+%        {\ifthenelse{\boolean{@optaltnunits}}
+%          {alternate}
+%          {derived}}
 %     units. As you will see later, there are ways to override these options either
 %     temporarily or permanently.
 % \end{itemize}
@@ -421,6 +472,12 @@
        -T_{10} & T_{11} & -T_{12} \\
        \hphantom{-}T_{20} & T_{21} & \hphantom{-}T_{22}
      \end{vmatrix}\]
+ Alternate notation for the determinant of a matrix.
+   \[\begin{Vmatrix}
+       \hphantom{-}T_{00} & T_{01}  & -T_{02} \\
+       -T_{10} & T_{11} & -T_{12} \\
+       \hphantom{-}T_{20} & T_{21} & \hphantom{-}T_{22}
+     \end{Vmatrix}\]
  \end{dispExample*}
 %\iffalse
 %</example>
@@ -489,7 +546,7 @@
 % lot about the document that you won't understand at first. Look for a line that 
 % says |\begin{document}| and a corresponding line that says |\end{document}| You 
 % will add content between these two lines. Most of your content will be within the 
-% \hyperlink{target1}{|problem|} environment. Each use of the |problem| environment 
+% \refEnv{problem} environment. Each use of the |problem| environment 
 % is intended to encapsulate one complete written solution to one physics problem. 
 % In this way, you can build a library of problem solutions for your own convenience. 
 %
@@ -498,9 +555,9 @@
 % can be tedious to the beginner and some of the commands have been designed to
 % minimize the tedium. For example, if you want to calculate something using an
 % equation, you typically must write the equation, substitute numerical quantities
-% with units if necessary, do the actual calculation, and then state the final result.
-% Sometimes it is necessary to show intermediate steps in a calculation. \mandi\
-% can help with this. 
+% with units if necessary, do the actual calculation, and then state the final 
+% result.Sometimes it is necessary to show intermediate steps in a calculation. 
+% \mandi\ can help with this. 
 %
 % Here is a set of commands that typeset standard equations with placeholders where
 % numerical quantities must be eventually inserted. Note that all of these commands
@@ -1057,7 +1114,7 @@
 %<*example>
 %\fi
 \begin{docCommand}{newphysicsquantity}
-{\marg{newname}\marg{\baseunits}\oarg{\drvdunits}\oarg{\tradunits}}
+{\marg{newname}\marg{\baseunits}\oarg{\drvdunits}\oarg{\altnunits}}
 Defines a new physics quantity and its associated commands.
 \end{docCommand}
 %\iffalse
@@ -1071,7 +1128,7 @@
 %   takes one mandatory argument, a numerical magnitude. Subsequent use of your 
 %   defined scalar quantity can be invoked by typing \colDef{\cs{newname}}
 %   \marg{magnitude} and the units will be typeset according to the options 
-%   given when \mandi\ was loaded. Note that if the \drvdunits\ and \tradunits\ 
+%   given when \mandi\ was loaded. Note that if the \drvdunits\ and \altnunits\ 
 %   forms are not specified, they will be populated with the \baseunits\ form.
 %   \item A command \colDef{\cs{newnamebaseunit}}\marg{magnitude} is created that 
 %   expresses the quantity and its units in \baseunits\ form.
@@ -1078,15 +1135,15 @@
 %   \item A command \colDef{\cs{newnamedrvdunit}}\marg{magnitude} is created that 
 %   expresses the quantity and its units in \drvdunits\ form. This command is 
 %   created whether or not the first optional argument is provided.
-%   \item A command \colDef{\cs{newnametradunit}}\marg{magnitude} is created that 
-%   expresses the quantity and its units in \tradunits\ form. This command is 
+%   \item A command \colDef{\cs{newnamealtnunit}}\marg{magnitude} is created that 
+%   expresses the quantity and its units in \altnunits\ form. This command is 
 %   created whether or not the first optional argument is provided.
 %   \item A command \colDef{\cs{newnameonlybaseunit}}\marg{magnitude} is created 
 %   that expresses \textbf{only} the quantity's units in \baseunits\ form.
 %   \item A command \colDef{\cs{newnameonlydrvdunit}}\marg{magnitude} is created 
 %   that expresses \textbf{only} the quantity's units in \drvdunits\ form. 
-%   \item A command \colDef{\cs{newnameonlytradunit}}\marg{magnitude} is created 
-%   that expresses \textbf{only} the quantity's units in \tradunits\ form. 
+%   \item A command \colDef{\cs{newnameonlyaltnunit}}\marg{magnitude} is created 
+%   that expresses \textbf{only} the quantity's units in \altnunits\ form. 
 %   \item A command \colDef{\cs{newnamevalue}}\marg{magnitude} is created that 
 %   expresses \textbf{only} the quantity's numerical value.
 % \end{itemize}
@@ -1095,14 +1152,14 @@
 %
 % \begin{quotation}
 % \begin{tabular}{l l l}
-%   |\momentum{3}|         &\momentum{3}          & unit set by global options     \\
-%   |\momentumbaseunit{3}| &\momentumbaseunit{3}  & quantity with base unit        \\
-%   |\momentumdrvdunit{3}| &\momentumdrvdunit{3}  & quantity with derived unit     \\
-%   |\momentumtradunit{3}| &\momentumtradunit{3}  & quantity with traditional unit \\
-%   |\momentumvalue{3}|    &\momentumvalue{3}     & selects only numerical value   \\
-%   |\momentumonlybaseunit|&\momentumonlybaseunit & selects only base unit         \\
-%   |\momentumonlydrvdunit|&\momentumonlydrvdunit & selects only derived unit      \\
-%   |\momentumonlytradunit|&\momentumonlytradunit & selects only traditional unit
+%   |\momentum{3}|         &\momentum{3}          & unit set by global options   \\
+%   |\momentumbaseunit{3}| &\momentumbaseunit{3}  & quantity with base unit      \\
+%   |\momentumdrvdunit{3}| &\momentumdrvdunit{3}  & quantity with derived unit   \\
+%   |\momentumaltnunit{3}| &\momentumaltnunit{3}  & quantity with alternate unit \\
+%   |\momentumvalue{3}|    &\momentumvalue{3}     & selects only numerical value \\
+%   |\momentumonlybaseunit|&\momentumonlybaseunit & selects only base unit       \\
+%   |\momentumonlydrvdunit|&\momentumonlydrvdunit & selects only derived unit    \\
+%   |\momentumonlyaltnunit|&\momentumonlyaltnunit & selects only alternate unit
 % \end{tabular}
 % \end{quotation}
 %
@@ -1140,8 +1197,8 @@
 % where the notation corresponds to that used in \mi.
 %
 % \subsubsection{First Semester Physics}
-% The first semester of most traditional introductory calculus-based physics 
-% courses focuses on mechanics, dynamics, and statistical mechanics.
+% The first semester of most introductory calculus-based physics courses focuses 
+% on mechanics, dynamics, and statistical mechanics.
 %
 %\changes{v2.6.0}{2016/04/30}{Added \cs{vectordisplacement}.}
 %\iffalse
@@ -1755,17 +1812,17 @@
 %\fi
 %
 
-
+%\changes{v2.7.2}{2018/03/18}{Changed \cs{lorentz} to \cs{lorentzfactor}.}
 %\iffalse
 %<*example>
 %\fi
-\begin{docCommand}{lorentz}{\marg{magnitude}}
+\begin{docCommand}{lorentzfactor}{\marg{magnitude}}
 Command for relativistic Lorentz factor. Obviously this command doesn't do 
 anything visually, but is included for thinking about calculations where this 
 quantity is needed.
 \end{docCommand}
 \begin{dispExample*}{sidebyside}
-\lorentz{2.34}
+\lorentzfactor{2.34}
 \end{dispExample*}
 %\iffalse
 %</example>
@@ -2751,7 +2808,7 @@
 % The form of a quantity's unit can be changed on the fly regardless of the 
 % global format determined by \opt{baseunits} and \opt{drvdunits}. One way, 
 % as illustrated in the table above, is to append |baseunit|, |drvdunit|, 
-% |tradunit| to the quantity's name, and this will override the global options 
+% |altnunit| to the quantity's name, and this will override the global options 
 % for that instance.
 %
 % A second way is to use the commands that change a quantity's unit on the fly.
@@ -2785,11 +2842,11 @@
 %\iffalse
 %<*example>
 %\fi
-\begin{docCommand}{hereusetradunit}{\marg{magnitude}}
-Command for using traditional units in place.
+\begin{docCommand}{hereusealtnunit}{\marg{magnitude}}
+Command for using alternate units in place.
 \end{docCommand}
 \begin{dispExample*}{sidebyside}
-\hereusetradunit{\momentum{3}}
+\hereusealtnunit{\momentum{3}}
 \end{dispExample*}
 %\iffalse
 %</example>
@@ -2831,13 +2888,13 @@
 %\iffalse
 %<*example>
 %\fi
-\begin{docEnvironment}{usetradunit}{}
-Environment for using traditional units.
+\begin{docEnvironment}{usealtnunit}{}
+Environment for using alternate units.
 \end{docEnvironment}
 \begin{dispExample*}{sidebyside}
-\begin{usetradunit}
+\begin{usealtnunit}
   \momentum{3}
-\end{usetradunit}
+\end{usealtnunit}
 \end{dispExample*}
 %\iffalse
 %</example>
@@ -2871,14 +2928,37 @@
 %\iffalse
 %<*example>
 %\fi
-\begin{docCommand}{perpusetradunit}{}
-Command for perpetually using traditional units.
+\begin{docCommand}{perpusealtnunit}{}
+Command for perpetually using alternate units.
 \end{docCommand}
 %\iffalse
 %</example>
 %\fi
 %
+%\subsubsection{Using Alternate Units}
+% In some cases it may be helpful to use unconventional, but pedagogically
+% appropriate, units for certain physical quantities. As an example, consider
+% force. It is normally expressed in newtons, but it can also be expressed in
+% joules per meter. You can redefine a quantity's units on the fly with the 
+% \cs{redefinephysicsquantity} command. 
+%
+%\changes{v2.7.2}{2018/03/16}{Documented the \cs{redefinephysicsquantity} command.}
+%\iffalse
+%<*example>
+%\fi
+\begin{docCommand}{redefinephysicsquantity}
+{\marg{newname}\marg{\baseunits}\oarg{\drvdunits}\oarg{\altnunits}}
+Redefines an existing physical quantity, allowing for new alternate units. You can
+also change the other units but it strongly discouraged. The new definition takes
+effect immediately.
+\end{docCommand}
+%\iffalse
+%</example>
+%\fi
+%
 %\changes{v2.4.0}{2014/12/16}{Added table of all predefined quantities with units.}
+%\changes{v2.7.2}{2018/03/19}{Adjusted units of some predefined quantities and 
+%  constants.}
 %\subsubsection{All Predefined Quantities}
 %
 %\changes{v2.6.0}{2016/05/20}{Documented \cs{chkquantity}.}
@@ -3006,13 +3086,14 @@
 %<*example>
 %\fi
 \begin{docCommand}{newphysicsconstant}
-{\marg{name}\marg{symbol}{\{\cs{mi at p\marg{approx}\marg{precise}}\}}\marg{\baseunits}\\
-\oarg{\drvdunits}\oarg{\tradunits}%
+{\marg{name}\marg{symbol}{\{\cs{mi at p\marg{approx}\marg{precise}}\}}\marg{\baseunits}
+\\
+\oarg{\drvdunits}\oarg{\altnunits}%
 }%
 
 Defines a new physical constant with a name, a symbol, approximate and 
 precise numerical values, required base units, optional derived units, 
-and optional traditional units. The \cs{mi at p} command is defined
+and optional alternate units. The \cs{mi at p} command is defined
 internally and is not meant to be otherwise used.
 \end{docCommand}
 \begin{dispListing}
@@ -3045,17 +3126,37 @@
 %   the constant and its units in \baseunits\ form.
 %   \item A command \cs{namedrvdunit} is created that expresses 
 %   the constant and its units in \drvdunits\ form.
-%   \item A command \cs{nametradunit} is created that 
-%   expresses the constant and its units in \tradunits\ form.
+%   \item A command \cs{namealtnunit} is created that 
+%   expresses the constant and its units in \altnunits\ form.
 %   \item A command \cs{nameonlybaseunit} is created that expresses 
 %   \textbf{only} the constant's units in \baseunits\ form.
 %   \item A command \cs{nameonlydrvdunit} is created that 
 %   expresses \textbf{only} the constant's units in \drvdunits\ form. 
-%   \item A command \cs{nameonlytradunit} is created that 
-%   expresses \textbf{only} the constant's units in \tradunits\ form. 
+%   \item A command \cs{nameonlyaltnunit} is created that 
+%   expresses \textbf{only} the constant's units in \altnunits\ form. 
 % \end{itemize}
 % None of these commands takes any arguments.
 %
+%
+% There is a command similar to \refCom{redefinephysicsquantity} that allows for
+% redefining physical constants.
+%
+%\changes{v2.7.2}{2018/03/16}{Documented the \cs{redefinephysicsconstant} command.}
+%\iffalse
+%<*example>
+%\fi
+\begin{docCommand}{redefinephysicsconstant}
+{\marg{name}\marg{symbol}{\{\cs{mi at p\marg{approx}\marg{precise}}\}}\marg{\baseunits}
+\\
+\oarg{\drvdunits}\oarg{\altnunits}%
+}%
+Redefines an existing physical constant. 
+The new definition takes effect immediately.
+\end{docCommand}
+%\iffalse
+%</example>
+%\fi
+%
 % \newpage
 % \subsubsection{Predefined Physical Constants}
 %
@@ -4099,7 +4200,7 @@
 \begin{mysolution*}
   \msub{u}{\mu} &= \mivector{\ezero,\eone,\etwo,\ethree}        \\
   \msub{u}{\mu} &= \mivector[\quad]{\ezero,\eone,\etwo,\ethree} \\
-  \vect{v} &= \mivector{1,3,5}[\velocityonlytradunit]           \\
+  \vect{v} &= \mivector{1,3,5}[\velocityonlyaltnunit]           \\
   \vect{E} &= \mivector{\oofpezmathsymbol \frac{Q}{x^2},0,0}    \\
   \vect{E} &= \mivector[\quad]{\oofpezmathsymbol \frac{Q}{x^2},0,0}
 \end{mysolution*}
@@ -4120,7 +4221,7 @@
 \end{docCommand}
 \begin{dispExample}
 \magvectncomps{\velocity{3.12},\velocity{4.04},\velocity{6.73}} \\
-\magvectncomps{3.12,4.04,6.73}[\velocityonlytradunit]           \\
+\magvectncomps{3.12,4.04,6.73}[\velocityonlyaltnunit]           \\
 \magvectncomps{\frac{1}{\sqrt{3}},\frac{1}{\sqrt{3}},\frac{1}{\sqrt{3}}}
 \end{dispExample}
 %\iffalse
@@ -6495,7 +6596,7 @@
 this same idea in other sources. A blank argument generates a placeholder.
 \end{docCommand}
 \begin{dispExample*}{sidebyside}
-\unitsof{\vect{v}} = \velocityonlytradunit, \unitsof{}
+\unitsof{\vect{v}} = \velocityonlyaltnunit, \unitsof{}
 \end{dispExample*}
 %\iffalse
 %</example>
@@ -6524,7 +6625,7 @@
 Another command for scientific notation with an optional unit.
 \end{docCommand}
 \begin{dispExample*}{sidebyside}
-2.99\xtento{8}[\velocityonlytradunit] \\
+2.99\xtento{8}[\velocityonlyaltnunit] \\
 2.99\timestento{-4}
 \end{dispExample*}
 %\iffalse
@@ -9449,7 +9550,7 @@
 %\iffalse
 %<*example>
 %\fi
-\begin{docCommand}{image}{\oarg{scaleorsizes}\marg{imagefilename}\marg{caption}\marg{label}}
+\begin{docCommand}{image}{\oarg{scalesize}\marg{filename}\marg{caption}\marg{label}}
 Centered figure displayed actual size with caption. The optional argument can be
 a scale factor (with 1 being the original image size), explicit \texttt{width}
 and/or \texttt{height} parameters, or even an \texttt{angle} for rotating the
@@ -9460,7 +9561,8 @@
   \image{sampleimage.pdf}{An image shown actual size.}{img-label1}
   \image[scale=1.5]{sampleimage.pdf}{An image scaled by 1.5 times.}{img-label2}
   \image[height=1cm,width=2cm]{sampleimage.pdf}{An image resized.}{img-label3}
-  \image[width=0.8\textwidth]{sampleimage.pdf}{An image 80 percent the text width.}{img-label4}
+  \image[width=0.8\textwidth]{sampleimage.pdf}{An image 80 percent the text width.}
+  {img-label4}
   \image[angle=45]{sampleimage.pdf}{An image actual size, rotated.}{img-label5}
 \end{dispListing}
 %\iffalse
@@ -9606,6 +9708,7 @@
 \newboolean{@optsinglemagbars}
 \newboolean{@optbaseunits}
 \newboolean{@optdrvdunits}
+\newboolean{@optaltnunits}
 \newboolean{@optapproxconsts}
 \newboolean{@optuseradians}
 \setboolean{@optromanvectors}{false}   % this is where you set the default option
@@ -9612,7 +9715,8 @@
 \setboolean{@optboldvectors}{false}    % this is where you set the default option
 \setboolean{@optsinglemagbars}{false}  % this is where you set the default option
 \setboolean{@optbaseunits}{false}      % this is where you set the default option
-\setboolean{@optdrvdunits}{false}      % this is where you set the default option
+\setboolean{@optdrvdunits}{true}       % this is where you set the default option
+\setboolean{@optaltnunits}{false}      % this is where you set the default option
 \setboolean{@optapproxconsts}{false}   % this is where you set the default option
 \setboolean{@optuseradians}{false}     % this is where you set the default option
 \DeclareOption{romanvectors}{\setboolean{@optromanvectors}{true}}
@@ -9627,9 +9731,9 @@
 %
 %    \begin{macrocode}
 \newcommand*{\mandiversion}{\ifmmode%
-    2.7.1\mbox{ dated }2018/01/15%
+    2.7.2\mbox{ dated }2018/03/20%
   \else%
-    2.7.1 dated 2018/01/15%
+    2.7.2 dated 2018/03/20%
   \fi
   }%
 \typeout{                                                }
@@ -9729,20 +9833,20 @@
     \expandafter\@firstoftwo\expandafter{\iffalse}\fi0 #3}{0 #2}}}%
 \newcommand*\selectbaseunit[3]{#1}
 \newcommand*\selectdrvdunit[3]{#2}
-\newcommand*\selecttradunit[3]{#3}
+\newcommand*\selectaltnunit[3]{#3}
 \newcommand*\selectunit{}
 \newcommand*\perpusebaseunit{\let\selectunit=\selectbaseunit}
 \newcommand*\perpusedrvdunit{\let\selectunit=\selectdrvdunit}
-\newcommand*\perpusetradunit{\let\selectunit=\selecttradunit}
+\newcommand*\perpusealtnunit{\let\selectunit=\selectaltnunit}
 \newcommand*\hereusebaseunit[1]{%
   \begingroup\perpusebaseunit#1\endgroup}%
 \newcommand*\hereusedrvdunit[1]{%
   \begingroup\perpusedrvdunit#1\endgroup}%
-\newcommand*\hereusetradunit[1]{%
-  \begingroup\perpusetradunit#1\endgroup}%
+\newcommand*\hereusealtnunit[1]{%
+  \begingroup\perpusealtnunit#1\endgroup}%
 \newenvironment{usebaseunit}{\perpusebaseunit}{}%
 \newenvironment{usedrvdunit}{\perpusedrvdunit}{}%
-\newenvironment{usetradunit}{\perpusetradunit}{}%
+\newenvironment{usealtnunit}{\perpusealtnunit}{}%
 \newcommand*\newphysicsquantity{\definephysicsquantity{\newcommand}}
 \newcommand*\redefinephysicsquantity{\definephysicsquantity{\renewcommand}}
 \newcommandx*\definephysicsquantity[5][4=,5=]{%
@@ -9759,11 +9863,11 @@
   \mi at name#4{#5}#7{\unit{#8}{\selectunit{#3}{#1}{#2}}}%
   \mi at name#4{#5baseunit}#7{\unit{#8}{#3}}%
   \mi at name#4{#5drvdunit}#7{\unit{#8}{#1}}%
-  \mi at name#4{#5tradunit}#7{\unit{#8}{#2}}%
+  \mi at name#4{#5altnunit}#7{\unit{#8}{#2}}%
   \mi at name#4{#5onlyunit}{\selectunit{#3}{#1}{#2}}%
   \mi at name#4{#5onlybaseunit}{\ensuremath{#3}}%
   \mi at name#4{#5onlydrvdunit}{\ensuremath{#1}}%
-  \mi at name#4{#5onlytradunit}{\ensuremath{#2}}%
+  \mi at name#4{#5onlyaltnunit}{\ensuremath{#2}}%
   \mi at name#4{#5value}#7{\ensuremath{#8}}%
   \mi at forkifnull{#7}{%
     \ifx#4\renewcommand\mi at name\let{#5mathsymbol}=\relax\fi
@@ -9786,8 +9890,8 @@
   {\ifthenelse{\boolean{@optdrvdunits}}
      {\perpusedrvdunit %
       \typeout{mandi: You'll get derived units.}}
-     {\perpusetradunit %
-      \typeout{mandi: You'll get traditional units.}}}
+     {\perpusealtnunit %
+      \typeout{mandi: You'll get alternate units.}}}
 \ifthenelse{\boolean{@optapproxconsts}}
   {\typeout{mandi: You'll get approximate constants.}}
   {\typeout{mandi: You'll get precise constants.}}
@@ -9797,7 +9901,8 @@
 \typeout{                                                }
 %    \end{macrocode}
 %
-% \noindent This is a utility command for picking constants.
+% \noindent This is a utility command for picking constants. Do not use this
+% command manually.
 %    \begin{macrocode}
 \ifthenelse{\boolean{@optapproxconsts}}
   {\newcommand*{\mi at p}[2]{#1}} % approximate value
@@ -9882,7 +9987,7 @@
 \newcommand*{\insolarD}[1]{\unit{#1}{\Dsolar}}
 \newcommand*{\insolard}[1]{\unit{#1}{\dsolar}}
 \newcommand*{\velocityc}[1]{\ensuremath{#1c}}
-\newcommand*{\lorentz}[1]{\ensuremath{#1}}
+\newcommand*{\lorentzfactor}[1]{\ensuremath{#1}}
 \newcommand*{\speed}{\velocity}
 \newphysicsquantity{displacement}%
   {\m}%
@@ -9994,16 +10099,16 @@
   []
 \newphysicsquantity{work}%
   {\m\squared\usk\kg\usk\s\reciprocalsquared}%
-  [\N\usk\m]%
-  [\J]
+  [\J]%
+  [\N\usk\m]
 \newphysicsquantity{energy}%
   {\m\squared\usk\kg\usk\s\reciprocalsquared}%
-  [\N\usk\m]%
-  [\J]
+  [\J]%
+  [\N\usk\m]
 \newphysicsquantity{power}%
   {\m\squared\usk\kg\usk\s\reciprocalcubed}%
-  [\J\per\s]%
-  [\W]
+  [\W]%
+  [\J\per\s]
 \newphysicsquantity{specificheatcapacity}%
   {\J\per\K\usk\kg}%
   [\J\per\K\usk\kg]%
@@ -10018,18 +10123,18 @@
   [\rad\per\s\squared]
 \newphysicsquantity{momentofinertia}%
   {\m\squared\usk\kg}%
-  [\m\usk\kg\squared]%
+  [\m\squared\usk\kg]%
   [\J\usk\s\squared]
 \ifthenelse{\boolean{@optuseradians}}
   {%
   \newphysicsquantity{angularmomentum}%
     {\m\squared\usk\kg\usk\reciprocal\s\usk\reciprocal\rad}%
-    [\N\usk\m\usk\s\per\rad]%
-    [\m\squared\usk\kg\usk\reciprocal\s\usk\reciprocal\rad]
+    [\kg\usk\m\squared\per(\s\usk\rad)]%
+    [\N\usk\m\usk\s\per\rad]
   \newphysicsquantity{angularimpulse}%
     {\m\squared\usk\kg\usk\reciprocal\s\usk\reciprocal\rad}%
-    [\N\usk\m\usk\s\per\rad]%
-    [\J\usk\s\per\rad]
+    [\J\usk\s\per\rad]%
+    [\N\usk\m\usk\s\per\rad]
   \newphysicsquantity{torque}%
     {\m\squared\usk\kg\usk\s\reciprocalsquared\usk\reciprocal\rad}%
     [\N\usk\m\per\rad]%
@@ -10038,12 +10143,12 @@
   {%
   \newphysicsquantity{angularmomentum}%
     {\m\squared\usk\kg\usk\reciprocal\s}%
-    [\N\usk\m\usk\s]%
-    [\m\squared\usk\kg\usk\reciprocal\s]
+    [\kg\usk\m\squared\per\s]%
+    [\N\usk\m\usk\s]
   \newphysicsquantity{angularimpulse}%
     {\m\squared\usk\kg\usk\reciprocal\s}%
-    [\N\usk\m\usk\s]%
-    [\J\usk\s]
+    [\J\usk\s]%
+    [\N\usk\m\usk\s]
   \newphysicsquantity{torque}%
     {\m\squared\usk\kg\usk\s\reciprocalsquared}%
     [\N\usk\m]%
@@ -10075,16 +10180,16 @@
   [\C]
 \newphysicsquantity{permittivity}%
   {\m\reciprocalcubed\usk\reciprocal\kg\usk\s\reciprocalquarted\usk\A\squared}%
-  [\F\per\m]%
-  [\C\squared\per\N\usk\m\squared]
+  [\C\squared\per\N\usk\m\squared]%
+  [\F\per\m]
 \newphysicsquantity{permeability}%
   {\m\usk\kg\usk\s\reciprocalsquared\usk\A\reciprocalsquared}%
-  [\henry\per\m]%
-  [\T\usk\m\per\A]
+  [\T\usk\m\per\A]%
+  [\henry\per\m]
 \newphysicsquantity{electricfield}%
   {\m\usk\kg\usk\s\reciprocalcubed\usk\reciprocal\A}%
-  [\V\per\m]%
-  [\N\per\C]
+  [\N\per\C]%
+  [\V\per\m]
 \newphysicsquantity{electricdipolemoment}%
   {\m\usk\s\usk\A}%
   [\C\usk\m]%
@@ -10091,8 +10196,8 @@
   [\C\usk\m]
 \newphysicsquantity{electricflux}%
   {\m\cubed\usk\kg\usk\s\reciprocalcubed\usk\reciprocal\A}%
-  [\V\usk\m]%
-  [\N\usk\m\squared\per\C]
+  [\N\usk\m\squared\per\C]%
+  [\V\usk\m]
 \newphysicsquantity{magneticfield}%
   {\kg\usk\s\reciprocalsquared\usk\reciprocal\A}%
   [\T]%
@@ -10099,12 +10204,12 @@
   [\N\per\C\usk(\m\per\s)] % also \Wb\per\m\squared
 \newphysicsquantity{magneticflux}%
   {\m\squared\usk\kg\usk\s\reciprocalsquared\usk\reciprocal\A}%
-  [\volt\usk\s]%
-  [\T\usk\m\squared] % also \Wb and \J\per\A
+  [\T\usk\m\squared]%
+  [\volt\usk\s] % also \Wb and \J\per\A
 \newphysicsquantity{cmagneticfield}%
   {\m\usk\kg\usk\s\reciprocalcubed\usk\reciprocal\A}%
-  [\V\per\m]%
-  [\N\per\C]
+  [\N\per\C]%
+  [\V\per\m]
 \newphysicsquantity{linearchargedensity}%
   {\reciprocal\m\usk\s\usk\A}%
   [\C\per\m]%
@@ -10131,12 +10236,12 @@
   [\C\usk\m\per(\N\per\C)]
 \newphysicsquantity{electricpotential}%
   {\square\m\usk\kg\usk\reciprocalcubic\s\usk\reciprocal\A}%
-  [\J\per\C]%
-  [\V]
+  [\V]%
+  [\J\per\C]
 \newphysicsquantity{emf}%
   {\square\m\usk\kg\usk\reciprocalcubic\s\usk\reciprocal\A}%
-  [\J\per\C]%
-  [\V]
+  [\V]%
+  [\J\per\C]
 \newphysicsquantity{dielectricconstant}%
   {}%
   []%
@@ -10171,16 +10276,16 @@
   [\ensuremath{\mathrm{e}}\per\s]
 \newphysicsquantity{conventionalcurrent}%
   {\A}%
-  [\C\per\s]%
-  [\A]
+  [\A]%
+  [\C\per\s]
 \newphysicsquantity{magneticdipolemoment}%
   {\square\m\usk\A}%
-  [\J\per\T]%
-  [\A\usk\square\m]
+  [\A\usk\square\m]%
+  [\J\per\T]
 \newphysicsquantity{currentdensity}%
   {\reciprocalsquare\m\usk\A}%
-  [\C\usk\s\per\square\m]%
-  [\A\per\square\m]
+  [\A\per\square\m]%
+  [\C\usk\s\per\square\m]
 \newphysicsquantity{capacitance}%
   {\reciprocalsquare\m\usk\reciprocal\kg\usk\quartic\s\usk\square\A}%
   [\F]%
@@ -10191,8 +10296,8 @@
   [\volt\usk\s\per\A] % also \square\m\usk\kg\per\C\squared, \Wb\per\A
 \newphysicsquantity{conductivity}%
   {\reciprocalcubic\m\usk\reciprocal\kg\usk\cubic\s\usk\square\A}%
-  [\siemens\per\m]%
-  [(\A\per\square\m)\per(\V\per\m)]
+  [(\A\per\square\m)\per(\V\per\m)]%
+  [\siemens\per\m]
 \newphysicsquantity{resistivity}%
   {\cubic\m\usk\kg\usk\reciprocalcubic\s\usk\reciprocalsquare\A}%
   [\ohm\usk\m]%
@@ -10199,8 +10304,8 @@
   [(\V\per\m)\per(\A\per\square\m)]
 \newphysicsquantity{resistance}%
   {\square\m\usk\kg\usk\reciprocalcubic\s\usk\reciprocalsquare\A}%
-  [\V\per\A]%
-  [\ohm]
+  [\ohm]%
+  [\V\per\A]
 \newphysicsquantity{conductance}%
   {\reciprocalsquare\m\usk\reciprocal\kg\usk\cubic\s\usk\square\A}%
   [\A\per\V]%
@@ -10745,37 +10850,37 @@
   {\ensuremath{\frac{1}{\phantom{_o}4\pi\epsilon_0}}}%
   {\mi at p{9}{8.9875517873681764}\timestento{9}}%
   {\m\cubed\usk\kg\usk\reciprocalquartic\s\usk\A\reciprocalsquared}%
-  [\m\per\farad]%
-  [\newton\usk\m\squared\per\coulomb\squared]
+  [\newton\usk\m\squared\per\coulomb\squared]%
+  [\m\per\farad]
 \newphysicsconstant{oofpezcs}%
   {\ensuremath{\frac{1}{\phantom{_o}4\pi\epsilon_0 c^2\phantom{_o}}}}%
   {\tento{-7}}%
   {\m\usk\kg\usk\s\reciprocalsquared\usk\A\reciprocalsquared}%
-  [\T\usk\m\squared]%
-  [\N\usk\s\squared\per\C\squared]
+  [\N\usk\s\squared\per\C\squared]%
+  [\T\usk\m\squared]
 \newphysicsconstant{vacuumpermittivity}%
   {\ensuremath{\epsilon_0}}%
   {\mi at p{9.0}{8.854187817}\timestento{-12}}%
   {\m\reciprocalcubed\usk\reciprocal\kg\usk\s\quarted\usk\A\squared}%
-  [\F\per\m]%
-  [\C\squared\per\N\usk\m\squared]
+  [\C\squared\per\N\usk\m\squared]%
+  [\F\per\m]
 \newphysicsconstant{mzofp}%
   {\ensuremath{\frac{\phantom{_oo}\mu_0\phantom{_o}}{4\pi}}}%
   {\tento{-7}}%
   {\m\usk\kg\usk\s\reciprocalsquared\usk\A\reciprocalsquared}%
-  [\henry\per\m]%
-  [\tesla\usk\m\per\A]
+  [\tesla\usk\m\per\A]%
+  [\henry\per\m]
 \newphysicsconstant{vacuumpermeability}%
   {\ensuremath{\mu_0}}%
   {4\pi\timestento{-7}}%
   {\m\usk\kg\usk\s\reciprocalsquared\usk\A\reciprocalsquared}%
-  [\henry\per\m]%
-  [\T\usk\m\per\A]
+  [\T\usk\m\per\A]%
+  [\henry\per\m]
 \newphysicsconstant{boltzmann}%
   {\ensuremath{k_B}}%
   {\mi at p{1.4}{1.38064852}\timestento{-23}}%
   {\m\squared\usk\kg\usk\reciprocalsquare\s\usk\reciprocal\K}%
-  [\joule\per\K]%
+  [\J\per\K]%
   [\J\per\K]
 \newphysicsconstant{boltzmannineV}%
   {\ensuremath{k_B}}%
@@ -10787,7 +10892,7 @@
   {\ensuremath{\sigma}}%
   {\mi at p{5.7}{5.670367}\timestento{-8}}%
   {\kg\usk\s\reciprocalcubed\usk\K\reciprocalquarted}%
-  [\W\per\m\squared\usk\K^4]%
+  [\W\per\m\squared\usk\K\quarted]%
   [\W\per\m\squared\usk\K\quarted]
 \newphysicsconstant{planck}%
   {\ensuremath{h}}%
@@ -10853,8 +10958,8 @@
   {\ensuremath{G}}%
   {\mi at p{6.7}{6.67408}\timestento{-11}}%
   {\m\cubed\usk\reciprocal\kg\usk\s\reciprocalsquared}%
-  [\J\usk\m\per\kg\squared]%
-  [\N\usk\m\squared\per\kg\squared]
+  [\N\usk\m\squared\per\kg\squared]%
+  [\J\usk\m\per\kg\squared]
 \newphysicsconstant{surfacegravfield}%
   {\ensuremath{g}}%
   {\mi at p{9.8}{9.807}}%
@@ -11995,9 +12100,9 @@
 \newcommand*{\chkquantity}[1]{%
   \begin{center}
     \begin{tabular}{C{4.5cm} C{4cm} C{4cm} C{4cm}}
-      name    & baseunit & drvdunit & tradunit \tabularnewline 
+      name    & baseunit & drvdunit & altnunit \tabularnewline 
       \cs{#1} & \csname #1onlybaseunit\endcsname & \csname #1onlydrvdunit\endcsname & 
-        \csname #1onlytradunit\endcsname 
+        \csname #1onlyaltnunit\endcsname 
     \end{tabular}
   \end{center}
 }%
@@ -12007,9 +12112,9 @@
       name    & symbol & value \tabularnewline
       \cs{#1} & \csname #1mathsymbol\endcsname & \csname #1value\endcsname 
       \tabularnewline
-      baseunit & drvdunit & tradunit \tabularnewline
+      baseunit & drvdunit & altnunit \tabularnewline
       \csname #1onlybaseunit\endcsname & \csname #1onlydrvdunit\endcsname & 
-      \csname #1onlytradunit\endcsname
+      \csname #1onlyaltnunit\endcsname
     \end{tabular}
   \end{center}
 }%

Modified: trunk/Master/texmf-dist/tex/latex/mandi/mandi.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/mandi/mandi.sty	2018-03-27 21:24:36 UTC (rev 47149)
+++ trunk/Master/texmf-dist/tex/latex/mandi/mandi.sty	2018-03-27 21:24:50 UTC (rev 47150)
@@ -28,7 +28,7 @@
 %%                                  vdemo.py.
 %% ---------------------------------------------------------------------------
 %% 
-%%\ProvidesPackage{mandi}[2018/01/15 2.7.1 Macros for physics and astronomy]
+%%\ProvidesPackage{mandi}[2018/03/20 2.7.2 Macros for physics and astronomy]
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 
 \RequirePackage{amsmath}
@@ -104,6 +104,7 @@
 \newboolean{@optsinglemagbars}
 \newboolean{@optbaseunits}
 \newboolean{@optdrvdunits}
+\newboolean{@optaltnunits}
 \newboolean{@optapproxconsts}
 \newboolean{@optuseradians}
 \setboolean{@optromanvectors}{false}   % this is where you set the default option
@@ -110,7 +111,8 @@
 \setboolean{@optboldvectors}{false}    % this is where you set the default option
 \setboolean{@optsinglemagbars}{false}  % this is where you set the default option
 \setboolean{@optbaseunits}{false}      % this is where you set the default option
-\setboolean{@optdrvdunits}{false}      % this is where you set the default option
+\setboolean{@optdrvdunits}{true}       % this is where you set the default option
+\setboolean{@optaltnunits}{false}      % this is where you set the default option
 \setboolean{@optapproxconsts}{false}   % this is where you set the default option
 \setboolean{@optuseradians}{false}     % this is where you set the default option
 \DeclareOption{romanvectors}{\setboolean{@optromanvectors}{true}}
@@ -122,9 +124,9 @@
 \DeclareOption{useradians}{\setboolean{@optuseradians}{true}}
 \ProcessOptions\relax
 \newcommand*{\mandiversion}{\ifmmode%
-    2.7.1\mbox{ dated }2018/01/15%
+    2.7.2\mbox{ dated }2018/03/20%
   \else%
-    2.7.1 dated 2018/01/15%
+    2.7.2 dated 2018/03/20%
   \fi
   }%
 \typeout{                                                }
@@ -208,20 +210,20 @@
     \expandafter\@firstoftwo\expandafter{\iffalse}\fi0 #3}{0 #2}}}%
 \newcommand*\selectbaseunit[3]{#1}
 \newcommand*\selectdrvdunit[3]{#2}
-\newcommand*\selecttradunit[3]{#3}
+\newcommand*\selectaltnunit[3]{#3}
 \newcommand*\selectunit{}
 \newcommand*\perpusebaseunit{\let\selectunit=\selectbaseunit}
 \newcommand*\perpusedrvdunit{\let\selectunit=\selectdrvdunit}
-\newcommand*\perpusetradunit{\let\selectunit=\selecttradunit}
+\newcommand*\perpusealtnunit{\let\selectunit=\selectaltnunit}
 \newcommand*\hereusebaseunit[1]{%
   \begingroup\perpusebaseunit#1\endgroup}%
 \newcommand*\hereusedrvdunit[1]{%
   \begingroup\perpusedrvdunit#1\endgroup}%
-\newcommand*\hereusetradunit[1]{%
-  \begingroup\perpusetradunit#1\endgroup}%
+\newcommand*\hereusealtnunit[1]{%
+  \begingroup\perpusealtnunit#1\endgroup}%
 \newenvironment{usebaseunit}{\perpusebaseunit}{}%
 \newenvironment{usedrvdunit}{\perpusedrvdunit}{}%
-\newenvironment{usetradunit}{\perpusetradunit}{}%
+\newenvironment{usealtnunit}{\perpusealtnunit}{}%
 \newcommand*\newphysicsquantity{\definephysicsquantity{\newcommand}}
 \newcommand*\redefinephysicsquantity{\definephysicsquantity{\renewcommand}}
 \newcommandx*\definephysicsquantity[5][4=,5=]{%
@@ -238,11 +240,11 @@
   \mi at name#4{#5}#7{\unit{#8}{\selectunit{#3}{#1}{#2}}}%
   \mi at name#4{#5baseunit}#7{\unit{#8}{#3}}%
   \mi at name#4{#5drvdunit}#7{\unit{#8}{#1}}%
-  \mi at name#4{#5tradunit}#7{\unit{#8}{#2}}%
+  \mi at name#4{#5altnunit}#7{\unit{#8}{#2}}%
   \mi at name#4{#5onlyunit}{\selectunit{#3}{#1}{#2}}%
   \mi at name#4{#5onlybaseunit}{\ensuremath{#3}}%
   \mi at name#4{#5onlydrvdunit}{\ensuremath{#1}}%
-  \mi at name#4{#5onlytradunit}{\ensuremath{#2}}%
+  \mi at name#4{#5onlyaltnunit}{\ensuremath{#2}}%
   \mi at name#4{#5value}#7{\ensuremath{#8}}%
   \mi at forkifnull{#7}{%
     \ifx#4\renewcommand\mi at name\let{#5mathsymbol}=\relax\fi
@@ -261,8 +263,8 @@
   {\ifthenelse{\boolean{@optdrvdunits}}
      {\perpusedrvdunit %
       \typeout{mandi: You'll get derived units.}}
-     {\perpusetradunit %
-      \typeout{mandi: You'll get traditional units.}}}
+     {\perpusealtnunit %
+      \typeout{mandi: You'll get alternate units.}}}
 \ifthenelse{\boolean{@optapproxconsts}}
   {\typeout{mandi: You'll get approximate constants.}}
   {\typeout{mandi: You'll get precise constants.}}
@@ -322,7 +324,7 @@
 \newcommand*{\insolarD}[1]{\unit{#1}{\Dsolar}}
 \newcommand*{\insolard}[1]{\unit{#1}{\dsolar}}
 \newcommand*{\velocityc}[1]{\ensuremath{#1c}}
-\newcommand*{\lorentz}[1]{\ensuremath{#1}}
+\newcommand*{\lorentzfactor}[1]{\ensuremath{#1}}
 \newcommand*{\speed}{\velocity}
 \newphysicsquantity{displacement}%
   {\m}%
@@ -434,16 +436,16 @@
   []
 \newphysicsquantity{work}%
   {\m\squared\usk\kg\usk\s\reciprocalsquared}%
-  [\N\usk\m]%
-  [\J]
+  [\J]%
+  [\N\usk\m]
 \newphysicsquantity{energy}%
   {\m\squared\usk\kg\usk\s\reciprocalsquared}%
-  [\N\usk\m]%
-  [\J]
+  [\J]%
+  [\N\usk\m]
 \newphysicsquantity{power}%
   {\m\squared\usk\kg\usk\s\reciprocalcubed}%
-  [\J\per\s]%
-  [\W]
+  [\W]%
+  [\J\per\s]
 \newphysicsquantity{specificheatcapacity}%
   {\J\per\K\usk\kg}%
   [\J\per\K\usk\kg]%
@@ -458,18 +460,18 @@
   [\rad\per\s\squared]
 \newphysicsquantity{momentofinertia}%
   {\m\squared\usk\kg}%
-  [\m\usk\kg\squared]%
+  [\m\squared\usk\kg]%
   [\J\usk\s\squared]
 \ifthenelse{\boolean{@optuseradians}}
   {%
   \newphysicsquantity{angularmomentum}%
     {\m\squared\usk\kg\usk\reciprocal\s\usk\reciprocal\rad}%
-    [\N\usk\m\usk\s\per\rad]%
-    [\m\squared\usk\kg\usk\reciprocal\s\usk\reciprocal\rad]
+    [\kg\usk\m\squared\per(\s\usk\rad)]%
+    [\N\usk\m\usk\s\per\rad]
   \newphysicsquantity{angularimpulse}%
     {\m\squared\usk\kg\usk\reciprocal\s\usk\reciprocal\rad}%
-    [\N\usk\m\usk\s\per\rad]%
-    [\J\usk\s\per\rad]
+    [\J\usk\s\per\rad]%
+    [\N\usk\m\usk\s\per\rad]
   \newphysicsquantity{torque}%
     {\m\squared\usk\kg\usk\s\reciprocalsquared\usk\reciprocal\rad}%
     [\N\usk\m\per\rad]%
@@ -478,12 +480,12 @@
   {%
   \newphysicsquantity{angularmomentum}%
     {\m\squared\usk\kg\usk\reciprocal\s}%
-    [\N\usk\m\usk\s]%
-    [\m\squared\usk\kg\usk\reciprocal\s]
+    [\kg\usk\m\squared\per\s]%
+    [\N\usk\m\usk\s]
   \newphysicsquantity{angularimpulse}%
     {\m\squared\usk\kg\usk\reciprocal\s}%
-    [\N\usk\m\usk\s]%
-    [\J\usk\s]
+    [\J\usk\s]%
+    [\N\usk\m\usk\s]
   \newphysicsquantity{torque}%
     {\m\squared\usk\kg\usk\s\reciprocalsquared}%
     [\N\usk\m]%
@@ -515,16 +517,16 @@
   [\C]
 \newphysicsquantity{permittivity}%
   {\m\reciprocalcubed\usk\reciprocal\kg\usk\s\reciprocalquarted\usk\A\squared}%
-  [\F\per\m]%
-  [\C\squared\per\N\usk\m\squared]
+  [\C\squared\per\N\usk\m\squared]%
+  [\F\per\m]
 \newphysicsquantity{permeability}%
   {\m\usk\kg\usk\s\reciprocalsquared\usk\A\reciprocalsquared}%
-  [\henry\per\m]%
-  [\T\usk\m\per\A]
+  [\T\usk\m\per\A]%
+  [\henry\per\m]
 \newphysicsquantity{electricfield}%
   {\m\usk\kg\usk\s\reciprocalcubed\usk\reciprocal\A}%
-  [\V\per\m]%
-  [\N\per\C]
+  [\N\per\C]%
+  [\V\per\m]
 \newphysicsquantity{electricdipolemoment}%
   {\m\usk\s\usk\A}%
   [\C\usk\m]%
@@ -531,8 +533,8 @@
   [\C\usk\m]
 \newphysicsquantity{electricflux}%
   {\m\cubed\usk\kg\usk\s\reciprocalcubed\usk\reciprocal\A}%
-  [\V\usk\m]%
-  [\N\usk\m\squared\per\C]
+  [\N\usk\m\squared\per\C]%
+  [\V\usk\m]
 \newphysicsquantity{magneticfield}%
   {\kg\usk\s\reciprocalsquared\usk\reciprocal\A}%
   [\T]%
@@ -539,12 +541,12 @@
   [\N\per\C\usk(\m\per\s)] % also \Wb\per\m\squared
 \newphysicsquantity{magneticflux}%
   {\m\squared\usk\kg\usk\s\reciprocalsquared\usk\reciprocal\A}%
-  [\volt\usk\s]%
-  [\T\usk\m\squared] % also \Wb and \J\per\A
+  [\T\usk\m\squared]%
+  [\volt\usk\s] % also \Wb and \J\per\A
 \newphysicsquantity{cmagneticfield}%
   {\m\usk\kg\usk\s\reciprocalcubed\usk\reciprocal\A}%
-  [\V\per\m]%
-  [\N\per\C]
+  [\N\per\C]%
+  [\V\per\m]
 \newphysicsquantity{linearchargedensity}%
   {\reciprocal\m\usk\s\usk\A}%
   [\C\per\m]%
@@ -571,12 +573,12 @@
   [\C\usk\m\per(\N\per\C)]
 \newphysicsquantity{electricpotential}%
   {\square\m\usk\kg\usk\reciprocalcubic\s\usk\reciprocal\A}%
-  [\J\per\C]%
-  [\V]
+  [\V]%
+  [\J\per\C]
 \newphysicsquantity{emf}%
   {\square\m\usk\kg\usk\reciprocalcubic\s\usk\reciprocal\A}%
-  [\J\per\C]%
-  [\V]
+  [\V]%
+  [\J\per\C]
 \newphysicsquantity{dielectricconstant}%
   {}%
   []%
@@ -611,16 +613,16 @@
   [\ensuremath{\mathrm{e}}\per\s]
 \newphysicsquantity{conventionalcurrent}%
   {\A}%
-  [\C\per\s]%
-  [\A]
+  [\A]%
+  [\C\per\s]
 \newphysicsquantity{magneticdipolemoment}%
   {\square\m\usk\A}%
-  [\J\per\T]%
-  [\A\usk\square\m]
+  [\A\usk\square\m]%
+  [\J\per\T]
 \newphysicsquantity{currentdensity}%
   {\reciprocalsquare\m\usk\A}%
-  [\C\usk\s\per\square\m]%
-  [\A\per\square\m]
+  [\A\per\square\m]%
+  [\C\usk\s\per\square\m]
 \newphysicsquantity{capacitance}%
   {\reciprocalsquare\m\usk\reciprocal\kg\usk\quartic\s\usk\square\A}%
   [\F]%
@@ -631,8 +633,8 @@
   [\volt\usk\s\per\A] % also \square\m\usk\kg\per\C\squared, \Wb\per\A
 \newphysicsquantity{conductivity}%
   {\reciprocalcubic\m\usk\reciprocal\kg\usk\cubic\s\usk\square\A}%
-  [\siemens\per\m]%
-  [(\A\per\square\m)\per(\V\per\m)]
+  [(\A\per\square\m)\per(\V\per\m)]%
+  [\siemens\per\m]
 \newphysicsquantity{resistivity}%
   {\cubic\m\usk\kg\usk\reciprocalcubic\s\usk\reciprocalsquare\A}%
   [\ohm\usk\m]%
@@ -639,8 +641,8 @@
   [(\V\per\m)\per(\A\per\square\m)]
 \newphysicsquantity{resistance}%
   {\square\m\usk\kg\usk\reciprocalcubic\s\usk\reciprocalsquare\A}%
-  [\V\per\A]%
-  [\ohm]
+  [\ohm]%
+  [\V\per\A]
 \newphysicsquantity{conductance}%
   {\reciprocalsquare\m\usk\reciprocal\kg\usk\cubic\s\usk\square\A}%
   [\A\per\V]%
@@ -1184,37 +1186,37 @@
   {\ensuremath{\frac{1}{\phantom{_o}4\pi\epsilon_0}}}%
   {\mi at p{9}{8.9875517873681764}\timestento{9}}%
   {\m\cubed\usk\kg\usk\reciprocalquartic\s\usk\A\reciprocalsquared}%
-  [\m\per\farad]%
-  [\newton\usk\m\squared\per\coulomb\squared]
+  [\newton\usk\m\squared\per\coulomb\squared]%
+  [\m\per\farad]
 \newphysicsconstant{oofpezcs}%
   {\ensuremath{\frac{1}{\phantom{_o}4\pi\epsilon_0 c^2\phantom{_o}}}}%
   {\tento{-7}}%
   {\m\usk\kg\usk\s\reciprocalsquared\usk\A\reciprocalsquared}%
-  [\T\usk\m\squared]%
-  [\N\usk\s\squared\per\C\squared]
+  [\N\usk\s\squared\per\C\squared]%
+  [\T\usk\m\squared]
 \newphysicsconstant{vacuumpermittivity}%
   {\ensuremath{\epsilon_0}}%
   {\mi at p{9.0}{8.854187817}\timestento{-12}}%
   {\m\reciprocalcubed\usk\reciprocal\kg\usk\s\quarted\usk\A\squared}%
-  [\F\per\m]%
-  [\C\squared\per\N\usk\m\squared]
+  [\C\squared\per\N\usk\m\squared]%
+  [\F\per\m]
 \newphysicsconstant{mzofp}%
   {\ensuremath{\frac{\phantom{_oo}\mu_0\phantom{_o}}{4\pi}}}%
   {\tento{-7}}%
   {\m\usk\kg\usk\s\reciprocalsquared\usk\A\reciprocalsquared}%
-  [\henry\per\m]%
-  [\tesla\usk\m\per\A]
+  [\tesla\usk\m\per\A]%
+  [\henry\per\m]
 \newphysicsconstant{vacuumpermeability}%
   {\ensuremath{\mu_0}}%
   {4\pi\timestento{-7}}%
   {\m\usk\kg\usk\s\reciprocalsquared\usk\A\reciprocalsquared}%
-  [\henry\per\m]%
-  [\T\usk\m\per\A]
+  [\T\usk\m\per\A]%
+  [\henry\per\m]
 \newphysicsconstant{boltzmann}%
   {\ensuremath{k_B}}%
   {\mi at p{1.4}{1.38064852}\timestento{-23}}%
   {\m\squared\usk\kg\usk\reciprocalsquare\s\usk\reciprocal\K}%
-  [\joule\per\K]%
+  [\J\per\K]%
   [\J\per\K]
 \newphysicsconstant{boltzmannineV}%
   {\ensuremath{k_B}}%
@@ -1226,7 +1228,7 @@
   {\ensuremath{\sigma}}%
   {\mi at p{5.7}{5.670367}\timestento{-8}}%
   {\kg\usk\s\reciprocalcubed\usk\K\reciprocalquarted}%
-  [\W\per\m\squared\usk\K^4]%
+  [\W\per\m\squared\usk\K\quarted]%
   [\W\per\m\squared\usk\K\quarted]
 \newphysicsconstant{planck}%
   {\ensuremath{h}}%
@@ -1292,8 +1294,8 @@
   {\ensuremath{G}}%
   {\mi at p{6.7}{6.67408}\timestento{-11}}%
   {\m\cubed\usk\reciprocal\kg\usk\s\reciprocalsquared}%
-  [\J\usk\m\per\kg\squared]%
-  [\N\usk\m\squared\per\kg\squared]
+  [\N\usk\m\squared\per\kg\squared]%
+  [\J\usk\m\per\kg\squared]
 \newphysicsconstant{surfacegravfield}%
   {\ensuremath{g}}%
   {\mi at p{9.8}{9.807}}%
@@ -2433,9 +2435,9 @@
 \newcommand*{\chkquantity}[1]{%
   \begin{center}
     \begin{tabular}{C{4.5cm} C{4cm} C{4cm} C{4cm}}
-      name    & baseunit & drvdunit & tradunit \tabularnewline
+      name    & baseunit & drvdunit & altnunit \tabularnewline
       \cs{#1} & \csname #1onlybaseunit\endcsname & \csname #1onlydrvdunit\endcsname &
-        \csname #1onlytradunit\endcsname
+        \csname #1onlyaltnunit\endcsname
     \end{tabular}
   \end{center}
 }%
@@ -2445,9 +2447,9 @@
       name    & symbol & value \tabularnewline
       \cs{#1} & \csname #1mathsymbol\endcsname & \csname #1value\endcsname
       \tabularnewline
-      baseunit & drvdunit & tradunit \tabularnewline
+      baseunit & drvdunit & altnunit \tabularnewline
       \csname #1onlybaseunit\endcsname & \csname #1onlydrvdunit\endcsname &
-      \csname #1onlytradunit\endcsname
+      \csname #1onlyaltnunit\endcsname
     \end{tabular}
   \end{center}
 }%



More information about the tex-live-commits mailing list