From 42c224418f317ba690216bed4479b7bcf678c41c Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 4 Apr 2021 02:15:12 +0000 Subject: physconst (4apr21) git-svn-id: svn://tug.org/texlive/trunk@58727 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/latex/physconst/physconst.dtx | 151 +++++++++++---------- 1 file changed, 77 insertions(+), 74 deletions(-) (limited to 'Master/texmf-dist/source/latex/physconst') diff --git a/Master/texmf-dist/source/latex/physconst/physconst.dtx b/Master/texmf-dist/source/latex/physconst/physconst.dtx index 498759fa434..7286763e0a6 100644 --- a/Master/texmf-dist/source/latex/physconst/physconst.dtx +++ b/Master/texmf-dist/source/latex/physconst/physconst.dtx @@ -22,7 +22,7 @@ %\NeedsTeXFormat{LaTeX2e}[1994/06/01] % \ProvidesPackage{physconst} %<*package> - [2020/03/26 v1.1.1 physconst package] + [2021/03/26 v1.1.2 physconst package] % %\RequirePackage{physunits} %\DeclareOption{shortconst}{ \typeout{physconst: reduced precision}% @@ -74,10 +74,11 @@ % \changes{v1.0.2}{2020/01/26}{External changes for distribution.} % \changes{v1.1.0}{2020/02/03}{Add Earth, Sun, Jupiter mass and radius, fix Coulomb constant.} % \changes{v1.1.1}{2020/03/26}{Fixed bug that shortconst was having the opposite effect than intended. Additions and corrections to documentation.} +% \changes{v1.1.2}{2021/03/26}{Corrected the value for Avogadro's Number. Prior version had a typo.} % % \GetFileInfo{physconst.dtx} -% \DeclareRobustCommand{\fileversion}{v1.1.1} -% \DeclareRobustCommand{\filedate}{2020/03/26} +% \DeclareRobustCommand{\fileversion}{v1.1.2} +% \DeclareRobustCommand{\filedate}{2021/03/26} % % \DoNotIndex{\DeclareRobustCommand,\newenvironment,\DeclareRobustCommand% % ,\left,\right,\textbf,\mathrm} @@ -143,7 +144,9 @@ % \changes{v1.1.1}{2020/03/26}{Added section for acknowledgements.} % % The author would like to thank Dr. Florian Leupold for catching a glaring -% error in the shortconst option.% +% error in the shortconst option, and M. Kloske for catching a typo in +% Avogadro's Number. +% % \section{Bug Reporting} % \changes{v1.1.1}{2020/03/26}{Added section for bug reporting.} % @@ -5546,10 +5549,10 @@ % \begin{macrocode} \DeclareRobustCommand{\k@SI@full@MassElectron}{% \ensuremath{% -9.108\expandafter\physconst@decimalsseparator% -980\expandafter\physconst@decimalsseparator% -087\expandafter\physconst@decimalsseparator% -382% +9.109\expandafter\physconst@decimalsseparator% +383\expandafter\physconst@decimalsseparator% +701\expandafter\physconst@decimalsseparator% +500% \times 10^{-31}\kg}} % \end{macrocode} % \end{macro} @@ -5591,10 +5594,10 @@ % \begin{macrocode} \DeclareRobustCommand{\k@cgs@full@MassElectron}{% \ensuremath{% -9.108\expandafter\physconst@decimalsseparator% -980\expandafter\physconst@decimalsseparator% -087\expandafter\physconst@decimalsseparator% -382% +9.109\expandafter\physconst@decimalsseparator% +383\expandafter\physconst@decimalsseparator% +701\expandafter\physconst@decimalsseparator% +500% \times 10^{-28}\gm}} % \end{macrocode} % \end{macro} @@ -5637,9 +5640,9 @@ \DeclareRobustCommand{\k@eV@full@MassElectron}{% \ensuremath{% 5.109\expandafter\physconst@decimalsseparator% -763\expandafter\physconst@decimalsseparator% -089\expandafter\physconst@decimalsseparator% -046% +989\expandafter\physconst@decimalsseparator% +499\expandafter\physconst@decimalsseparator% +962% \times 10^{5}\eV\,c^{-2}}} % \end{macrocode} % \end{macro} @@ -5734,7 +5737,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@SI@full@MassElectronNumeric}{% \ensuremath{% -9.108980087382e-31}} +9.109383701500e-31}} % \end{macrocode} % \end{macro} % @@ -5774,7 +5777,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@cgs@full@MassElectronNumeric}{% \ensuremath{% -9.108980087382e-28}} +9.109383701500e-28}} % \end{macrocode} % \end{macro} % @@ -5814,7 +5817,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@eV@full@MassElectronNumeric}{% \ensuremath{% -5.109763089046e+05}} +5.109989499962e+05}} % \end{macrocode} % \end{macro} % @@ -5910,9 +5913,9 @@ \DeclareRobustCommand{\k@SI@full@MassProton}{% \ensuremath{% 1.672\expandafter\physconst@decimalsseparator% -547\expandafter\physconst@decimalsseparator% -813\expandafter\physconst@decimalsseparator% -969% +621\expandafter\physconst@decimalsseparator% +923\expandafter\physconst@decimalsseparator% +690% \times 10^{-27}\kg}} % \end{macrocode} % \end{macro} @@ -5955,9 +5958,9 @@ \DeclareRobustCommand{\k@cgs@full@MassProton}{% \ensuremath{% 1.672\expandafter\physconst@decimalsseparator% -547\expandafter\physconst@decimalsseparator% -813\expandafter\physconst@decimalsseparator% -969% +621\expandafter\physconst@decimalsseparator% +923\expandafter\physconst@decimalsseparator% +690% \times 10^{-24}\gm}} % \end{macrocode} % \end{macro} @@ -5998,9 +6001,9 @@ \DeclareRobustCommand{\k@eV@full@MassProton}{% \ensuremath{% 9.382\expandafter\physconst@decimalsseparator% -305\expandafter\physconst@decimalsseparator% -156\expandafter\physconst@decimalsseparator% -558% +720\expandafter\physconst@decimalsseparator% +881\expandafter\physconst@decimalsseparator% +605% \times 10^{8}\eV\,c^{-2}}} % \end{macrocode} % \end{macro} @@ -6095,7 +6098,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@SI@full@MassProtonNumeric}{% \ensuremath{% -1.672547813969e-27}} +1.672621923690e-27}} % \end{macrocode} % \end{macro} % @@ -6135,7 +6138,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@cgs@full@MassProtonNumeric}{% \ensuremath{% -1.672547813969e-24}} +1.672621923690e-24}} % \end{macrocode} % \end{macro} % @@ -6173,7 +6176,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@eV@full@MassProtonNumeric}{% \ensuremath{% -9.382305156558e+08}} +9.382720881605e+08}} % \end{macrocode} % \end{macro} % @@ -6269,9 +6272,9 @@ \DeclareRobustCommand{\k@SI@full@MassHydrogen}{% \ensuremath{% 1.673\expandafter\physconst@decimalsseparator% -458\expandafter\physconst@decimalsseparator% -687\expandafter\physconst@decimalsseparator% -724% +532\expandafter\physconst@decimalsseparator% +837\expandafter\physconst@decimalsseparator% +806% \times 10^{-27}\kg}} % \end{macrocode} % \end{macro} @@ -6314,9 +6317,9 @@ \DeclareRobustCommand{\k@cgs@full@MassHydrogen}{% \ensuremath{% 1.673\expandafter\physconst@decimalsseparator% -458\expandafter\physconst@decimalsseparator% -687\expandafter\physconst@decimalsseparator% -724% +532\expandafter\physconst@decimalsseparator% +837\expandafter\physconst@decimalsseparator% +806% \times 10^{-24}\gm}} % \end{macrocode} % \end{macro} @@ -6359,9 +6362,9 @@ \DeclareRobustCommand{\k@eV@full@MassHydrogen}{% \ensuremath{% 9.387\expandafter\physconst@decimalsseparator% -414\expandafter\physconst@decimalsseparator% -783\expandafter\physconst@decimalsseparator% -596% +830\expandafter\physconst@decimalsseparator% +735\expandafter\physconst@decimalsseparator% +048% \times 10^{8}\eV\,c^{-2}}} % \end{macrocode} % \end{macro} @@ -6456,7 +6459,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@SI@full@MassHydrogenNumeric}{% \ensuremath{% -1.673458687724e-27}} +1.673532837806e-27}} % \end{macrocode} % \end{macro} % @@ -6496,7 +6499,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@cgs@full@MassHydrogenNumeric}{% \ensuremath{% -1.673458687724e-24}} +1.673532837806e-24}} % \end{macrocode} % \end{macro} % @@ -6536,7 +6539,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@eV@full@MassHydrogenNumeric}{% \ensuremath{% -9.387414783596e+08}} +9.387830735048e+08}} % \end{macrocode} % \end{macro} % @@ -7075,9 +7078,9 @@ \DeclareRobustCommand{\k@SI@full@MassAMU}{% \ensuremath{% 1.660\expandafter\physconst@decimalsseparator% -465\expandafter\physconst@decimalsseparator% -492\expandafter\physconst@decimalsseparator% -239% +539\expandafter\physconst@decimalsseparator% +066\expandafter\physconst@decimalsseparator% +600% \times 10^{-27}\kg}} % \end{macrocode} % \end{macro} @@ -7120,9 +7123,9 @@ \DeclareRobustCommand{\k@cgs@full@MassAMU}{% \ensuremath{% 1.660\expandafter\physconst@decimalsseparator% -465\expandafter\physconst@decimalsseparator% -492\expandafter\physconst@decimalsseparator% -239% +539\expandafter\physconst@decimalsseparator% +066\expandafter\physconst@decimalsseparator% +600% \times 10^{-24}\gm}} % \end{macrocode} % \end{macro} @@ -7165,9 +7168,9 @@ \DeclareRobustCommand{\k@eV@full@MassAMU}{% \ensuremath{% 9.314\expandafter\physconst@decimalsseparator% -528\expandafter\physconst@decimalsseparator% -302\expandafter\physconst@decimalsseparator% -276% +941\expandafter\physconst@decimalsseparator% +024\expandafter\physconst@decimalsseparator% +171% \times 10^{8}\eV\,c^{-2}}} % \end{macrocode} % \end{macro} @@ -7262,7 +7265,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@SI@full@MassAMUNumeric}{% \ensuremath{% -1.660465492239e-27}} +1.660539066600e-27}} % \end{macrocode} % \end{macro} % @@ -7302,7 +7305,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@cgs@full@MassAMUNumeric}{% \ensuremath{% -1.660465492239e-24}} +1.660539066600e-24}} % \end{macrocode} % \end{macro} % @@ -7342,7 +7345,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@eV@full@MassAMUNumeric}{% \ensuremath{% -9.314528302276e+08}} +9.314941024171e+08}} % \end{macrocode} % \end{macro} % @@ -8075,9 +8078,9 @@ % \begin{macrocode} \DeclareRobustCommand{\k@SI@full@RadiusBohr}{% \ensuremath{% -5.292\expandafter\physconst@decimalsseparator% -006\expandafter\physconst@decimalsseparator% -59% +5.291\expandafter\physconst@decimalsseparator% +772\expandafter\physconst@decimalsseparator% +11% \times 10^{-11}\m}} % \end{macrocode} % \end{macro} @@ -8115,9 +8118,9 @@ % \begin{macrocode} \DeclareRobustCommand{\k@cgs@full@RadiusBohr}{% \ensuremath{% -5.292\expandafter\physconst@decimalsseparator% -006\expandafter\physconst@decimalsseparator% -59% +5.291\expandafter\physconst@decimalsseparator% +772\expandafter\physconst@decimalsseparator% +11% \times 10^{-9}\cm}} % \end{macrocode} % \end{macro} @@ -8184,7 +8187,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@SI@full@RadiusBohrNumeric}{% \ensuremath{% -5.29200659e-11}} +5.29177211e-11}} % \end{macrocode} % \end{macro} % @@ -8220,7 +8223,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@cgs@full@RadiusBohrNumeric}{% \ensuremath{% -5.29200659e-09}} +5.29177211e-09}} % \end{macrocode} % \end{macro} % @@ -9159,8 +9162,8 @@ \DeclareRobustCommand{\k@SI@full@Rydberg}{% \ensuremath{% 2.179\expandafter\physconst@decimalsseparator% -775\expandafter\physconst@decimalsseparator% -77% +872\expandafter\physconst@decimalsseparator% +36% \times 10^{-18}\Joule}} % \end{macrocode} % \end{macro} @@ -9199,8 +9202,8 @@ \DeclareRobustCommand{\k@cgs@full@Rydberg}{% \ensuremath{% 2.179\expandafter\physconst@decimalsseparator% -775\expandafter\physconst@decimalsseparator% -77% +872\expandafter\physconst@decimalsseparator% +36% \times 10^{-11}\erg}} % \end{macrocode} % \end{macro} @@ -9239,8 +9242,8 @@ \DeclareRobustCommand{\k@eV@full@Rydberg}{% \ensuremath{% 1.360\expandafter\physconst@decimalsseparator% -509\expandafter\physconst@decimalsseparator% -03% +569\expandafter\physconst@decimalsseparator% +31% \times 10^{1}\eV}} % \end{macrocode} % \end{macro} @@ -9327,7 +9330,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@SI@full@RydbergNumeric}{% \ensuremath{% -2.17977577e-18}} +2.17987236e-18}} % \end{macrocode} % \end{macro} % @@ -9363,7 +9366,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@cgs@full@RydbergNumeric}{% \ensuremath{% -2.17977577e-11}} +2.17987236e-11}} % \end{macrocode} % \end{macro} % @@ -9399,7 +9402,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@eV@full@RydbergNumeric}{% \ensuremath{% -1.36050903e+01}} +1.36056931e+01}} % \end{macrocode} % \end{macro} % @@ -13262,8 +13265,8 @@ \DeclareRobustCommand{\k@full@Avogadro}{% \ensuremath{% 6.022\expandafter\physconst@decimalsseparator% -407\expandafter\physconst@decimalsseparator% -60% +140\expandafter\physconst@decimalsseparator% +76% \times 10^{23}}} % \end{macrocode} % \end{macro} @@ -13320,7 +13323,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@full@AvogadroNumeric}{% \ensuremath{% -6.02240760e+23}} +6.02214076e+23}} % \end{macrocode} % \end{macro} % -- cgit v1.2.3