diff options
Diffstat (limited to 'macros/latex')
58 files changed, 8637 insertions, 1076 deletions
diff --git a/macros/latex/contrib/acro/README b/macros/latex/contrib/acro/README index 9235273498..221ded70e3 100644 --- a/macros/latex/contrib/acro/README +++ b/macros/latex/contrib/acro/README @@ -1,5 +1,5 @@ -------------------------------------------------------------------------- -the ACRO package v2.11b 2020/01/24 +the ACRO package v2.11c 2020/02/03 Typeset Acronyms diff --git a/macros/latex/contrib/acro/acro-manual.cls b/macros/latex/contrib/acro/acro-manual.cls index 89f2fb286f..e0a35f4781 100644 --- a/macros/latex/contrib/acro/acro-manual.cls +++ b/macros/latex/contrib/acro/acro-manual.cls @@ -215,6 +215,7 @@ \begingroup \catcode`\^^M=13 \gdef\acroman@read@options#1#2^^M{% + \endgroup \ifblank{#2}{}{\acroman@read@options@#2}% #1% \XSIMfilewritestart*{\jobname.tmp}% @@ -226,7 +227,6 @@ {% \begingroup \acroman@readoptions{% - \endgroup \setlength\cnltx@sidebysidewidth {\dimexpr .45\columnwidth -\lst@xleftmargin -\lst@xrightmargin\relax}% \expanded{% @@ -251,7 +251,6 @@ {% \begingroup \acroman@readoptions{% - \endgroup \setlength\cnltx@sidebysidewidth {\dimexpr .45\columnwidth -\lst@xleftmargin -\lst@xrightmargin\relax}% \expanded{% @@ -387,5 +386,6 @@ \acro@add@version{2020-01-11}{2.11} \acro@add@version{2020-01-16}{2.11a} \acro@add@version{2020-01-24}{2.11b} +\acro@add@version{2020-02-03}{2.11c} \endinput diff --git a/macros/latex/contrib/acro/acro-manual.pdf b/macros/latex/contrib/acro/acro-manual.pdf Binary files differindex 2209e26891..4fea1ccc17 100644 --- a/macros/latex/contrib/acro/acro-manual.pdf +++ b/macros/latex/contrib/acro/acro-manual.pdf diff --git a/macros/latex/contrib/acro/acro.history b/macros/latex/contrib/acro/acro.history index 7fc23c120e..d719448f3e 100644 --- a/macros/latex/contrib/acro/acro.history +++ b/macros/latex/contrib/acro/acro.history @@ -282,3 +282,4 @@ feel free to contact me. - prefer lazy boolean evaluation when possible 2020/01/16 v2.11a - adapt to new l3text module 2020/01/24 v2.11b - fix issue #147 +2020/02/03 v2.11c - fix issue #76 diff --git a/macros/latex/contrib/acro/acro.sty b/macros/latex/contrib/acro/acro.sty index 3bf03df4d0..7346367aff 100644 --- a/macros/latex/contrib/acro/acro.sty +++ b/macros/latex/contrib/acro/acro.sty @@ -35,10 +35,10 @@ \ExplSyntaxOn -\tl_const:Nn \c_acro_date_tl {2020/01/24} +\tl_const:Nn \c_acro_date_tl {2020/02/03} \tl_const:Nn \c_acro_version_major_number_tl {2} \tl_const:Nn \c_acro_version_minor_number_tl {11} -\tl_const:Nn \c_acro_version_subrelease_tl {b} +\tl_const:Nn \c_acro_version_subrelease_tl {c} \tl_const:Nx \c_acro_version_number_tl { \c_acro_version_major_number_tl . @@ -716,7 +716,7 @@ \sys_if_engine_xetex:TF { \cs_set:Npn \acro_hyper_link:nn ##1##2 - { \hyperlink { \XeTeXLinkBox {##1} } {##2} } + { \hyperlink {##1} { \XeTeXLinkBox {##2} } } } { \cs_set_eq:NN \acro_hyper_link:nn \hyperlink } \cs_set:Npn \acro_hyper_target:nn ##1##2 diff --git a/macros/latex/contrib/chemmacros/README b/macros/latex/contrib/chemmacros/README index 7483ec9d3f..6153319d53 100644 --- a/macros/latex/contrib/chemmacros/README +++ b/macros/latex/contrib/chemmacros/README @@ -1,5 +1,5 @@ -------------------------------------------------------------------------- -the CHEMMACROS package v5.9 2019/11/17 +the CHEMMACROS package v5.10 2020/02/03 comprehensive support for typesetting chemistry documents @@ -28,8 +28,9 @@ The chemmacros package consists of the following files chemmacros4.sty chemmacros5.sty, == DOCUMENTATION FILES == - chemmacros_en.tex - chemmacros_en.pdf, + chemmacros-manual.tex + chemmacros-manual.pdf + chemmacros-manual.cls README chemmacros.history == MODULE CODE FILES == diff --git a/macros/latex/contrib/chemmacros/chemmacros-manual.cls b/macros/latex/contrib/chemmacros/chemmacros-manual.cls new file mode 100644 index 0000000000..179e588d55 --- /dev/null +++ b/macros/latex/contrib/chemmacros/chemmacros-manual.cls @@ -0,0 +1,382 @@ +% -------------------------------------------------------------------------- +% the CHEMFORMULA package +% +% typeset chemical compounds and reactions +% +% -------------------------------------------------------------------------- +% Clemens Niederberger +% -------------------------------------------------------------------------- +% https://github.com/cgnieder/chemformula/ +% contact@mychemistry.eu +% -------------------------------------------------------------------------- +% If you have any ideas, questions, suggestions or bugs to report, please +% feel free to contact me. +% -------------------------------------------------------------------------- +% Copyright 2011--2020 Clemens Niederberger +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Clemens Niederberger. +% -------------------------------------------------------------------------- +\ProvidesClass{chemmacros-manual}[2020/02/03] + +\LoadClass[load-preamble,add-index]{cnltx-doc} +\RequirePackage{imakeidx} +\RequirePackage[utf8]{inputenc} + +\RequirePackage[compatibility=newest]{chemmacros} +\setcnltx{ + package = {chemmacros}, + info = {comprehensive support for typesetting chemistry documents}, + url = https://github.com/cgnieder/chemmacros , + authors = Clemens Niederberger , + email = contact@mychemistry.eu , + abstract = {% + \centering + \includegraphics{chemmacros-logo.pdf} + \par + } , + quote-format = \small\biolinumLF , + add-cmds = { + abinitio, activatechemgreekmapping, AddRxnDesc, anti, aq, aqi, + ba, bond, bridge, + cd, ch, changechemgreeksymbol, charrow, chcpd, chemabove, chemalpha, + chembeta, ChemCleverefSupport, chemdelta, chemDelta, + ChemFancyrefSupport, chemformula@bondlength, chemgamma, ChemModule, + chemomega, chemphi, chemPhi, chemsetup, chlewis, chname , cip, cis, ch, + CNMR, + data, DeclareChemArrow, DeclareChemBond, DeclareChemBondAlias, + DeclareChemCharge, DeclareChemEqConstant, declarechemgreekmapping, + DeclareChemIUPAC, DeclareChemIUPACShorthand, DeclareChemLatin, + DeclareChemNMR, DeclareChemNucleophile, DeclareChemPartialCharge, + DeclareChemParticle, DeclareChemPhase, DeclareChemReaction, + DeclareChemState, + delm, delp, Delta, dexter, Dfi, + el, ElPot, endo, entgegen, Enthalpy, enthalpy, entropy, + fdelm, fdelp, fmch, fminus, fpch, fplus, fscrm, fscrp, + gas, ghs, ghslistall, ghspic, gibbs, gram, + hapto, HNMR, Helmholtz, hydrogen, + IfChemCompatibilityF, IfChemCompatibilityT, IfChemCompatibilityTF, insitu, + invacuo, isotope, iupac, + Ka, Kb, Kw, + laevus, Lfi, listofreactions, lqd, + makepolymerdelims, mch, mega, meta, mhName, + NewChemArrow, NewChemBond, NewChemBondAlias, + NewChemCharge, NewChemEqConstant, newchemgreekmapping, NewChemIUPAC, + NewChemIUPACShorthand, NewChemLatin, NewChemMacroset, NewChemNMR, + NewChemNucleophile, NewChemPartialCharge, NewChemParticle, NewChemPhase, + NewChemReaction, NewChemState, + newman, nitrogen, NMR, Nu, Nuc, + orbital, ortho, ox, OX, oxygen, + para, pch, per, pH, phase, phosphorus, photon, pKa, pKb, pOH, pos, + positron, Pot, ProvideChemArrow, ProvideChemBond, ProvideChemCharge, + ProvideChemEqConstant, ProvideChemIUPAC, ProvideChemIUPACShorthand, + ProvideChemLatin, ProvideChemNMR, ProvideChemNucleophile, + ProvideChemPartialCharge, ProvideChemParticle, ProvideChemPhase, + ProvideChemReaction, + ProvideChemState, prt, + Rad, redox, RemoveChemIUPACShorthand, RenewChemArrow, RenewChemBond, + RenewChemCharge, RenewChemEqConstant, renewchemgreekmapping, + RenewChemIUPAC, RenewChemIUPACShorthand, RenewChemLatin, RenewChemNMR, + RenewChemNucleophile, RenewChemPartialCharge, RenewChemParticle, + RenewChemPhase, RenewChemState, + Sf, scrm, scrp, second, selectchemgreekmapping, setchemformula, + ShowChemArrow, ShowChemBond, sld, Sod, state, sulfur, + trans, + usechemmodule, + val, + zusammen + } , + add-silent-cmds = { + addplot, + bottomrule, + cancel, cdot, ce, cee, celsius, centering, chemfig, chemname, clap, + cnsetup, code, color, cstack, cstsetup, + DeclareInstance, DeclareSIUnit, definecolor, draw, + electronvolt, endtikzpicture, + footnotesize, + glqq, grqq, + hertz, hspace, + includegraphics, intertext, IUPAC, + joule, + kelvin, kilo, + latin, lc, lewis, Lewis, liquid, ltn, + metre, midrule, milli, mmHg, mole, + nano, nicefrac, num, numrange, + ominus, oplus, + percent, pgfarrowsdeclarealias, pgfarrowsrenewalias, + renewtagform, rightarrow, + sample, scriptscriptstyle, setchemfig, sfrac, shade, + shadedraw, shorthandoff, si, SI, sisetup, square, subsection, + textcolor, textendash, textsuperscript, tikz, tikzpicture, tiny, toprule, + upbeta, upeta, upgamma, usetikzlibrary, + volt, vphantom, vspave, + xspace, + z@, z@skip + } , + index-setup = { othercode = \footnotesize , level = \section } , + makeindex-setup = { columns = 2 , columnsep = 1em } +} + +\RequirePackage{booktabs,array,longtable} + +\RequirePackage{chemfig,cancel,varioref,csquotes} + +\RequirePackage[ + a4paper, + top = .1\paperheight, + bottom = .1\paperheight, + left = .2\paperwidth, + right = .1\paperwidth +]{geometry} + +\def\libertine@figurestyle{LF} +\RequirePackage{amsmath} +\undef\lvert \undef\lVert +\undef\rvert \undef\rVert +\RequirePackage[libertine]{newtxmath} +\def\libertine@figurestyle{OsF} + +\RequirePackage[biblatex]{embrac} +\ChangeEmph{[}[,.02em]{]}[.055em,-.08em] +\ChangeEmph{(}[-.01em,.04em]{)}[.04em,-.05em] + +\RequirePackage[accsupp]{acro} +\acsetup{ + long-format = \scshape , + short-format = \scshape +} + +\RequirePackage{fontawesome} +\RequirePackage{datetime2} +\DTMsetup{useregional=numeric,datesep=/} +\newrobustcmd*\chemmacros@add@version[2]{% + \csdef{chemmacros@ver@#2}{% + \DTMdate{#1}% + \csgdef{chemmacros@ver@#2used}{}% + \csdef{chemmacros@ver@#2}{\DTMdate{#1}}% + }% +} + +\newrobustcmd*\chemmacros@date[1]{% + \ifcsdef{chemmacros@ver@#1used}{}{ (\csuse{chemmacros@ver@#1})}} +\newrobustcmd*\chemmacros@ifnew[1]{\ifcsstring{c_chemmacros_version_tl}{#1}} +\newrobustcmd*\chemmacros@NEW{\faStarO\ New} + +\renewrobustcmd*\sinceversion[1]{% + \chemmacros@ifnew{#1}% + {\cnltx@version@note{\textcolor{red}{\chemmacros@NEW}}}% + {\cnltx@version@note{\GetTranslation{cnltx-introduced}~#1\chemmacros@date{#1}}}% +} +\renewrobustcmd*\changedversion[1]{% + \cnltx@version@note{\GetTranslation{cnltx-changed}~#1\chemmacros@date{#1}}% +} + +\newnote*\sincechanged[2]{% + \GetTranslation{cnltx-introduced}~#1\chemmacros@date{#1}, + changed with version~#2\chemmacros@date{#2}\chemmacros@ifnew{#2}{ \chemmacros@NEW}{}% +} + +\RenewDocumentEnvironment{commands}{} + {% + \cnltx@set@catcode_{12}% + \let\command\cnltx@command + \cnltxlist + } + {\endcnltxlist} + +\RequirePackage{tcolorbox,xsimverb} +\tcbuselibrary{skins,breakable} +\tcbset{enhanced,enhanced jigsaw} + +\newtcolorbox{bewareofthedog}{ + colback = white , + colframe = red , + underlay={% + \path[draw=none] + (interior.south west) + rectangle node[red]{\Huge\bfseries !} + ([xshift=-4mm]interior.north west); + }% +} + +\newtcolorbox{cnltxcode}[1][]{ + boxrule = 1pt , + colback = cnltxbg , + colframe = cnltx , + arc = 5pt , + beforeafter skip = .5\baselineskip ,% + #1% +} + +\newcommand*\chemmacros@readoptions[1]{% + \catcode`\^^M=13 + \chemmacros@read@options{#1}% +} + +\begingroup +\catcode`\^^M=13 +\gdef\chemmacros@read@options#1#2^^M{% + \endgroup + \ifblank{#2}{}{\chemmacros@read@options@#2}% + #1% + \XSIMfilewritestart*{\jobname.tmp}% +}% +\endgroup +\def\chemmacros@read@options@[#1]{\pgfqkeys{/cnltx}{#1}} + +\RenewDocumentEnvironment{sourcecode}{} + {% + \begingroup + \chemmacros@readoptions{% + \setlength\cnltx@sidebysidewidth + {\dimexpr .45\columnwidth -\lst@xleftmargin -\lst@xrightmargin\relax}% + \expanded{% + \noexpand\lstset{ + style=cnltx, + \ifboolexpe{ bool {cnltx@sidebyside} and not bool {cnltx@codeonly} } + {linewidth=\cnltx@sidebysidewidth,}{}% + \expandonce\cnltx@local@listings@options + }% + }% + \XSIMgobblechars{2}% + }% + } + {% + \XSIMfilewritestop + \cnltxcode[breakable]% + \lstinputlisting[style=cnltx]{\jobname.tmp}% + \endcnltxcode + } + +\RenewDocumentEnvironment{example}{} + {% + \begingroup + \chemmacros@readoptions{% + \setlength\cnltx@sidebysidewidth + {\dimexpr .45\columnwidth -\lst@xleftmargin -\lst@xrightmargin\relax}% + \expanded{% + \noexpand\lstset{ + style=cnltx, + \ifboolexpe{ bool {cnltx@sidebyside} and not bool {cnltx@codeonly} } + {linewidth=\cnltx@sidebysidewidth,}{}% + \expandonce\cnltx@local@listings@options + }% + }% + \XSIMgobblechars{2}% + }% + } + {% + \XSIMfilewritestop + \ifbool{cnltx@sidebyside} + {% + \cnltxcode + \noindent + \minipage[c]{\cnltx@sidebysidewidth}% + \cnltx@pre@source@hook + \lstinputlisting[style=cnltx] {\jobname.tmp}% + \cnltx@after@source@hook + \endminipage\hfill + \minipage[c]{\cnltx@sidebysidewidth}% + \cnltx@pre@example@hook + \input {\jobname.tmp}% + \cnltx@after@example@hook + \endminipage + } + {% + \cnltxcode[breakable]% + \cnltx@pre@source@hook + \lstinputlisting{\jobname.tmp}% + \cnltx@after@source@hook + \tcblower + \cnltx@pre@example@hook + \input {\jobname.tmp}% + \cnltx@after@example@hook + }% + \endcnltxcode + } + +\RequirePackage[ + backend=biber, + style=cnltx, + sortlocale=en_US, + indexing=cite]{biblatex} +\RequirePackage{csquotes,varioref} +\defbibheading{bibliography}{\section{References}} + +\RequirePackage[biblatex]{embrac}[2012/06/29] +\ChangeEmph{[}[,.02em]{]}[.055em,-.08em] +\ChangeEmph{(}[-.01em,.04em]{)}[.04em,-.05em] + +\chemmacros@add@version{2012-01-28}{3.0} +\chemmacros@add@version{2012-01-30}{3.0a} +\chemmacros@add@version{2012-02-03}{3.0b} +\chemmacros@add@version{2012-02-05}{3.0c} +\chemmacros@add@version{2012-02-10}{3.0d} +\chemmacros@add@version{2012-02-19}{3.1} +\chemmacros@add@version{2012-02-26}{3.1a} +\chemmacros@add@version{2012-03-03}{3.1b} +\chemmacros@add@version{2012-03-14}{3.1c} +\chemmacros@add@version{2012-03-20}{3.2} +\chemmacros@add@version{2012-05-07}{3.3} +\chemmacros@add@version{2012-05-13}{3.3a} +\chemmacros@add@version{2012-05-18}{3.3b} +\chemmacros@add@version{2012-05-18}{3.3c} +\chemmacros@add@version{2012-07-24}{3.3d} +\chemmacros@add@version{2012-08-21}{3.3e} +\chemmacros@add@version{2012-09-11}{3.4} +\chemmacros@add@version{2012-10-03}{3.4a} +\chemmacros@add@version{2013-01-04}{3.4b} +\chemmacros@add@version{2013-01-28}{3.5} +\chemmacros@add@version{2013-02-19}{3.5a} +\chemmacros@add@version{2013-02-26}{3.6} +\chemmacros@add@version{2013-02-27}{3.6a} +\chemmacros@add@version{2013-04-19}{3.6b} +\chemmacros@add@version{2013-07-06}{4.0} +\chemmacros@add@version{2013-08-07}{4.0a} +\chemmacros@add@version{2013-08-24}{4.1} +\chemmacros@add@version{2013-10-28}{4.2} +\chemmacros@add@version{2013-10-31}{4.2a} +\chemmacros@add@version{2013-11-04}{4.2b} +\chemmacros@add@version{2013-11-20}{4.2c} +\chemmacros@add@version{2013-12-15}{4.2d} +\chemmacros@add@version{2014-01-09}{4.2e} +\chemmacros@add@version{2014-01-24}{4.3} +\chemmacros@add@version{2014-01-29}{4.4} +\chemmacros@add@version{2014-04-08}{4.5} +\chemmacros@add@version{2014-06-30}{4.5a} +\chemmacros@add@version{2014-08-08}{4.6} +\chemmacros@add@version{2015-02-08}{4.7} +\chemmacros@add@version{2015-09-11}{5.0} +\chemmacros@add@version{2015-09-23}{5.1} +\chemmacros@add@version{2015-10-14}{5.2} +\chemmacros@add@version{2016-01-13}{5.3} +\chemmacros@add@version{2016-01-23}{5.3a} +\chemmacros@add@version{2016-02-10}{5.4} +\chemmacros@add@version{2016-03-08}{5.5} +\chemmacros@add@version{2016-05-02}{5.6} +\chemmacros@add@version{2016-05-04}{5.6a} +\chemmacros@add@version{2016-06-07}{5.7} +\chemmacros@add@version{2016-06-08}{5.7a} +\chemmacros@add@version{2016-10-05}{5.7b} +\chemmacros@add@version{2016-12-28}{5.7c} +\chemmacros@add@version{2017-04-17}{5.8} +\chemmacros@add@version{2017-06-13}{5.8a} +\chemmacros@add@version{2017-08-28}{5.8b} +\chemmacros@add@version{2018-03-02}{5.8c} +\chemmacros@add@version{2019-09-23}{5.8d} +\chemmacros@add@version{2019-09-27}{5.8e} +\chemmacros@add@version{2019-09-30}{5.8f} +\chemmacros@add@version{2019-11-17}{5.9} +\chemmacros@add@version{2020-01-16}{5.9a} +\chemmacros@add@version{2020-02-03}{5.10} + +\endinput diff --git a/macros/latex/contrib/chemmacros/chemmacros_en.pdf b/macros/latex/contrib/chemmacros/chemmacros-manual.pdf Binary files differindex 5619833757..02badca256 100644 --- a/macros/latex/contrib/chemmacros/chemmacros_en.pdf +++ b/macros/latex/contrib/chemmacros/chemmacros-manual.pdf diff --git a/macros/latex/contrib/chemmacros/chemmacros_en.tex b/macros/latex/contrib/chemmacros/chemmacros-manual.tex index 9bf20e8789..991742a710 100644 --- a/macros/latex/contrib/chemmacros/chemmacros_en.tex +++ b/macros/latex/contrib/chemmacros/chemmacros-manual.tex @@ -30,133 +30,8 @@ % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -\documentclass[load-preamble+]{cnltx-doc} -\usepackage[utf8]{inputenc} -\usepackage[compatibility=newest]{chemmacros} -\setcnltx{ - package = {chemmacros}, - info = {comprehensive support for typesetting chemistry documents}, - url = https://github.com/cgnieder/chemmacros , - authors = Clemens Niederberger , - email = contact@mychemistry.eu , - abstract = {% - \centering - \includegraphics{chemmacros-logo.pdf} - \par - } , - quote-format = \small\biolinumLF , - add-cmds = { - abinitio, activatechemgreekmapping, AddRxnDesc, anti, aq, aqi, - ba, bond, bridge, - cd, ch, changechemgreeksymbol, charrow, chcpd, chemabove, chemalpha, - chembeta, ChemCleverefSupport, chemdelta, chemDelta, - ChemFancyrefSupport, chemformula@bondlength, chemgamma, ChemModule, - chemomega, chemphi, chemPhi, chemsetup, chlewis, chname , cip, cis, ch, - CNMR, - data, DeclareChemArrow, DeclareChemBond, DeclareChemBondAlias, - DeclareChemCharge, DeclareChemEqConstant, declarechemgreekmapping, - DeclareChemIUPAC, DeclareChemIUPACShorthand, DeclareChemLatin, - DeclareChemNMR, DeclareChemNucleophile, DeclareChemPartialCharge, - DeclareChemParticle, DeclareChemPhase, DeclareChemReaction, - DeclareChemState, - delm, delp, Delta, dexter, Dfi, - el, ElPot, endo, entgegen, Enthalpy, enthalpy, entropy, - fdelm, fdelp, fmch, fminus, fpch, fplus, fscrm, fscrp, - gas, ghs, ghslistall, ghspic, gibbs, gram, - hapto, HNMR, Helmholtz, hydrogen, - IfChemCompatibilityF, IfChemCompatibilityT, IfChemCompatibilityTF, insitu, - invacuo, isotope, iupac, - Ka, Kb, Kw, - laevus, Lfi, listofreactions, lqd, - makepolymerdelims, mch, mega, meta, mhName, - NewChemArrow, NewChemBond, NewChemBondAlias, - NewChemCharge, NewChemEqConstant, newchemgreekmapping, NewChemIUPAC, - NewChemIUPACShorthand, NewChemLatin, NewChemMacroset, NewChemNMR, - NewChemNucleophile, NewChemPartialCharge, NewChemParticle, NewChemPhase, - NewChemReaction, NewChemState, - newman, nitrogen, NMR, Nu, Nuc, - orbital, ortho, ox, OX, oxygen, - para, pch, per, pH, phase, phosphorus, photon, pKa, pKb, pOH, pos, - positron, Pot, ProvideChemArrow, ProvideChemBond, ProvideChemCharge, - ProvideChemEqConstant, ProvideChemIUPAC, ProvideChemIUPACShorthand, - ProvideChemLatin, ProvideChemNMR, ProvideChemNucleophile, - ProvideChemPartialCharge, ProvideChemParticle, ProvideChemPhase, - ProvideChemReaction, - ProvideChemState, prt, - Rad, redox, RemoveChemIUPACShorthand, RenewChemArrow, RenewChemBond, - RenewChemCharge, RenewChemEqConstant, renewchemgreekmapping, - RenewChemIUPAC, RenewChemIUPACShorthand, RenewChemLatin, RenewChemNMR, - RenewChemNucleophile, RenewChemPartialCharge, RenewChemParticle, - RenewChemPhase, RenewChemState, - Sf, scrm, scrp, second, selectchemgreekmapping, setchemformula, - ShowChemArrow, ShowChemBond, sld, Sod, state, sulfur, - trans, - usechemmodule, - val, - zusammen - } , - add-silent-cmds = { - addplot, - bottomrule, - cancel, cdot, ce, cee, celsius, centering, chemfig, chemname, clap, - cnsetup, code, color, cstack, cstsetup, - DeclareInstance, DeclareSIUnit, definecolor, draw, - electronvolt, endtikzpicture, - footnotesize, - glqq, grqq, - hertz, hspace, - includegraphics, intertext, IUPAC, - joule, - kelvin, kilo, - latin, lc, lewis, Lewis, liquid, ltn, - metre, midrule, milli, mmHg, mole, - nano, nicefrac, num, numrange, - ominus, oplus, - percent, pgfarrowsdeclarealias, pgfarrowsrenewalias, - renewtagform, rightarrow, - sample, scriptscriptstyle, setchemfig, sfrac, shade, - shadedraw, shorthandoff, si, SI, sisetup, square, subsection, - textcolor, textendash, textsuperscript, tikz, tikzpicture, tiny, toprule, - upbeta, upeta, upgamma, usetikzlibrary, - volt, vphantom, vspave, - xspace, - z@, z@skip - } , - index-setup = { othercode = \footnotesize , level = \section } , - makeindex-setup = { columns = 2 , columnsep = 1em } -} - -\usepackage{booktabs,array,longtable} - -\usepackage{chemfig,cancel,varioref,csquotes} - -\usepackage[ - a4paper, - top = .1\paperheight, - bottom = .1\paperheight, - left = .2\paperwidth, - right = .1\paperwidth -]{geometry} +\documentclass{chemmacros-manual} - -\makeatletter -\def\libertine@figurestyle{LF} -\usepackage{amsmath} -\undef\lvert \undef\lVert -\undef\rvert \undef\rVert -\usepackage[libertine]{newtxmath} -\def\libertine@figurestyle{OsF} -\makeatother - -\usepackage[biblatex]{embrac} -\ChangeEmph{[}[,.02em]{]}[.055em,-.08em] -\ChangeEmph{(}[-.01em,.04em]{)}[.04em,-.05em] - -\usepackage[accsupp]{acro} -\acsetup{ - long-format = \scshape , - short-format = \scshape -} \DeclareAcronym{ghs}{ short = ghs , long = Globally Harmonized System of Classification and Labelling of @@ -208,19 +83,17 @@ chemformula/format = \libertineLF } -\usepackage{siunitx} - \sisetup{ detect-mode=false, mode=text, text-rm=\libertineLF } -\usepackage{filecontents} - \defbibheading{bibliography}{\section{References}} \addbibresource{\jobname.bib} -\begin{filecontents*}{\jobname.bib} +\addbibresource{cnltx.bib} + +\begin{filecontents*}[overwrite]{\jobname.bib} @book{iupac:greenbook, author = {E. Richard Cohan and Tomislav Cvita\v{s} and Jeremy G. Frey and Bertil Holmstr\"om and Kozo Kuchitsu and Roberto Marquardt and Ian Mills and @@ -1647,8 +1520,6 @@ modules. In the macro descriptions below \TF\ denotes that a \code{T}, an \marg{true} \marg{false}] Checks if class \meta{name} has been loaded. Also works after begin document. - \explcommand{chemmacros_leave_vmode:} - Equivalent of \cs*{leavevmode}. \explcommand{chemmacros_nobreak:} Inserts a penalty of \num{10000}. \explcommand{chemmacros_allow_break:} diff --git a/macros/latex/contrib/chemmacros/chemmacros.history b/macros/latex/contrib/chemmacros/chemmacros.history index fc78d0e120..694c1039ce 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.history +++ b/macros/latex/contrib/chemmacros/chemmacros.history @@ -386,3 +386,7 @@ Version history - define latin phrases on the go instead of at begin document 2020/01/16 - version 5.9a - adapt to renaming of string case changing functions +2020/02/03 - version 5.10 - define \torr as well as \Torr (units) + - prefer lazy boolean evaluation + - prefer the kernel commands to + \chemmacros_leave_vmode: and \chemmacros_tex_if: diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex index 3f84c9097b..ed85a205e5 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.base.code.tex @@ -25,7 +25,7 @@ % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -\ChemModule{base}{2020/01/16 basic chemmacros module} +\ChemModule{base}{2020/02/02 basic chemmacros module} % for the document hooks \ChemCompatibilityFrom{5.1} @@ -117,21 +117,27 @@ { \exp_args:Nc \NewDocumentCommand {NewChem#1} {#2} { - \bool_if:nTF { \cs_if_free_p:c {##1} && \cs_if_free_p:c {end##1} } - { #3 } + \bool_lazy_and:nnTF + { \cs_if_free_p:c {##1} } + { \cs_if_free_p:c {end##1} } + {#3} { \msg_error:nnn {chemmacros} {new-#1} {##1} } } \exp_args:Nc \NewDocumentCommand {RenewChem#1} {#2} { - \bool_if:nTF { \cs_if_free_p:c {##1} || \cs_if_free_p:c {end##1} } + \bool_lazy_or:nnTF + { \cs_if_free_p:c {##1} } + { \cs_if_free_p:c {end##1} } { \msg_error:nnn {chemmacros} {renew-#1} {##1} } - { #3 } + {#3} } \exp_args:Nc \NewDocumentCommand {DeclareChem#1} {#2} {#3} \exp_args:Nc \NewDocumentCommand {ProvideChem#1} {#2} { - \bool_if:nT { \cs_if_free_p:c {##1} && \cs_if_free_p:c {end##1} } - { #3 } + \bool_lazy_and:nT + { \cs_if_free_p:c {##1} } + { \cs_if_free_p:c {end##1} } + {#3} } \msg_new:nnn {chemmacros} {new-#1} { @@ -178,7 +184,6 @@ \cs_new_eq:NN \chemmacros_ignore_spaces: \tex_ignorespaces:D -\cs_new_protected:Npn \chemmacros_leave_vmode: { \hbox_unpack:N \c_empty_box } \cs_new_protected:Npn \chemmacros_nobreak: { \tex_penalty:D 10000 \scan_stop: } \cs_new_protected:Npn \chemmacros_allow_break: { \tex_penalty:D \c_zero_int } \cs_new_protected:Npn \chemmacros_skip_nobreak:N #1 @@ -188,13 +193,6 @@ \chemmacros_nobreak: } -% do I use those at all? -\prg_new_conditional:Npnn \chemmacros_tex_if:nn #1#2 {p,T,F,TF} - { \use:c { if #1 } #2 \prg_return_true: \else: \prg_return_false: \fi: } - -\prg_new_conditional:Npnn \chemmacros_latex_if:n #1 {p,T,F,TF} - { #1 { \prg_return_true: } { \prg_return_false: } } - % this is used at least in the `isotope' module \prg_new_conditional:Npnn \chemmacros_if_is_int:n #1 {p,T,F,TF} { @@ -272,7 +270,7 @@ { \cs_if_exist:cF {cref@#1@name} { - \chemmacros_tex_if:nnTF {@cref@capitalise} {} + \legacy_if:nTF {@cref@capitalise} { \crefname {#1} {#4} {#5} } { \crefname {#1} {#2} {#3} } \Crefname {#1} {#4} {#5} @@ -485,3 +483,4 @@ 2016/05/04 - fix \ChemCleverefSupport 2017/08/28 - add missing hyperref check 2020/01/16 - adapt to renaming of string case changing functions +2020/02/02 - lazy boolean evaluation diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.chemformula.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.chemformula.code.tex index 292b90747a..7bc4be0b0a 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.chemformula.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.chemformula.code.tex @@ -25,7 +25,7 @@ % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -\ChemModule{chemformula}{2016/05/03 integration of chemical formulas} +\ChemModule{chemformula}{2020/02/02 integration of chemical formulas} \RequirePackage{amstext} \chemmacros_load_module:n {charges} @@ -209,17 +209,12 @@ \AtEndPreamble { - \bool_if:nTF - { - !\l__chemmacros_formula_method_set_bool - && - \chemmacros_if_compatibility_p:nn {>=} {5.2} - && - \chemmacros_if_compatibility_p:nn {<} {5.6} - } - { \chemmacros_check_formula_method: } + \bool_if:NF \l__chemmacros_formula_method_set_bool { - \bool_if:NF \l__chemmacros_formula_method_set_bool + \bool_lazy_and:nnTF + { \chemmacros_if_compatibility_p:nn {>=} {5.2} } + { \chemmacros_if_compatibility_p:nn {<} {5.6} } + { \chemmacros_check_formula_method: } { \chemmacros_if_compatibility:nnTF {>=} {5.6} { \msg_info:nn {chemmacros} {default-formula-method} } @@ -242,3 +237,4 @@ - don't automatically load an available method: load `chemformula' if the users haven't decided for themselves and issue a warning 2016/05/03 - correct wrong method check +2020/02/02 - lazy boolean evaluation diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.greek.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.greek.code.tex index afe973899d..ef9f8568e2 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.greek.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.greek.code.tex @@ -25,9 +25,9 @@ % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -\ChemModule{greek}{2015/06/09 upright greek symbols} +\ChemModule{greek}{2020/02/02 upright greek symbols} -\RequirePackage{chemgreek}[2015/04/09] +\RequirePackage{chemgreek}[2020/01/16] \msg_new:nnn {chemmacros} {no-greek} { @@ -45,19 +45,15 @@ % chemgreek selects a mapping if an unambiguous choice is possible, otherwise % selects `default'. Warn the user in this case: \AtBeginDocument{ - \bool_if:nT - { - \chemgreek_if_mapping_active_p:n {default} || - \chemgreek_if_mapping_active_p:n {var-default} - } + \bool_lazy_or:nnT + { \chemgreek_if_mapping_active_p:n {default} } + { \chemgreek_if_mapping_active_p:n {var-default} } { \msg_warning:nn {chemmacros} {no-greek} } } % an option for manual selection: \chemmacros_define_global_keys:n - { - greek .code:n = \chemmacros_choose_chemgreek_mapping:n {#1} - } + { greek .code:n = \chemmacros_choose_chemgreek_mapping:n {#1} } \cs_new_protected:Npn \chemmacros_choose_chemgreek_mapping:n #1 { @@ -70,3 +66,5 @@ } % -------------------------------------------------------------------------- +\file_input_stop: +2020/02/02 - lazy boolean evaluation diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.mechanisms.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.mechanisms.code.tex index 2f272bb740..812dede658 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.mechanisms.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.mechanisms.code.tex @@ -40,9 +40,9 @@ \cs_new_protected:Npn \__chemmacros_set_mechanisms:nnn #1#2#3 { - \tl_set:Nn \l__chemmacros_mechanisms_type_tl { #1 } - \tl_set:Nn \l__chemmacros_mechanisms_mol_tl { #2 } - \tl_set:Nn \l__chemmacros_mechanisms_ar_tl { #3 } + \tl_set:Nn \l__chemmacros_mechanisms_type_tl {#1} + \tl_set:Nn \l__chemmacros_mechanisms_mol_tl {#2} + \tl_set:Nn \l__chemmacros_mechanisms_ar_tl {#3} } \chemmacros_define_keys:nn {mechanisms} @@ -50,7 +50,7 @@ type .choice: , type / .code:n = { - \__chemmacros_set_mechanisms:nnn { S } + \__chemmacros_set_mechanisms:nnn {S} { \c_math_toggle_token \c_math_subscript_token { \text {N} } @@ -60,7 +60,7 @@ } , type / 1 .code:n = { - \__chemmacros_set_mechanisms:nnn { S } + \__chemmacros_set_mechanisms:nnn {S} { \c_math_toggle_token \c_math_subscript_token { \text {N} } @@ -71,7 +71,7 @@ } , type / 2 .code:n = { - \__chemmacros_set_mechanisms:nnn { S } + \__chemmacros_set_mechanisms:nnn {S} { \c_math_toggle_token \c_math_subscript_token { \text {N} } @@ -82,7 +82,7 @@ } , type / se .code:n = { - \__chemmacros_set_mechanisms:nnn { S } + \__chemmacros_set_mechanisms:nnn {S} { \c_math_toggle_token \c_math_subscript_token { \text {E} } @@ -92,7 +92,7 @@ } , type / 1e .code:n = { - \__chemmacros_set_mechanisms:nnn { S } + \__chemmacros_set_mechanisms:nnn {S} { \c_math_toggle_token \c_math_subscript_token { \text {E} } @@ -103,7 +103,7 @@ } , type / 2e .code:n = { - \__chemmacros_set_mechanisms:nnn { S } + \__chemmacros_set_mechanisms:nnn {S} { \c_math_toggle_token \c_math_subscript_token { \text {E} } @@ -114,7 +114,7 @@ } , type / ar .code:n = { - \__chemmacros_set_mechanisms:nnn { S } + \__chemmacros_set_mechanisms:nnn {S} { \c_math_toggle_token \c_math_subscript_token { \text {E} } @@ -123,14 +123,14 @@ { Ar - } } , type / e .code:n = - { \__chemmacros_set_mechanisms:nnn { E } { } { } } , + { \__chemmacros_set_mechanisms:nnn {E} { } { } } , type / e1 .code:n = - { \__chemmacros_set_mechanisms:nnn { E } { 1 } { } } , + { \__chemmacros_set_mechanisms:nnn {E} {1} { } } , type / e2 .code:n = - { \__chemmacros_set_mechanisms:nnn { E } { 2 } { } } , + { \__chemmacros_set_mechanisms:nnn {E} {2} { } } , type / cb .code:n = { - \__chemmacros_set_mechanisms:nnn { E } + \__chemmacros_set_mechanisms:nnn {E} { 1 \c_math_toggle_token diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex index 1175b3151e..3e5b6b616d 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.nomenclature.code.tex @@ -51,10 +51,10 @@ \msg_new:nnn {chemmacros} {let-iupac} { - You've~ tried~ to~ let~ the~ iupac~ command~ \token_to_str:N #1 ~ to~ the~ - iupac~ command~ \token_to_str:N #2 ,~ but~ the~ latter~ doesn't~ exist.~ - Use~ \token_to_str:N \NewChemIUPAC \c_space_tl instead~ or~declare~ - \token_to_str:N #2 \c_space_tl first. + You've~ tried~ to~ let~ the~ iupac~ command~ \token_to_str:N #1 + \c_space_tl to~ the~ iupac~ command~ \token_to_str:N #2 ,~ but~ the~ + latter~ doesn't~ exist.~ Use~ \token_to_str:N \NewChemIUPAC \c_space_tl + instead~ or~declare~ \token_to_str:N #2 \c_space_tl first. } \msg_new:nnn {chemmacros} {new-iupac-shorthand} @@ -70,75 +70,87 @@ but~ this~ shorthand~ doesn't~ exist,~ yet. } +\msg_new:nnn {chemmacros} {show-iupac} + { \\ >~ \token_to_str:N #1=iupac~macro: \\ -> #2 } + +\msg_new:nnn {chemmacros} {no-iupac-command} + { \\ >~ \token_to_str:N #1=not~ defined~ as~ iupac~ macro } + +\cs_generate_variant:Nn \msg_show:nnnn {nnnV} + +% -------------------------------------------------------------------------- \prop_new:N \l__chemmacros_iupac_prop -\cs_new_protected:Npn \chemmacros_new_iupac:Nn #1#2 +\cs_new_protected:Npn \__chemmacros_iupac_name:NN #1#2 + { \str_set:Nx #2 { \chemmacros_remove_backslash:N #1 } } + +\cs_new_protected:Npn \__chemmacros_define_iupac:Nn #1#2 { - \tl_set:Nx \l__chemmacros_tmpa_tl - { \chemmacros_remove_backslash:N #1 } - \prop_if_in:NVTF \l__chemmacros_iupac_prop \l__chemmacros_tmpa_tl - { \msg_error:nnn {chemmacros} {new-iupac} {#1} } - { - \prop_put:NVn \l__chemmacros_iupac_prop - \l__chemmacros_tmpa_tl - {#2} - } + \__chemmacros_iupac_name:NN #1 \l__chemmacros_tmpa_str + \prop_put:NVn \l__chemmacros_iupac_prop + \l__chemmacros_tmpa_str + {#2} \chemmacros_make_iupac: } +\cs_generate_variant:Nn \__chemmacros_define_iupac:Nn {NV} -\cs_new_protected:Npn \chemmacros_provide_iupac:Nn #1#2 +\cs_new_protected:Npn \__chemmacros_let_iupac:NN #1#2 { + \__chemmacros_iupac_name:NN #1 \l__chemmacros_tmpa_str + \__chemmacros_iupac_name:NN #2 \l__chemmacros_tmpb_str \tl_set:Nx \l__chemmacros_tmpa_tl - { \chemmacros_remove_backslash:N #1 } - \prop_if_in:NVF \l__chemmacros_iupac_prop \l__chemmacros_tmpa_tl - { - \prop_put:NVn \l__chemmacros_iupac_prop - \l__chemmacros_tmpa_tl - {#2} - } - \chemmacros_make_iupac: + { \prop_item:NV \l__chemmacros_iupac_prop \l__chemmacros_tmpb_str } + \__chemmacros_define_iupac:NV #1 \l__chemmacros_tmpa_tl } -\cs_new_protected:Npn \chemmacros_define_iupac:Nn #1#2 +\cs_new_protected:Npn \chemmacros_show_iupac:N #1 { - \tl_set:Nx \l__chemmacros_tmpa_tl - { \chemmacros_remove_backslash:N #1 } - \prop_put:NVn \l__chemmacros_iupac_prop - \l__chemmacros_tmpa_tl - {#2} - \chemmacros_make_iupac: + \group_begin: + \__chemmacros_iupac_name:NN #1 \l__chemmacros_tmpa_str + \tl_set:Nx \l__chemmacros_tmpa_tl + { \prop_item:NV \l__chemmacros_iupac_prop \l__chemmacros_tmpa_str } + \tl_if_empty:NTF \l__chemmacros_tmpa_tl + { \msg_show:nnn {chemmacros} {no-iupac-command} {#1} } + { \msg_show:nnnV {chemmacros} {show-iupac} {#1} \l__chemmacros_tmpa_tl } + \group_end: + } + +\prg_new_protected_conditional:Npnn \chemmacros_if_iupac:N #1 {T,F,TF} + { + \__chemmacros_iupac_name:NN #1 \l__chemmacros_tmpa_str + \prop_if_in:NVTF \l__chemmacros_iupac_prop \l__chemmacros_tmpa_str + { \prg_return_true: } + { \prg_return_false: } + } + +\cs_new_protected:Npn \chemmacros_new_iupac:Nn #1#2 + { + \chemmacros_if_iupac:NTF #1 + { \msg_error:nnn {chemmacros} {new-iupac} {#1} } + { \__chemmacros_define_iupac:Nn #1 {#2} } } +\cs_new_protected:Npn \chemmacros_provide_iupac:Nn #1#2 + { + \chemmacros_if_iupac:NF #1 + { \__chemmacros_define_iupac:Nn #1 {#2} } + } + +\cs_new_protected:Npn \chemmacros_define_iupac:Nn #1#2 + { \__chemmacros_define_iupac:Nn #1 {#2} } + \cs_new_protected:Npn \chemmacros_renew_iupac:Nn #1#2 { - \tl_set:Nx \l__chemmacros_tmpa_tl - { \chemmacros_remove_backslash:N #1 } - \prop_if_in:NVTF \l__chemmacros_iupac_prop \l__chemmacros_tmpa_tl - { - \prop_put:NVn \l__chemmacros_iupac_prop - \l__chemmacros_tmpa_tl - {#2} - } + \chemmacros_if_iupac:NTF #1 + { \__chemmacros_define_iupac:Nn #1 {#2} } { \msg_error:nnn {chemmacros} {renew-iupac} {#1} } - \chemmacros_make_iupac: } \cs_new_protected:Npn \chemmacros_let_iupac:NN #1#2 { - \tl_set:Nx \l__chemmacros_tmpa_tl - { \chemmacros_remove_backslash:N #1 } - \tl_set:Nx \l__chemmacros_tmpb_tl - { \chemmacros_remove_backslash:N #2 } - \prop_get:NVNTF \l__chemmacros_iupac_prop - \l__chemmacros_tmpb_tl - \l__chemmacros_tmpc_tl - { - \prop_put:NVV \l__chemmacros_iupac_prop - \l__chemmacros_tmpa_tl - \l__chemmacros_tmpc_tl - } + \chemmacros_if_iupac:NTF #2 + { \__chemmacros_let_iupac:NN #1#2 } { \msg_error:nnnn {chemmacros} {let-iupac} {#1} {#2} } - \chemmacros_make_iupac: } \ChemCompatibilityTo{5.2} @@ -220,6 +232,7 @@ \NewDocumentCommand \LetChemIUPAC {mm} { \chemmacros_let_iupac:NN #1 #2 } +% -------------------------------------------------------------------------- \chemmacros_define_keys:nn {nomenclature} { iupac .choice: , @@ -234,6 +247,7 @@ \bool_set_true:N \l__chemmacros_iupac_strict_bool , } +% -------------------------------------------------------------------------- % stereo descriptors and other nomenclature commands % Cahn-Ingold-Prelog \dim_new:N \l__chemmacros_cip_kern_dim @@ -643,6 +657,9 @@ } } +\NewDocumentCommand \ChemMakeIupacShorthands {} + { \chemmacros_make_shorthands: } + \NewDocumentCommand \DeclareChemIUPACShorthand {mm} { \chemmacros_define_iupac_shorthand:NN #1#2 } @@ -674,20 +691,20 @@ \NewChemIUPACShorthand - \chemmacros_break_point_hyphen: \ChemCompatibilityFrom{5.1} -\NewChemIUPACShorthand ( \chemmacros_break_point_opening_paren: -\NewChemIUPACShorthand ) \chemmacros_break_point_closing_paren: -\NewChemIUPACShorthand [ \chemmacros_break_point_opening_bracket: -\NewChemIUPACShorthand ] \chemmacros_break_point_closing_bracket: + \NewChemIUPACShorthand ( \chemmacros_break_point_opening_paren: + \NewChemIUPACShorthand ) \chemmacros_break_point_closing_paren: + \NewChemIUPACShorthand [ \chemmacros_break_point_opening_bracket: + \NewChemIUPACShorthand ] \chemmacros_break_point_closing_bracket: \EndChemCompatibility \ChemCompatibilityFrom{5.3} -\NewChemIUPAC \chemprime { \ensuremath {{}^{\prime}} } -\NewChemIUPACShorthand ' \chemprime + \NewChemIUPAC \chemprime { \ensuremath {{}^{\prime}} } + \NewChemIUPACShorthand ' \chemprime \EndChemCompatibility \ChemCompatibilityFrom{5.8c} -\NewChemIUPAC \nonbreakinghyphen { \mbox{-} \nobreak \hspace{0pt} } -\NewChemIUPACShorthand = \nonbreakinghyphen + \NewChemIUPAC \nonbreakinghyphen { \mbox{-} \nobreak \hspace{0pt} } + \NewChemIUPACShorthand = \nonbreakinghyphen \EndChemCompatibility \cs_new_protected:Npn \chemmacros_iupac:nn #1#2 @@ -697,13 +714,13 @@ \chemmacros_set_keys:nn {nomenclature} {#1} \chemmacros_make_iupac: \chemmacros_make_shorthands: - % what's this vvv in here for? - \chemmacros_ignore_spaces: + % \prop_show:N \l__chemmacros_iupac_shorthands_prop \chemmacros_if_compatibility:nnT {<=} {5.2} { \chemmacros_define_deprecated:NN \- - } \tl_set_rescan:Nnn \l__chemmacros_tmpa_tl { \chemmacros_activate_all_iupac_shorthands: } {#2} + % \tl_analysis_show:N \l__chemmacros_tmpa_tl \group_end: } @@ -953,3 +970,5 @@ `cip-number-format' 2017/06/11 - change behaviour of \__chemmacros_break_point_insert:nnn so it does nothing as last token in \iupac +2020/01/02 - \chemmacros_show_iupac:N + - \chemmacros_if_iupac:NTF diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.phases.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.phases.code.tex index 1ddcc094bb..d305470efa 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.phases.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.phases.code.tex @@ -80,7 +80,7 @@ \cs_new_protected:Npn \chemmacros_phase:n #1 { - \chemmacros_leave_vmode: + \mode_leave_vertical: \bool_if:NTF \l__chemmacros_phases_sub_bool { \chemformula_subscript:n { (#1) } } { diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.reactions.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.reactions.code.tex index c30c5fac89..0d2161cc2b 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.reactions.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.reactions.code.tex @@ -25,7 +25,7 @@ % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -\ChemModule{reactions}{2019/09/27 reaction environments} +\ChemModule{reactions}{2020/02/02 reaction environments} \chemmacros_load_module:n {chemformula} @@ -167,11 +167,9 @@ \AtEndPreamble { - \bool_if:nT - { - \chemmacros_if_package_loaded_p:n {tocbasic} || - \l__chemmacros_reactions_tocbasic_bool - } + \bool_lazy_or:nnT + { \chemmacros_if_package_loaded_p:n {tocbasic} } + { \l__chemmacros_reactions_tocbasic_bool } { \RequirePackage {tocbasic} \addtotoclist [float] {lor} @@ -444,3 +442,4 @@ 2016/05/04 - options `tag-open', `tag-close' and `before-tag' 2019/09/23 - added Norwegian translations 2019/09/27 - change `O{}' argument of reactions into `!O{}' +2020/02/02 - lazy boolean evaluation diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.redox.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.redox.code.tex index cbc0b2e242..2c0421b470 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.redox.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.redox.code.tex @@ -25,7 +25,7 @@ % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -\ChemModule{redox}{2015/09/30 oxidation numbers, redox reactions} +\ChemModule{redox}{2020/02/02 oxidation numbers, redox reactions} \chemmacros_load_modules:n {tikz,xfrac} @@ -85,18 +85,14 @@ \ChemCompatibilityTo{5.4} \cs_new_protected:Npn \__chemmacros_ox_sign:n #1 { - \bool_if:nT - { - \fp_compare_p:n { #1 > 0 } && - \l__chemmacros_ox_explicit_sign_bool - } + \bool_lazy_and:nnT + { \fp_compare_p:n { #1 > 0 } } + { \l__chemmacros_ox_explicit_sign_bool } { \c_math_toggle_token + \c_math_toggle_token } - \bool_if:nT - { - \fp_compare_p:n { #1 = 0 } && - \l__chemmacros_ox_explicit_sign_bool - } - { \c_math_toggle_token \pm \c_math_toggle_token } + \bool_lazy_and:nnT + { \fp_compare_p:n { #1 = 0 } } + { \l__chemmacros_ox_explicit_sign_bool } + { \c_math_toggle_token \pm \c_math_toggle_token } \fp_compare:nT { #1 < 0 } { \c_math_toggle_token - \c_math_toggle_token } } @@ -104,19 +100,17 @@ \ChemCompatibilityFrom{5.4} \cs_new_protected:Npn \__chemmacros_ox_sign:n #1 { - \bool_if:nT + \bool_lazy_and:nnT + { \fp_compare_p:n { #1 > 0 } } + { \l__chemmacros_ox_explicit_sign_bool } + { \c_math_toggle_token + \c_math_toggle_token } + \bool_lazy_all:nT { - \fp_compare_p:n { #1 > 0 } && - \l__chemmacros_ox_explicit_sign_bool + { \fp_compare_p:n { #1 = 0 } } + { \l__chemmacros_ox_explicit_sign_bool } + { \l__chemmacros_ox_explicit_zero_sign_bool } } - { \c_math_toggle_token + \c_math_toggle_token } - \bool_if:nT - { - \fp_compare_p:n { #1 = 0 } && - \l__chemmacros_ox_explicit_sign_bool && - \l__chemmacros_ox_explicit_zero_sign_bool - } - { \c_math_toggle_token \pm \c_math_toggle_token } + { \c_math_toggle_token \pm \c_math_toggle_token } \fp_compare:nT { #1 < 0 } { \c_math_toggle_token - \c_math_toggle_token } } @@ -334,7 +328,7 @@ % TODO: add option to make `#2' be parsed as chem formula \cs_new_protected:Npn \chemmacros_redox_partner:nn #1#2 { - \chemmacros_tex_if:nnTF {measuring@} {} + \legacy_if:nTF {measuring@} { \group_begin: \tikz[baseline=(#1.base)] { \node [inner~sep=0pt] (#1) {#2} ; } @@ -437,4 +431,5 @@ % -------------------------------------------------------------------------- \file_input_stop: 2015/09/30 - new option `explicit-zero-sign' - +2020/02/02 - lazy boolean evaluation + - prefer \legacy_if:nTF over \chemmacros_if_tex:nnTF diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.scheme.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.scheme.code.tex index 057acbf70c..97e1a11cb0 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.scheme.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.scheme.code.tex @@ -25,7 +25,7 @@ % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -\ChemModule{scheme}{2019/09/23 a scheme floating environment} +\ChemModule{scheme}{2020/02/02 a scheme floating environment} \RequirePackage {chemnum} @@ -80,7 +80,7 @@ \counterwithin {#1} {chapter} \setcounter {#1} {0} } - \chemmacros_tex_if:nnT {artopt} {} + \legacy_if:nT {artopt} { \counterwithout {#1} {chapter} } } @@ -136,12 +136,15 @@ { \prop_get:NnNT \l__chemmacros_float_methods_prop {#1} \l__chemmacros_tmpa_tl - \bool_if:nT - { !\l__chemmacros_float_def_bool && \l__chemmacros_tmpa_tl } { - \bool_set_true:N \l__chemmacros_float_def_bool - \tl_set:Nn \l__chemmacros_float_method_tl {#1} - \msg_info:nnn {chemmacros} {float-method} {#1} + \bool_lazy_and:nnT + { !\l__chemmacros_float_def_bool } + { \l__chemmacros_tmpa_tl } + { + \bool_set_true:N \l__chemmacros_float_def_bool + \tl_set:Nn \l__chemmacros_float_method_tl {#1} + \msg_info:nnn {chemmacros} {float-method} {#1} + } } } @@ -180,8 +183,9 @@ % #1: env name \cs_new_protected:Npn \chemmacros_define_float:nn #1#2 { - \bool_if:nT - { !\cs_if_exist_p:c {#1} && !\cs_if_exist_p:c {end#1} } + \bool_lazy_and:nnT + { !\cs_if_exist_p:c {#1} } + { !\cs_if_exist_p:c {end#1} } { \bool_if:NTF \l__chemmacros_float_def_bool { @@ -209,15 +213,13 @@ \newenvironment {#1*} {\@dblfloat{#1}} {\end@dblfloat} - \bool_if:nTF - { - \chemmacros_if_class_loaded_p:n {book} || - \chemmacros_if_class_loaded_p:n {report} - } + \bool_lazy_or:nnTF + { \chemmacros_if_class_loaded_p:n {book} } + { \chemmacros_if_class_loaded_p:n {report} } { \cs_new_protected:cpn {listof#1s} { - \chemmacros_tex_if:nnTF {@twocolumn} {} + \legacy_if:nTF {@twocolumn} { \@restonecoltrue\onecolumn } { \@restonecolfalse } \exp_args:NNx \chapter* {\exp_not:c {list#1name}} @@ -225,8 +227,7 @@ { \MakeUppercase \use:c {list#1name} } { \MakeUppercase \use:c {list#1name} } \@starttoc {#2} - \chemmacros_tex_if:nnT {@restonecol} {} - { \twocolumn } + \legacy_if:nT {@restonecol} { \twocolumn } } } { @@ -319,5 +320,7 @@ 2015/10/23 - add info message to float method detection 2016/01/23 - make the module compatible with chemscheme 2016/04/25 - cleveref and fancyref support -2016/12/28 - bug fix: typo in \chemmacros_tex_if:nnTF usage +2016/12/28 - bug fix: typo in \chemmacros_if_tex:nnTF usage 2019/03/23 - added Norwegian translations +2020/02/03 - lazy boolean evaluation + - prefer \legacy_if:nTF over \chemmacros_if_tex:nnTF diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.spectroscopy.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.spectroscopy.code.tex index a1be3187aa..c7e7037829 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.spectroscopy.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.spectroscopy.code.tex @@ -25,7 +25,7 @@ % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -\ChemModule{spectroscopy}{2015/12/31 environment for spectroscopic data} +\ChemModule{spectroscopy}{2020/02/02 environment for spectroscopic data} \chemmacros_load_modules:n {chemformula} \RequirePackage{siunitx} @@ -268,26 +268,20 @@ { \bool_if:NT \l__chemmacros_nmr_list_bool { \item \scan_stop: } \group_begin: - \chemmacros_leave_vmode: + \mode_leave_vertical: \bool_set_false:N \l__chemmacros_nmr_frequency_bool \bool_set_false:N \l__chemmacros_nmr_solvent_bool \tl_if_empty:nF {#3} { \bool_set_true:N \l__chemmacros_nmr_frequency_bool } \tl_if_empty:nF {#4} { \bool_set_true:N \l__chemmacros_nmr_solvent_bool } - \bool_if:nT - { - \l__chemmacros_nmr_frequency_bool - || - \l__chemmacros_nmr_solvent_bool - } + \bool_lazy_or:nnT + { \l__chemmacros_nmr_frequency_bool } + { \l__chemmacros_nmr_solvent_bool } { \bool_set_true:N \l__chemmacros_nmr_delimiters_bool } - \bool_if:nT - { - \l__chemmacros_nmr_frequency_bool - && - \l__chemmacros_nmr_solvent_bool - } + \bool_lazy_and:nnT + { \l__chemmacros_nmr_frequency_bool } + { \l__chemmacros_nmr_solvent_bool } { \bool_set_true:N \l__chemmacros_nmr_comma_bool } \tl_if_empty:nTF {#2} { @@ -516,3 +510,4 @@ \file_input_stop: 2015/12/31 - new option `atom-number-space' 2017/01/27 - new option `nmr-base-format' +2020/02/02 - lazy boolean evaluation diff --git a/macros/latex/contrib/chemmacros/chemmacros.module.units.code.tex b/macros/latex/contrib/chemmacros/chemmacros.module.units.code.tex index 7b90faad3a..e8c4595af8 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.module.units.code.tex +++ b/macros/latex/contrib/chemmacros/chemmacros.module.units.code.tex @@ -25,7 +25,7 @@ % % The Current Maintainer of this work is Clemens Niederberger. % -------------------------------------------------------------------------- -\ChemModule{units}{2019/11/07 chemical units} +\ChemModule{units}{2020/02/02 chemical units} \RequirePackage{siunitx} @@ -37,9 +37,18 @@ \DeclareSIUnit \moLar {\mole\per\liter} \DeclareSIUnit \MolMass {\gram\per\mole} \DeclareSIUnit \normal {\textsc{n}} -\chemmacros_if_compatibility:nnTF {<} {5.8g} - { \DeclareSIUnit \torr {torr} } - { \DeclareSIUnit \Torr {Torr} } + +\ChemCompatibilityTo{5.8g} + \DeclareSIUnit \torr {torr} +\EndChemCompatibility + +\ChemCompatibilityFrom{5.8h} + \DeclareSIUnit \Torr {Torr} +\EndChemCompatibility + +\ChemCompatibilityFrom{5.10} + \DeclareSIUnit \torr {Torr} +\EndChemCompatibility \AtEndPreamble { diff --git a/macros/latex/contrib/chemmacros/chemmacros.sty b/macros/latex/contrib/chemmacros/chemmacros.sty index e18a84fe95..ca76b8ab2c 100644 --- a/macros/latex/contrib/chemmacros/chemmacros.sty +++ b/macros/latex/contrib/chemmacros/chemmacros.sty @@ -31,10 +31,10 @@ % -------------------------------------------------------------------------- % package information: -\tl_const:Nn \c_chemmacros_date_tl {2020/01/16} +\tl_const:Nn \c_chemmacros_date_tl {2020/02/03} \tl_const:Nn \c_chemmacros_version_major_number_tl {5} -\tl_const:Nn \c_chemmacros_version_minor_number_tl {9} -\tl_const:Nn \c_chemmacros_version_subrelease_tl {a} +\tl_const:Nn \c_chemmacros_version_minor_number_tl {10} +\tl_const:Nn \c_chemmacros_version_subrelease_tl {} \tl_const:Nx \c_chemmacros_version_number_tl { \c_chemmacros_version_major_number_tl . @@ -208,11 +208,9 @@ \cs_new_protected:Npn \ChemCompatibilityBetween #1#2#3 \EndChemCompatibility { - \bool_if:nT - { - \chemmacros_if_compatibility_p:nn {>=} {#1} && - \chemmacros_if_compatibility_p:nn {<} {#2} - } + \bool_lazy_and:nnT + { \chemmacros_if_compatibility_p:nn {>=} {#1} } + { \chemmacros_if_compatibility_p:nn {<} {#2} } {#3} } @@ -267,6 +265,8 @@ { \RequirePackage{chemmacros4} } { \RequirePackage{chemmacros5} } -% -------------------------------------------------------------------------- \file_input_stop: - +% -------------------------------------------------------------------------- +2020/02/03 - lazy boolean evaluation + - prefer the kernel commands to \chemmacros_leave_vmode: and + \chemmacros_tex_if: diff --git a/macros/latex/contrib/chemmacros/chemmacros4.sty b/macros/latex/contrib/chemmacros/chemmacros4.sty index a9f6b2dfd3..bb392f5afd 100644 --- a/macros/latex/contrib/chemmacros/chemmacros4.sty +++ b/macros/latex/contrib/chemmacros/chemmacros4.sty @@ -606,7 +606,7 @@ % -------------------------------------------------------------------------- % a few general functions: -\cs_new_eq:NN \chemmacros_leave_vmode: \chemformula_leave_vmode: +\cs_new_eq:NN \mode_leave_vertical: \chemformula_leave_vmode: \cs_new_eq:NN \chemmacros_ignore_spaces: \tex_ignorespaces:D \cs_new_eq:NN \chemmacros_nobreak: \chemformula_nobreak: \cs_new_eq:NN \chemmacros_allow_break: \chemformula_allow_break: @@ -2295,7 +2295,7 @@ { \bool_if:NT \l__chemmacros_nmr_list_bool { \item \scan_stop: } \group_begin: - \chemmacros_leave_vmode: + \mode_leave_vertical: \bool_set_false:N \l__chemmacros_nmr_frequency_bool \bool_set_false:N \l__chemmacros_nmr_solvent_bool \tl_if_empty:nF { #3 } diff --git a/macros/latex/contrib/chemmacros/chemmacros5.sty b/macros/latex/contrib/chemmacros/chemmacros5.sty index 1f5ecbc939..e82088aa27 100644 --- a/macros/latex/contrib/chemmacros/chemmacros5.sty +++ b/macros/latex/contrib/chemmacros/chemmacros5.sty @@ -85,19 +85,19 @@ % -------------------------------------------------------------------------- % variants of kernel functions: -\cs_generate_variant:Nn \tl_if_eq:nnTF { xx , V } -\cs_generate_variant:Nn \seq_set_split:Nnn { Nnx } -\cs_generate_variant:Nn \prop_item:Nn { NV } -\cs_generate_variant:Nn \seq_item:Nn { cV } -\cs_generate_variant:Nn \int_to_arabic:n { V } -\cs_generate_variant:Nn \tl_replace_once:Nnn { NnV } -\cs_generate_variant:Nn \prop_gput:Nnn { cxx , NVf } -\cs_generate_variant:Nn \msg_error:nnn { nnV } -\cs_generate_variant:Nn \msg_warning:nnn { nnV } -\cs_generate_variant:Nn \msg_warning:nnnn { nnV } -\cs_generate_variant:Nn \vbox_set:Nn { NV } -\cs_generate_variant:Nn \keys_define:nn { x } -\cs_generate_variant:Nn \keys_set:nn { x , nx } +\cs_generate_variant:Nn \tl_if_eq:nnTF {xx,V} +\cs_generate_variant:Nn \seq_set_split:Nnn {Nnx} +\cs_generate_variant:Nn \prop_item:Nn {NV} +\cs_generate_variant:Nn \seq_item:Nn {cV} +\cs_generate_variant:Nn \int_to_arabic:n {V} +\cs_generate_variant:Nn \tl_replace_once:Nnn {NnV} +\cs_generate_variant:Nn \prop_gput:Nnn {cxx,NVf} +\cs_generate_variant:Nn \msg_error:nnn {nnV} +\cs_generate_variant:Nn \msg_warning:nnn {nnV} +\cs_generate_variant:Nn \msg_warning:nnnn {nnV} +\cs_generate_variant:Nn \vbox_set:Nn {NV} +\cs_generate_variant:Nn \keys_define:nn {x} +\cs_generate_variant:Nn \keys_set:nn {x,nx} % -------------------------------------------------------------------------- % temporary variables: @@ -130,6 +130,10 @@ \clist_new:N \l__chemmacros_tmpb_clist \clist_new:N \l__chemmacros_tmpc_clist +\str_new:N \l__chemmacros_tmpa_str +\str_new:N \l__chemmacros_tmpb_str +\str_new:N \l__chemmacros_tmpc_str + % -------------------------------------------------------------------------- % module mechanism: \tl_const:Nn \c__chemmacros_module_extension_tl {code.tex} @@ -323,3 +327,4 @@ Version history 2015/10/14 - bug fix in the module hook mechanism - bug fix in \chemmacros_if_module_loaded:n - new `errorcheck' module +2020/02/03 - add temporary string variables diff --git a/macros/latex/contrib/derivative/README.md b/macros/latex/contrib/derivative/README.md index 1ecac42f09..308e79be32 100644 --- a/macros/latex/contrib/derivative/README.md +++ b/macros/latex/contrib/derivative/README.md @@ -1,4 +1,4 @@ -## README for derivative package v0.96 dated 2019-12-22 +## README for derivative package v0.97 dated 2019-02-03 The package provides a set of commands `\NewOdvVariant`, `\NewPdvVariant` etc. that can be used to define a variant of a derivative. The package have already defined several derivatives: @@ -11,7 +11,7 @@ The package provides a set of commands `\NewOdvVariant`, `\NewPdvVariant` etc. t ### Copyright and license -Copyright 2019 Simon Jensen +Copyright 2019-2020 Simon Jensen This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 diff --git a/macros/latex/contrib/derivative/derivative.pdf b/macros/latex/contrib/derivative/derivative.pdf Binary files differindex 39592e3c9d..dae8b7dede 100644 --- a/macros/latex/contrib/derivative/derivative.pdf +++ b/macros/latex/contrib/derivative/derivative.pdf diff --git a/macros/latex/contrib/derivative/derivative.sty b/macros/latex/contrib/derivative/derivative.sty index f805cbbf86..d410254931 100644 --- a/macros/latex/contrib/derivative/derivative.sty +++ b/macros/latex/contrib/derivative/derivative.sty @@ -1,5 +1,5 @@ % derivative.sty -% Copyright 2019 Simon Jensen +% Copyright 2019-2020 Simon Jensen % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -16,7 +16,7 @@ \NeedsTeXFormat{LaTeX2e} \RequirePackage{xparse}[2018/05/09] -\ProvidesExplPackage{derivative}{2019/12/22}{0.96}{Nice and easy derivatives} +\ProvidesExplPackage{derivative}{2020/02/03}{0.97}{Nice and easy derivatives} %%%%% Useful conditionals %%%%% @@ -924,7 +924,7 @@ { auto } { \__deriv_scale_auto:Nnnn \__deriv_auto_left:n {#1} {#2} { 1 } } { none } { \__deriv_scale_none:nnn {#1} {#2} { 1 } } } - { \__deriv_scale_big:nnnm {#1} {#2} { 1 } { l } } + { \__deriv_scale_big:nnnn {#1} {#2} { 1 } { l } } } % dv , name \cs_new:Npn \__deriv_scale_right:nn #1 #2 @@ -934,7 +934,7 @@ { auto } { \__deriv_scale_auto:Nnnn \__deriv_auto_right:n {#1} {#2} { 2 } } { none } { \__deriv_scale_none:nnn {#1} {#2} { 2 } } } - { \__deriv_scale_big:nnnm {#1} {#2} { 2 } { r } } + { \__deriv_scale_big:nnnn {#1} {#2} { 2 } { r } } } % left/right , dv , name, number \cs_new:Npn \__deriv_scale_auto:Nnnn #1 #2 #3 #4 diff --git a/macros/latex/contrib/derivative/derivative.tex b/macros/latex/contrib/derivative/derivative.tex index 0bc1772615..30eaab1bee 100644 --- a/macros/latex/contrib/derivative/derivative.tex +++ b/macros/latex/contrib/derivative/derivative.tex @@ -1,5 +1,5 @@ % derivative.tex -% Copyright 2019 Simon Jensen +% Copyright 2019-2020 Simon Jensen % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -1082,8 +1082,8 @@ \Titel{The \pakkenavn{} package} \Forfatter{Simon Jensen} \Email{sjelatex@gmail.com} -\Dato{2019/12/22} -\Version{0.96} +\Dato{2019/02/03} +\Version{0.97} \RequirePackage{derivative}[\dato] \derivset{all}[scale-auto = mleftmright] @@ -2316,5 +2316,8 @@ \begin{change}[version = 0.96, date = 2019-12-22, beta = true] \item Fixed the double superscript issue for higher order derivative when the variable contained a superscript. \end{change} + \begin{change}[version = 0.97, date = 2020-02-03, beta = true] + \item Fixed the argument specifier of {\small\verb|\__deriv_scale_big:nnnn|} when it was used (it was used with \texttt{:nnnm}). + \end{change} \end{changelog} \end{document}
\ No newline at end of file diff --git a/macros/latex/contrib/filehook/README b/macros/latex/contrib/filehook/README index a521e4f062..25cc0e39b1 100644 --- a/macros/latex/contrib/filehook/README +++ b/macros/latex/contrib/filehook/README @@ -1,7 +1,6 @@ LaTeX package 'filehook' ~~~~~~~~~~~~~~~~~~~~~~~~ -Copyright (c) 2010-2019 by Martin Scharrer <martin@scharrer-online.de> -WWW: http://latex.scharrer-online.de/ +Copyright (c) 2010-2020 by Martin Scharrer <martin@scharrer-online.de> Code repository: https://bitbucket.org/martin_scharrer/filehook Provides several file hooks for files read by \input, \include and \InputIfFileExists. diff --git a/macros/latex/contrib/filehook/filehook.dtx b/macros/latex/contrib/filehook/filehook.dtx index efaeb3d5a8..0cd0f63354 100644 --- a/macros/latex/contrib/filehook/filehook.dtx +++ b/macros/latex/contrib/filehook/filehook.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment %<=*COPYRIGHT> -%% Copyright (C) 2011-2019 by Martin Scharrer <martin@scharrer-online.de> +%% Copyright (C) 2011-2020 by Martin Scharrer <martin@scharrer-online.de> %% ---------------------------------------------------------------------- %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -26,10 +26,10 @@ %<*driver> \ProvidesFile{filehook.dtx}[% %<=*DATE> - 2019/10/03 + 2020/02/03 %<=/DATE> %<=*VERSION> - v0.6 + v0.7 %<=/VERSION> Hooks for input files] \documentclass{ydoc} @@ -55,7 +55,7 @@ %</driver> % \fi % -% \CheckSum{1093} +% \CheckSum{1011} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -97,6 +97,7 @@ % \changes{v0.5d}{2011/10/12}{Fix for fall-back code.} % \changes{v0.5e}{2019/08/19}{Fix for new LaTeX format.} % \changes{v0.6}{2019/10/03}{Fix for InputIfFileExists for LaTeX format 2019/10/01.} +% \changes{v0.7}{2020/02/03}{Further fixes for InputIfFileExists for LaTeX format 2019/10/01.} % % \GetFileInfo{filehook.dtx} % @@ -530,11 +531,67 @@ \ProcessOptions\relax % \end{macrocode} % +% \subsection{General stuff} +% +% \begin{macro}{\iffilehook@newfmt} +% \begin{macrocode} +\newif\iffilehook@newfmt +\@ifl@t@r\fmtversion{2019/10/01}{\filehook@newfmttrue}{\filehook@newfmtfalse} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\filehook@let}[2]{<macro name 1>}{<macro name 2>} +% \begin{macrocode} +\def\filehook@let#1#2{% + \expandafter\ifx\csname #2\space\endcsname\relax + \expandafter\let\csname #1\expandafter\endcsname\csname #2\endcsname + \else + \expandafter\def\csname #1\expandafter\endcsname\expandafter{\expandafter\protect\csname #1\space\endcsname}% + \expandafter\let\csname #1\space\expandafter\endcsname\csname #2\space\endcsname + \fi +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\filehook@glet}[2]{<macro name 1>}{<macro name 2>} +% \begin{macrocode} +\def\filehook@glet#1#2{% + \expandafter\ifx\csname #2\space\endcsname\relax + \expandafter\global\expandafter\let\csname #1\expandafter\endcsname\csname #2\endcsname + \else + \expandafter\global\expandafter\def\csname #1\expandafter\endcsname\expandafter{\expandafter\protect\csname #1\space\endcsname}% + \expandafter\global\expandafter\let\csname #1\space\expandafter\endcsname\csname #2\space\endcsname + \fi +} +% \end{macrocode} +% \end{macro} +% +% +% \begin{macro}{\filehook@cmp}[2]{<macro name 1>}{<macro name 2>} +% Compare two macros definition including its space form in case of robust macros. +% \begin{macrocode} +\def\filehook@cmp#1#2{% + \expandafter\ifx\csname #2\space\endcsname\relax + \expandafter\ifx\csname #1\expandafter\endcsname\csname #2\endcsname + \expandafter\expandafter\expandafter\@firstoftwo + \else + \expandafter\expandafter\expandafter\@secondoftwo + \fi + \else + \expandafter\ifx\csname #1\space\expandafter\endcsname\csname #2\space\endcsname + \expandafter\expandafter\expandafter\@firstoftwo + \else + \expandafter\expandafter\expandafter\@secondoftwo + \fi + \fi +} +% \end{macrocode} +% \end{macro} +% % % \subsection{Initialisation of Hooks} % The general hooks are initialised to call the file specific hooks. % -% % \begin{macro}{\filehook@csuse} % \begin{macrocode} \begingroup @@ -553,7 +610,7 @@ % \begin{macro}{\filehook@include@atbegin} % \begin{macrocode} \def\filehook@include@atbegin#1{% - \let\InputIfFileExists\filehook@@InputIfFileExists + \filehook@let{InputIfFileExists}{filehook@@InputIfFileExists}% \filehook@csuse{\filehook@include@atbegin@#1}% \filehook@include@@atbegin } @@ -599,7 +656,7 @@ % \begin{macro}{\filehook@input@atbegin} % \begin{macrocode} \def\filehook@input@atbegin#1{% - \let\InputIfFileExists\filehook@@InputIfFileExists + \filehook@let{InputIfFileExists}{filehook@@InputIfFileExists}% \filehook@csuse{\filehook@input@atbegin@\filehook@ensureext{#1}}% \filehook@input@@atbegin } @@ -1108,16 +1165,14 @@ % This is always done inside a group to keep them temporary only. % The token register is used to avoid doubling of macro argument characters. % -% \begin{macrocode} -\newif\iffilehook@newfmt -\@ifl@t@r\fmtversion{2019/10/01}{\filehook@newfmttrue}{\filehook@newfmtfalse} -% \end{macrocode} -% % \begin{macro}{\latex@InputIfFileExists} % Standard \LaTeX\ definition of \Macro\InputIfFileExists. % \begin{macrocode} \iffilehook@newfmt -\DeclareRobustCommand \latex@InputIfFileExists[2]{% +\expandafter\def\expandafter\latex@InputIfFileExists\expandafter{% + \expandafter\protect\csname InputIfFileExists\space\endcsname +} +\expandafter\long\expandafter\def\csname latex@InputIfFileExists\space\endcsname#1#2{% \IfFileExists{#1}% {% \expandafter\@swaptwoargs\expandafter @@ -1136,7 +1191,7 @@ % % \begin{macro}{\filehook@default@InputIfFileExists} % \begin{macrocode} -\long\gdef\filehook@default@InputIfFileExists#1#2{% +\DeclareRobustCommand\filehook@default@InputIfFileExists[2]{% \IfFileExists{#1}% {\expandafter\filehook@swap \expandafter{\@filef@und}% @@ -1149,12 +1204,16 @@ }% } % \end{macrocode} +% Make sure definition is global: +% \begin{macrocode} +\filehook@glet{filehook@default@InputIfFileExists}{filehook@default@InputIfFileExists}% +% \end{macrocode} % \end{macro} % % \begin{macro}{\filehook@@default@InputIfFileExists} % \begin{macrocode} -\long\gdef\filehook@@default@InputIfFileExists#1#2{% - \let\InputIfFileExists\filehook@InputIfFileExists +\DeclareRobustCommand\filehook@@default@InputIfFileExists[2]{% + \filehook@let{InputIfFileExists}{filehook@InputIfFileExists}% \IfFileExists{#1}% {\expandafter\filehook@swap \expandafter{\@filef@und}% @@ -1165,88 +1224,9 @@ }% } % \end{macrocode} -% \end{macro} -% -% \begin{macro}{\scrlfile@InputIfFileExists} -% \begin{macrocode} -\long\def\scrlfile@InputIfFileExists#1#2{% - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname #1-@alias\endcsname\relax - \expandafter\@secondoftwo - \else - \scr@replacefile@msg{\csname #1-@alias\endcsname}{#1}% - \expandafter\@firstoftwo - \fi - {% - \expandafter\InputIfFileExists\expandafter{\csname - #1-@alias\endcsname}{#2}% - }% - {\IfFileExists{#1}{% - \scr@load@hook{before}{#1}% - #2\@addtofilelist{#1}% - \@@input \@filef@und - \scr@load@hook{after}{#1}% - }}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\filehook@scrlfile@InputIfFileExists} -% \begin{macrocode} -\long\def\filehook@scrlfile@InputIfFileExists#1#2{% - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname #1-@alias\endcsname\relax - \expandafter\@secondoftwo - \else - \scr@replacefile@msg{\csname #1-@alias\endcsname}{#1}% - \expandafter\@firstoftwo - \fi - {% - \expandafter\InputIfFileExists\expandafter{\csname - #1-@alias\endcsname}{#2}% - }% - {\IfFileExists{#1}{% - \expandafter\filehook@swap - \expandafter{\@filef@und}% - {\scr@load@hook{before}{#1}% - #2\@addtofilelist{#1}% - \filehook@every@atbegin{#1}% - \filehook@atbegin{#1}% - \@@input}% - \filehook@atend{#1}% - \filehook@every@atend{#1}% - \scr@load@hook{after}{#1}% - }}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\filehook@@scrlfile@InputIfFileExists} +% Make sure definition is global: % \begin{macrocode} -\long\def\filehook@@scrlfile@InputIfFileExists#1#2{% - \let\InputIfFileExists\filehook@InputIfFileExists - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname #1-@alias\endcsname\relax - \expandafter\@secondoftwo - \else - \scr@replacefile@msg{\csname #1-@alias\endcsname}{#1}% - \expandafter\@firstoftwo - \fi - {% - \expandafter\InputIfFileExists\expandafter{\csname - #1-@alias\endcsname}{#2}% - }% - {\IfFileExists{#1}{% - \expandafter\filehook@swap - \expandafter{\@filef@und}% - {\scr@load@hook{before}{#1}% - #2\@addtofilelist{#1}% - \filehook@atbegin{#1}% - \@@input}% - \filehook@atend{#1}% - \scr@load@hook{after}{#1}% - }}% -} +\filehook@glet{filehook@@default@InputIfFileExists}{filehook@@default@InputIfFileExists}% % \end{macrocode} % \end{macro} % @@ -1256,8 +1236,8 @@ % In order to also support it when it is loaded afterwards the two hooks below are used to revert the definition % before the package and patch it afterwards. % \begin{macrocode} -\AtBeginOfPackageFile*{scrlfile}{% - \let\InputIfFileExists\latex@InputIfFileExists +\AtBeginOfPackageFile{scrlfile}{% + \filehook@glet{InputIfFileExists}{latex@InputIfFileExists}% }% \AtEndOfPackageFile*{scrlfile}{% \RequirePackage{filehook-scrlfile}% @@ -1268,7 +1248,7 @@ \AtBeginOfPackageFile*{fink}{% \RequirePackage{kvoptions}% \begingroup - \let\InputIfFileExists\latex@InputIfFileExists + \filehook@let{InputIfFileExists}{latex@InputIfFileExists}% }% \AtEndOfPackageFile*{fink}{% \edef\@tempa{\noexpand\PassOptionsToPackage{mainext=\fnk@mainext,maindir=\fnk@maindir}{currfile}}% @@ -1281,9 +1261,8 @@ % exact same position. Please note that the case when |memoir| is used together with |scrlfile| is not explicitly covered. % In this case the |scrlfile| package will overwrite |memoir|s definition. % \begin{macrocode} -\AtBeginOfClassFile*{memoir}{% - \let\filehook@@InputIfFileExists\latex@InputIfFileExists - \let\InputIfFileExists\latex@InputIfFileExists +\AtBeginOfClassFile{memoir}{% + \filehook@let{InputIfFileExists}{latex@InputIfFileExists}% \let\@iinput\filehook@orig@@iinput }% \AtEndOfClassFile*{memoir}{% @@ -1295,45 +1274,28 @@ % error is given if any other unknown definition is detected. % The \opt{force} option will change the error into a warning and overwrite the macro with the default. % \begin{macrocode} -\def\@tempa{9}% -\ifx\InputIfFileExists\filehook@InputIfFileExists - \def\@tempa{0}% -\else - \iffilehook@force - \def\@tempa{1}% - \else - \iffilehook@newfmt - % check if both the robust \InputIfFileExist and its internal macro match the default LaTeX definition - \edef\@tempb{\noexpand\protect\expandafter\noexpand\csname InputIfFileExists\space\endcsname}% - \ifx\InputIfFileExists\@tempb - \expandafter\ifx\csname InputIfFileExists\space\expandafter\endcsname\csname latex@InputIfFileExists\space\endcsname - \def\@tempa{1}% - \fi - \fi - \else\ifx\InputIfFileExists\latex@InputIfFileExists - \def\@tempa{1}% - \fi\fi - \fi -\fi -% -\ifcase\@tempa -\relax% 0 -\or% 1 - \let\filehook@InputIfFileExists\filehook@default@InputIfFileExists - \let\filehook@@InputIfFileExists\filehook@@default@InputIfFileExists - \iffilehook@newfmt - \expandafter\let\csname InputIfFileExists\space\endcsname\filehook@InputIfFileExists - \else - \let\InputIfFileExists\filehook@InputIfFileExists - \fi - \iffilehook@force - \PackageWarning{filehook}{Detected unknown definition of \string\InputIfFileExists.^^J% - The 'force' option of 'filehook' is in effect. Macro is overwritten with default!}% - \fi -\else - \PackageError{filehook}{Detected unknown definition of \string\InputIfFileExists.^^J% - Use the 'force' option of 'filehook' to overwrite it.}{}% -\fi +\filehook@cmp{InputIfFileExists}{filehook@InputIfFileExists}% + {}% already set up + {% + \filehook@cmp{InputIfFileExists}{latex@InputIfFileExists}% + {% + \filehook@let{filehook@InputIfFileExists}{filehook@default@InputIfFileExists}% + \filehook@let{filehook@@InputIfFileExists}{filehook@@default@InputIfFileExists}% + \filehook@let{InputIfFileExists}{filehook@InputIfFileExists}% + }% + {% + \iffilehook@force + \filehook@let{filehook@InputIfFileExists}{filehook@default@InputIfFileExists}% + \filehook@let{filehook@@InputIfFileExists}{filehook@@default@InputIfFileExists}% + \filehook@let{InputIfFileExists}{filehook@InputIfFileExists}% + \PackageWarning{filehook}{Detected unknown definition of \string\InputIfFileExists.^^J% + The 'force' option of 'filehook' is in effect. Macro is overwritten with default!}% + \else + \PackageError{filehook}{Detected unknown definition of \string\InputIfFileExists.^^J% + Use the 'force' option of 'filehook' to overwrite it.}{}% + \fi + }% + }% % \end{macrocode} % \end{macro} % @@ -1341,10 +1303,10 @@ \AtBeginDocument{% % Check if definition got changed again. For the new LaTeX format we check again \InputIfFileExists<space>, % for the old format to \InputIfFileExists directly. - \expandafter\ifx\csname InputIfFileExists\iffilehook@newfmt\space\fi\endcsname\filehook@InputIfFileExists\else + \filehook@cmp{InputIfFileExists}{filehook@InputIfFileExists}{}{% \PackageWarning{filehook}{Macro \string\InputIfFileExists\space got redefined after 'filehook' was loaded.^^J% - Certain file hooks might now be dysfunctional!} - \fi + Certain file hooks might now be dysfunctional!}% + }% } % \end{macrocode} % @@ -1358,7 +1320,7 @@ % \begin{macrocode} %<!COPYRIGHT> \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesPackage{filehook-memoir}[2011/01/03 v0.1 filehook patch for memoir class] +\ProvidesPackage{filehook-memoir}[2020/02/02 v0.2 filehook patch for memoir class] % \end{macrocode} % % \begin{macrocode} @@ -1367,35 +1329,53 @@ % \end{macrocode} % % \begin{macro}{\memoir@InputIfFileExists} +% The definition taken from memoir.cls. Copyright see there. % \begin{macrocode} -\long\def\memoir@InputIfFileExists#1#2{% +\ifcsname InputIfFileExists\space\endcsname + \DeclareRobustCommand \memoir@InputIfFileExists[2]{% + \IfFileExists{#1}% + {% + \expandafter\@swaptwoargs\expandafter + {\@filef@und\m@matendf{#1}\killm@matf{#1}}{% + #2\@addtofilelist{#1}\m@matbeginf{#1}\@@input% + }% + }% + } +\else + % Old definition +\renewcommand{\memoir@InputIfFileExists}[2]{% \IfFileExists{#1}% {#2\@addtofilelist{#1}\m@matbeginf{#1}% \@@input \@filef@und \m@matendf{#1}% \killm@matf{#1}}% } +\fi % \end{macrocode} % \end{macro} % % \begin{macrocode} -\ifcase - \ifx\InputIfFileExists\latex@InputIfFileExists 0\else - \ifx\InputIfFileExists\memoir@InputIfFileExists 0\else - 1% - \fi\fi -\relax - \global\let\filehook@InputIfFileExists\filehook@default@InputIfFileExists - \global\let\filehook@@InputIfFileExists\filehook@@default@InputIfFileExists - \global\let\InputIfFileExists\filehook@InputIfFileExists +\@tempswafalse +\filehook@cmp{InputIfFileExists}{filehook@InputIfFileExists}% + {\@tempswatrue}% + {% + \filehook@cmp{InputIfFileExists}{memoir@InputIfFileExists}% + {\@tempswatrue}% + {}% + }% + +\if@tempswa + \filehook@glet{filehook@InputIfFileExists}{filehook@default@InputIfFileExists}% + \filehook@glet{filehook@@InputIfFileExists}{filehook@@default@InputIfFileExists}% + \filehook@glet{InputIfFileExists}{filehook@InputIfFileExists}% \filehook@appendwarg\filehook@atbegin{\m@matbeginf{#1}}% \filehook@prefixwarg\filehook@atend{\m@matendf{#1}\killm@matf{#1}}% \PackageInfo{filehook}{Detected 'memoir' class: the memoir hooks will be moved to the `At...OfFiles' hooks} \else \iffilehook@force - \global\let\filehook@InputIfFileExists\filehook@default@InputIfFileExists - \global\let\filehook@@InputIfFileExists\filehook@@default@InputIfFileExists - \global\let\InputIfFileExists\filehook@InputIfFileExists + \filehook@glet{filehook@InputIfFileExists}{filehook@default@InputIfFileExists}% + \filehook@glet{filehook@@InputIfFileExists}{filehook@@default@InputIfFileExists}% + \filehook@glet{InputIfFileExists}{filehook@InputIfFileExists}% \PackageWarning{filehook}{Detected 'memoir' class with unknown definition of \string\InputIfFileExists.^^J% The 'force' option of 'filehook' is in effect. Macro is overwritten with default!}% \else @@ -1455,14 +1435,17 @@ % \begin{macrocode} %<!COPYRIGHT> \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesPackage{filehook-scrlfile}[2011/01/03 v0.1 filehook patch for scrlfile package] +\ProvidesPackage{filehook-scrlfile}[2020/02/02 v0.2 filehook patch for scrlfile package] \RequirePackage{filehook} \begingroup % \end{macrocode} % % \begin{macro}{\scrlfile@InputIfFileExists} % \begin{macrocode} -\long\def\scrlfile@InputIfFileExists#1#2{% +\expandafter\def\expandafter\sclrfile@InputIfFileExists\expandafter{% + \expandafter\protect\csname InputIfFileExists\space\endcsname +} +\expandafter\long\expandafter\def\csname scrlfile@InputIfFileExists\space\endcsname#1#2{% \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname #1-@alias\endcsname\relax \expandafter\@secondoftwo @@ -1472,21 +1455,19 @@ \fi {% \expandafter\InputIfFileExists\expandafter{\csname - #1-@alias\endcsname}{#2}% +#1-@alias\endcsname}{#2}% }% {\IfFileExists{#1}{% - \scr@load@hook{before}{#1}% - #2\@addtofilelist{#1}% - \@@input \@filef@und - \scr@load@hook{after}{#1}% - }}% + \expandafter\scr@input@withhook\expandafter{\@filef@und}{#1}{#2}}% + }% } % \end{macrocode} % \end{macro} % +% % \begin{macro}{\filehook@scrlfile@InputIfFileExists} % \begin{macrocode} -\long\def\filehook@scrlfile@InputIfFileExists#1#2{% +\DeclareRobustCommand\filehook@scrlfile@InputIfFileExists[2]{% \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname #1-@alias\endcsname\relax \expandafter\@secondoftwo @@ -1511,13 +1492,15 @@ \scr@load@hook{after}{#1}% }}% } +\filehook@glet{filehook@scrlfile@InputIfFileExists}{filehook@scrlfile@InputIfFileExists}% % \end{macrocode} % \end{macro} % +% % \begin{macro}{\filehook@@scrlfile@InputIfFileExists} % \begin{macrocode} -\long\def\filehook@@scrlfile@InputIfFileExists#1#2{% - \let\InputIfFileExists\filehook@InputIfFileExists +\DeclareRobustCommand\filehook@@scrlfile@InputIfFileExists[2]{% + \filehook@let{InputIfFileExists}{filehook@InputIfFileExists}% \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname #1-@alias\endcsname\relax \expandafter\@secondoftwo @@ -1540,6 +1523,7 @@ \scr@load@hook{after}{#1}% }}% } +\filehook@glet{filehook@@scrlfile@InputIfFileExists}{filehook@@scrlfile@InputIfFileExists}% % \end{macrocode} % \end{macro} % @@ -1548,21 +1532,25 @@ % not after the |#2\@addtofilelist{#1}| code. Otherwise the |filehook|s could simply be added to these hooks. % Note that this will stop working if |scrlfile| ever changes its definition of the \Macro\InputIfFileExists macro. % \begin{macrocode} -\ifcase - \ifx\InputIfFileExists\latex@InputIfFileExists 0\else - \ifx\InputIfFileExists\scrlfile@InputIfFileExists 0\else - 1% - \fi\fi -\relax - \global\let\filehook@InputIfFileExists\filehook@scrlfile@InputIfFileExists - \global\let\filehook@@InputIfFileExists\filehook@@scrlfile@InputIfFileExists - \global\let\InputIfFileExists\filehook@InputIfFileExists +\@tempswafalse +\filehook@cmp{InputIfFileExists}{filehook@InputIfFileExists}% + {\@tempswatrue}% + {% + \filehook@cmp{InputIfFileExists}{scrlfile@InputIfFileExists}% + {\@tempswatrue}% + {}% + }% + +\if@tempswa + \filehook@glet{filehook@InputIfFileExists}{filehook@scrlfile@InputIfFileExists}% + \filehook@glet{filehook@@InputIfFileExists}{filehook@@scrlfile@InputIfFileExists}% + \filehook@glet{InputIfFileExists}{filehook@InputIfFileExists}% \PackageInfo{filehook}{Package 'scrlfile' detected and compensated for}% \else \iffilehook@force - \global\let\filehook@InputIfFileExists\filehook@default@InputIfFileExists - \global\let\filehook@@InputIfFileExists\filehook@@default@InputIfFileExists - \global\let\InputIfFileExists\filehook@InputIfFileExists + \filehook@glet{filehook@InputIfFileExists}{filehook@scrlfile@InputIfFileExists}% + \filehook@glet{filehook@@InputIfFileExists}{filehook@@scrlfile@InputIfFileExists}% + \filehook@glet{InputIfFileExists}{filehook@InputIfFileExists}% \PackageWarning{filehook}{Detected 'scrlfile' package with unknown definition of \string\InputIfFileExists.^^J% The 'force' option of 'filehook' is in effect. Macro is overwritten with default!}% \else diff --git a/macros/latex/contrib/filehook/filehook.pdf b/macros/latex/contrib/filehook/filehook.pdf Binary files differindex ce6afd430f..4d3462623b 100644 --- a/macros/latex/contrib/filehook/filehook.pdf +++ b/macros/latex/contrib/filehook/filehook.pdf diff --git a/macros/latex/contrib/fontspec/CHANGES.md b/macros/latex/contrib/fontspec/CHANGES.md index d65a8b1c01..176a83b6c8 100644 --- a/macros/latex/contrib/fontspec/CHANGES.md +++ b/macros/latex/contrib/fontspec/CHANGES.md @@ -1,6 +1,14 @@ Change history ============== +## v2.7h (2020/02/03) + + * Eroneous uses of `language=DFLT` changed to `language=dflt`. + * Fix spurious error in some cases of `SlantedFont` and `BoldSlantedFont` + being specified in a `.fontspec` file. + * Fix regression with `unicode-math` related log files showing the wrong + NFSS-based font ‘identifier’. + ## v2.7g (2020/01/26) * Fix regression that broke changing the default encoding after `fontspec` was loaded diff --git a/macros/latex/contrib/fontspec/fontspec-code-enc.dtx b/macros/latex/contrib/fontspec/fontspec-code-enc.dtx index 8969c1be9c..7d30448002 100644 --- a/macros/latex/contrib/fontspec/fontspec-code-enc.dtx +++ b/macros/latex/contrib/fontspec/fontspec-code-enc.dtx @@ -69,7 +69,6 @@ \DeclareDocumentCommand \DeclareUnicodeEncoding {mm} { \DeclareFontEncoding{#1}{}{} - \DeclareErrorFont{#1}{lmr}{m}{n}{10} \DeclareFontSubstitution{#1}{lmr}{m}{n} \DeclareFontFamily{#1}{lmr}{} diff --git a/macros/latex/contrib/fontspec/fontspec-code-feat-opentype.dtx b/macros/latex/contrib/fontspec/fontspec-code-feat-opentype.dtx index 935cf81a70..77d431ccf8 100644 --- a/macros/latex/contrib/fontspec/fontspec-code-feat-opentype.dtx +++ b/macros/latex/contrib/fontspec/fontspec-code-feat-opentype.dtx @@ -525,9 +525,9 @@ % \begin{macrocode} \@@_keys_define_code:nnn {fontspec-opentype} { Language / Default } { - \tl_set:Nn \l_@@_lang_tl {DFLT} + \tl_set:Nn \l_@@_lang_tl {dflt} \int_zero:N \l_@@_language_int - \tl_gset:Nn \g_@@_single_feat_tl { language=DFLT } + \tl_gset:Nn \g_@@_single_feat_tl { language=dflt } } % \end{macrocode} % diff --git a/macros/latex/contrib/fontspec/fontspec-code-internal.dtx b/macros/latex/contrib/fontspec/fontspec-code-internal.dtx index 432ae803f6..6282569a6f 100644 --- a/macros/latex/contrib/fontspec/fontspec-code-internal.dtx +++ b/macros/latex/contrib/fontspec/fontspec-code-internal.dtx @@ -241,7 +241,7 @@ \@@_set_font_type:N \l_@@_test_font \@@_primitive_font_gset:Onn \l_@@_fontface_cs_tl { \@@_construct_font_call:nn { \l_@@_fontname_up_tl } { \l_@@_pre_feat_sclist } } - { \f@size pt } + { \f@size pt + 2sp } \l_@@_fontface_cs_tl % this is necessary for LuaLaTeX to check the scripts properly @@ -682,7 +682,7 @@ { \clist_clear:N \l_@@_fontopts_clist } \keys_set_groups:nnV {fontspec/fontname} {getfontname} \l_@@_fontopts_clist \@@_primitive_font_set:OnnF \l_@@_fontface_cs_tl - { \@@_construct_font_call:nn {#1} { \l_@@_pre_feat_sclist } } { \f@size pt } + { \@@_construct_font_call:nn {#1} { \l_@@_pre_feat_sclist } } { \f@size pt + 2sp } { \@@_error:nx {font-not-found} {#2} } } % \end{macrocode} @@ -1146,20 +1146,6 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}{\@@_lang_dflt_correct:N} -% \begin{macrocode} -%<*XE> -\cs_new_protected:Nn \@@_lang_dflt_correct:N - { - \int_compare:nNnT {#1} = {1145457748} % "DFLT" - { - \int_zero:N #1 - } - } -%</XE> -% \end{macrocode} -% \end{macro} -% % % \iffalse % \begin{macrocode} diff --git a/macros/latex/contrib/fontspec/fontspec-code-keyval.dtx b/macros/latex/contrib/fontspec/fontspec-code-keyval.dtx index b7e660da0c..87a93c176b 100644 --- a/macros/latex/contrib/fontspec/fontspec-code-keyval.dtx +++ b/macros/latex/contrib/fontspec/fontspec-code-keyval.dtx @@ -383,10 +383,11 @@ % \begin{macrocode} \@@_keys_define_code:nnn {fontspec-opentype} {UprightFont} {} \@@_keys_define_code:nnn {fontspec-opentype} {ItalicFont} {} +\@@_keys_define_code:nnn {fontspec-opentype} {SlantedFont} {} \@@_keys_define_code:nnn {fontspec-opentype} {BoldFont} {} \@@_keys_define_code:nnn {fontspec-opentype} {BoldItalicFont} {} +\@@_keys_define_code:nnn {fontspec-opentype} {BoldSlantedFont} {} % \end{macrocode} - % % % diff --git a/macros/latex/contrib/fontspec/fontspec-code-opentype.dtx b/macros/latex/contrib/fontspec/fontspec-code-opentype.dtx index ad9413eca4..be0b8be768 100644 --- a/macros/latex/contrib/fontspec/fontspec-code-opentype.dtx +++ b/macros/latex/contrib/fontspec/fontspec-code-opentype.dtx @@ -283,27 +283,27 @@ %<*XE> %<debug>\typeout{::~ fontspec_check_ot_feat:nnn~ {#2}{#3}{#4}} \@@_iv_str_to_num:Nx \l_@@_strnum_int {#2} - \@@_iv_str_to_num:Nx \l_@@_language_int {#3} - \@@_lang_dflt_correct:N \l_@@_language_int + + \str_if_eq:eeTF {#3} {dflt} + { \int_zero:N \l_@@_language_int } + { \@@_iv_str_to_num:Nx \l_@@_language_int {#3} } \@@_iv_str_to_num:Nx \l_@@_script_int {#4} + \int_set:Nn \l_tmpb_int - { - \XeTeXOTcountfeatures #1 - \l_@@_script_int - \l_@@_language_int - } + { \XeTeXOTcountfeatures #1 \l_@@_script_int \l_@@_language_int } + \int_zero:N \l_tmpa_int \bool_set_false:N \l_@@_check_bool \bool_until_do:nn { \int_compare_p:nNn \l_tmpa_int = \l_tmpb_int } - { - \ifnum\XeTeXOTfeaturetag #1 \l_@@_script_int \l_@@_language_int - \l_tmpa_int =\l_@@_strnum_int - \bool_set_true:N \l_@@_check_bool - \int_set:Nn \l_tmpa_int {\l_tmpb_int} - \else - \int_incr:N \l_tmpa_int - \fi - } + { + \ifnum\XeTeXOTfeaturetag #1 \l_@@_script_int \l_@@_language_int + \l_tmpa_int =\l_@@_strnum_int + \bool_set_true:N \l_@@_check_bool + \int_set:Nn \l_tmpa_int {\l_tmpb_int} + \else + \int_incr:N \l_tmpa_int + \fi + } \bool_if:NTF \l_@@_check_bool \prg_return_true: \prg_return_false: %</XE> %<*LU> diff --git a/macros/latex/contrib/fontspec/fontspec-code.pdf b/macros/latex/contrib/fontspec/fontspec-code.pdf Binary files differindex 8982d35be2..9ca1bd3430 100644 --- a/macros/latex/contrib/fontspec/fontspec-code.pdf +++ b/macros/latex/contrib/fontspec/fontspec-code.pdf diff --git a/macros/latex/contrib/fontspec/fontspec.dtx b/macros/latex/contrib/fontspec/fontspec.dtx index 826ad41cce..e5a6f2f111 100644 --- a/macros/latex/contrib/fontspec/fontspec.dtx +++ b/macros/latex/contrib/fontspec/fontspec.dtx @@ -70,7 +70,7 @@ \ProvidesExplFile{fontspec.dtx} %</dtx> %<*fontspec> - {2020/01/26}{2.7g}{Font selection for XeLaTeX and LuaLaTeX} + {2020/02/03}{2.7h}{Font selection for XeLaTeX and LuaLaTeX} %</fontspec> % \end{macrocode} % @@ -89,8 +89,8 @@ %<lua>local fontspec = fontspec %<lua>fontspec.module = { %<lua> name = "fontspec", -%<lua> version = "2.7g", -%<lua> date = "2020/01/26", +%<lua> version = "2.7h", +%<lua> date = "2020/02/03", %<lua> description = "Font selection for XeLaTeX and LuaLaTeX", %<lua> author = "Khaled Hosny, Philipp Gesang, Will Robertson", %<lua> copyright = "Khaled Hosny, Philipp Gesang, Will Robertson", diff --git a/macros/latex/contrib/fontspec/fontspec.pdf b/macros/latex/contrib/fontspec/fontspec.pdf Binary files differindex b64f441771..2003bddf9c 100644 --- a/macros/latex/contrib/fontspec/fontspec.pdf +++ b/macros/latex/contrib/fontspec/fontspec.pdf diff --git a/macros/latex/contrib/physconst/CHANGELOG.md b/macros/latex/contrib/physconst/CHANGELOG.md index 059256090c..c765c612a0 100644 --- a/macros/latex/contrib/physconst/CHANGELOG.md +++ b/macros/latex/contrib/physconst/CHANGELOG.md @@ -13,7 +13,8 @@ - added localuninstall and distuninstall targets to the makefile ### Changed - Modified the makefile to split up generation of the .sty, .dtx, and .pdf -- Modified the .cpp so that every \DeclareRobustCommand starts a new line right away +- Modified the .cpp so that every \DeclareRobustCommand starts a new line right +away - Added a newline in the middle of the title declaration (in .cpp) - Added a newline in the middle of the \DoNotIndex declaration (in .cpp) - Added dependency on imakeidx and changed the index to 2 column. @@ -31,10 +32,30 @@ - Add disribution specific readme - Add disribution specific makefile ### Changed -- Update README to have clearer build, distribute, install, and uninstall instructions. +- Update README to have clearer build, distribute, install, and uninstall +instructions. - Distribute with .dtx instead of .sty - Reordered build, install, distribute, and uninstall sections of the README - Pulled build up one level of headings in the README - fix some typos in README - - +## [1.1.0] - 2020/02/03 +### Added +- macro for Earth's mass +- macro for Jupiter's mass +- macro for Earth's radius +- macro for Jupiter's radius +- distribution specific change log +- Numeric variant of each constant for use with e.g. tikz +### Changes +- Colomb constant in SI units had an incorrect magnitude; fixed to 10^9 instead +of 10^14 +- Vacuum permeability was incorrectly a duplicate of the permittivity. +Premeability is now the correct value. +- Mass of particles in eV was being computed incorrectly. Fixed values. +- Order of magnitude of Newton's Gravity, Boltzmann, Planck, and +Stefan-Boltzmann constants were incorrect. +- Acceleration due to gravity on Earth was accidentally a copy of G instead of g +- Acceleration due to gravity on Earth had the wrong units +- Corrected formatting of README file. +- Fixed sections of macros - the individual macros were unintentionally +subsections of the Naming Conversion diff --git a/macros/latex/contrib/physconst/README.md b/macros/latex/contrib/physconst/README.md index 8a43c78f49..8727bf5e43 100644 --- a/macros/latex/contrib/physconst/README.md +++ b/macros/latex/contrib/physconst/README.md @@ -16,7 +16,8 @@ and version 1.3c or later is part of all distributions of LaTeX version 2006/05/20 or later. # Dependencies -- [`physunits` package](https://github.com/astrobit/physunits) also available at [CTAN](https://ctan.org) +- [`physunits` package](https://github.com/astrobit/physunits) also available +at [CTAN](https://ctan.org) # Build Dependencies - some LaTeX distribution. @@ -27,7 +28,8 @@ version 2006/05/20 or later. # Files ``` - makefile GNU makefile to simplify building and installation on linux + makefile GNU makefile to simplify building and installation + on linux README.md This file. CHANGELOG.md List of changes physconst.ins The installer file @@ -40,28 +42,37 @@ version 2006/05/20 or later. 1. `make` ## Otherwise -1. Run `latex` on `physconst.ins` to create the `.sty` file. e.g. `latex physconst.ins`. +1. Run `latex` on `physconst.ins` to create the `.sty` file. e.g. +`latex physconst.ins`. 1. The following steps apply only if you want the documentation (recommended). - 1. Run `latex` on `physconst.dtx` to create the `.pdf` file. e.g. `xelatex physconst.pdf`. - 1. Run `makeindex` to create the index, e.g. `makeindex -s gind.ist -o physconst.ind physconst.idx`. - 1. Run `makeindex` to create the change log, e.g. `makeindex -s gglo.ist -o physconst.gls physconst.glo`. - 1. Run `latex` on `physconst.dtx` to create the `.pdf` file with index and change log. e.g. `xelatex physconst.pdf`. - 1. Run `latex` on `physconst.dtx` to get the labels sorted out. e.g. `xelatex physconst.pdf`. - -Instructions that might help can be for windows can be found at [this post on StackExchange](https://tex.stackexchange.com/questions/369921/loading-packages-with-ins-and-dtx-files). + 1. Run `latex` on `physconst.dtx` to create the `.pdf` file. e.g. +`xelatex physconst.pdf`. + 1. Run `makeindex` to create the index, e.g. +`makeindex -s gind.ist -o physconst.ind physconst.idx`. + 1. Run `makeindex` to create the change log, e.g. +`makeindex -s gglo.ist -o physconst.gls physconst.glo`. + 1. Run `latex` on `physconst.dtx` to create the `.pdf` file with index and +change log. e.g. `xelatex physconst.pdf`. + 1. Run `latex` on `physconst.dtx` to get the labels sorted out. e.g. +`xelatex physconst.pdf`. + +Instructions that might help can be for windows can be found at +[this post on StackExchange](https://tex.stackexchange.com/questions/369921/loading-packages-with-ins-and-dtx-files). # Installation First build the project as described above. ## For a single project -1. Copy the `physconst.sty` into your project where your `.tex` files are located. +1. Copy the `physconst.sty` into your project where your `.tex` files are +located. ## for all users and projects ### Linux / Mac using make and xelatex 1. `make localinstall` ### Otherwise -Instructions that might help can be for windows can be found at [this post on StackExchange](https://tex.stackexchange.com/questions/369921/loading-packages-with-ins-and-dtx-files). +Instructions that might help can be for windows can be found at +[this post on StackExchange](https://tex.stackexchange.com/questions/369921/loading-packages-with-ins-and-dtx-files). 1. Figure out where your LaTeX local packages are installed. 1. Create a directory named `physconst` in that location. 1. Copy the `.sty` file into the directory you just created. diff --git a/macros/latex/contrib/physconst/physconst.dtx b/macros/latex/contrib/physconst/physconst.dtx index 691a5fd901..7ade189381 100644 --- a/macros/latex/contrib/physconst/physconst.dtx +++ b/macros/latex/contrib/physconst/physconst.dtx @@ -133,7 +133,7 @@ % The normal macros are the ones that you will typically use, whose values are % determined by the choice of options when the package is invoked. % -% \subsection{Naming Convention} +% \subsubsection{Naming Convention} % % Each macro starts with a lower case `k' to indicate that it is a constant. % If the macro is of special units, e.g. eV, those units will be specified next. @@ -147,41 +147,136 @@ %\index{Mass|usage} % % \DescribeMacro{\kMassElectron} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % \index{Mass>Electron|usage} % |\kMassElectron| is the mass of an electron. % % \DescribeMacro{\keVMassElectron} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % \index{Mass>Electron>in eV|usage} % |\keVMassElectron| is the mass of an electron. % +% \DescribeMacro{\kMassElectronNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% \index{Mass>Electron|usage} +% |\kMassElectronNumeric| is the numeric value of +% the mass of an electron. +% +% \DescribeMacro{\keVMassElectronNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% \index{Mass>Electron>in eV|usage} +% |\keVMassElectronNumeric| is the numeric value of +% the mass of an electron. +% % \DescribeMacro{\kMassProton} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % \index{Mass>Proton|usage} % |\kMassProton| is the mass of a proton. % % \DescribeMacro{\keVMassProton} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % \index{Mass>Proton>in eV|usage} % |\keVMassProton| is the mass of a proton. % +% \DescribeMacro{\kMassProtonNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% \index{Mass>Proton|usage} +% |\kMassProtonNumeric| is the numeric value of +% the mass of a proton. +% +% \DescribeMacro{\keVMassProtonNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% \index{Mass>Proton>in eV|usage} +% |\keVMassProtonNumeric| is the numeric value of +% the mass of a proton. +% % \DescribeMacro{\kMassHydrogen} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % \index{Mass>Hydrogen atom|usage} % |\kMassHydrogen| is the mass of a neutral hydrogen atom. % % \DescribeMacro{\keVMassHydrogen} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % \index{Mass>Hydrogen atom>in eV|usage} % |\keVMassHydrogen| is the mass of a neutral hydrogen atom. % +% \DescribeMacro{\kMassHydrogenNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% \index{Mass>Hydrogen atom|usage} +% |\kMassHydrogenNumeric| is the numeric value of +% the mass of a neutral hydrogen atom. +% +% \DescribeMacro{\keVMassHydrogenNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% \index{Mass>Hydrogen atom>in eV|usage} +% |\keVMassHydrogenNumeric| is the numeric value of +% the mass of a neutral hydrogen atom. +% % \DescribeMacro{\kMassSun} % \index{Mass>Sun|usage} % |\kMassSun| is the mass of the Sun. % +% \DescribeMacro{\kMassSunNumeric} +% \index{Mass>Sun|usage} +% |\kMassSunNumeric| is the numeric value of +% the mass of the Sun. +% +% \DescribeMacro{\kMassEarth} +% \changes{v1.1.0}{2020/02/03}{Add mass of Earth} +% |\kMassEarth| is the mass of the Earth. +% +% \DescribeMacro{\kMassEarthNumeric} +% \changes{v1.1.0}{2020/02/03}{Add mass of Earth} +% |\kMassEarthNumeric| is the numeric value of +% the mass of the Earth. +% +% \DescribeMacro{\kMassJupiter} +% \changes{v1.1.0}{2020/02/03}{Add mass of Jupiter} +% |\kMassJupiter| is the mass of Jupiter. +% +% \DescribeMacro{\kMassJupiterNumeric} +% \changes{v1.1.0}{2020/02/03}{Add mass of Jupiter} +% |\kMassJupiterNumeric| is the numeric value of +% the mass of Jupiter. +% % \DescribeMacro{\kMassAMU} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % \index{Mass>amu|usage} % |\kMassAMU| is the mass of an atomic mass unit. % % \DescribeMacro{\keVMassAMU} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % \index{Mass>amu>in eV|usage} % |\keVMassAMU| is the mass of an atomic mass unit. % +% \DescribeMacro{\kMassAMUNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% \index{Mass>amu|usage} +% |\kMassAMUNumeric| is the numeric value of +% the mass of an atomic mass unit. +% +% \DescribeMacro{\keVMassAMUNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% \index{Mass>amu>in eV|usage} +% |\keVMassAMUNumeric| is the numeric value of +% the mass of an atomic mass unit. +% % %\subsubsection{Charge} % @@ -192,14 +287,29 @@ % \index{Charge>Elementary|usage} % |\kChargeFundamental| is the fundamental charge. % +% \DescribeMacro{\kChargeFundamentalNumeric} +% \index{Charge>Elementary|usage} +% |\kChargeFundamentalNumeric| is the numeric value of +% the fundamental charge. +% % \DescribeMacro{\kChargeElectron} % \index{Charge>Electron|usage} % |\kChargeElectron| is the charge of an electron. % +% \DescribeMacro{\kChargeElectronNumeric} +% \index{Charge>Electron|usage} +% |\kChargeElectronNumeric| is the numeric value of +% the charge of an electron. +% % \DescribeMacro{\kChargeProton} % \index{Charge>Proton|usage} % |\kChargeProton| is the charge of a proton. % +% \DescribeMacro{\kChargeProtonNumeric} +% \index{Charge>Proton|usage} +% |\kChargeProtonNumeric| is the numeric value of +% the charge of a proton. +% % %\subsubsection{Distances and Lengths} % @@ -210,19 +320,58 @@ % \index{Distances and Lengths>Bohr Radius|usage} % |\kRadiusBohr| is Bohr radius of an atom. % +% \DescribeMacro{\kRadiusBohrNumeric} +% \index{Distances and Lengths>Bohr Radius|usage} +% |\kRadiusBohrNumeric| is the numeric value of +% Bohr radius of an atom. +% % \DescribeMacro{\kAstronomicalUnit} % \index{Distances and Lengths>Astronomical Unit|usage} % |\kAstronomicalUnit| is the astronomical unit (the average distance between % the Earth and the Sun). % +% \DescribeMacro{\kAstronomicalUnitNumeric} +% \index{Distances and Lengths>Astronomical Unit|usage} +% |\kAstronomicalUnitNumeric| is the numeric value of +% the astronomical unit (the average distance between the +% Earth and the Sun). +% % \DescribeMacro{\kParsec} % \index{Distances and Lengths>Parsec|usage} % |\kParsec| is the length of a parsec ($\frac{648000\au}{\pi}$). % +% \DescribeMacro{\kParsecNumeric} +% \index{Distances and Lengths>Parsec|usage} +% |\kParsecNumeric| is the numeric value of +% the length of a parsec ($\frac{648000\au}{\pi}$). +% % \DescribeMacro{\kRadiusSun} % \index{Distances and Lengths>Solar Radius|usage} % |\kRadiusSun| is the mean radius of the Sun. % +% \DescribeMacro{\kRadiusSunNumeric} +% \index{Distances and Lengths>Solar Radius|usage} +% |\kRadiusSunNumeric| is the numeric value of +% the mean radius of the Sun. +% +% \DescribeMacro{\kRadiusEarth} +% \changes{v1.1.0}{2020/02/03}{Add radius of Earth} +% |\kRadiusEarth| is the mean radius of the Earth. +% +% \DescribeMacro{\kRadiusEarthNumeric} +% \changes{v1.1.0}{2020/02/03}{Add radius of Earth} +% |\kRadiusEarthNumeric| is the numeric value of +% the mean radius of the Earth. +% +% \DescribeMacro{\kRadiusJupiter} +% \changes{v1.1.0}{2020/02/03}{Add radius of Jupiter} +% |\kRadiusJupiter| is the mean radius of Jupiter. +% +% \DescribeMacro{\kRadiusJupiterNumeric} +% \changes{v1.1.0}{2020/02/03}{Add radius of Jupiter} +% |\kRadiusJupiterNumeric| is the numeric value of +% the mean radius of Jupiter. +% % %\subsubsection{Energy, Power, and Luminosity} % @@ -237,10 +386,25 @@ % \index{Energy, Power, and Luminosity>Rydberg>in eV|usage} % |\keVRydberg| is the Rydberg energy (the binding energy of Hydrogen). % +% \DescribeMacro{\kRydbergNumeric} +% \index{Energy, Power, and Luminosity>Rydberg|usage} +% |\kRydbergNumeric| is the numeric value of +% the Rydberg energy (the binding energy of Hydrogen). +% +% \DescribeMacro{\keVRydbergNumeric} +% \index{Energy, Power, and Luminosity>Rydberg>in eV|usage} +% |\keVRydbergNumeric| is the numeric value of +% the Rydberg energy (the binding energy of Hydrogen). +% % \DescribeMacro{\kLuminositySun} % \index{Energy, Power, and Luminosity>Solar Luminosity|usage} % |\kLuminositySun| is the luminosity of the Sun. % +% \DescribeMacro{\kLuminositySunNumeric} +% \index{Energy, Power, and Luminosity>Solar Luminosity|usage} +% |\kLuminositySunNumeric| is the numeric value of +% the luminosity of the Sun. +% % %\subsubsection{Pressure} % @@ -248,13 +412,27 @@ %\index{Pressure|usage} % % \DescribeMacro{\kPressureAtmosphere} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % \index{Pressure>Standard Atmosphere|usage} % |\kPressureAtmosphere| is the standard atmospheric pressure. % +% \DescribeMacro{\kPressureAtmosphereNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% \index{Pressure>Standard Atmosphere|usage} +% |\kPressureAtmosphereNumeric| is the numeric value of +% the standard atmospheric pressure. +% % \DescribeMacro{\kPressureStandard} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % \index{Pressure>Standard Pressure|usage} % |\kPressureStandard| is the standard atmospheric pressure. % +% \DescribeMacro{\kPressureStandardNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% \index{Pressure>Standard Pressure|usage} +% |\kPressureStandardNumeric| is the numeric value of +% the standard atmospheric pressure. +% % %\subsubsection{Velocity, Speed and Acceleration} % @@ -265,11 +443,25 @@ % \index{Velocity, Speed and Acceleration>Speed of Light|usage} % |\kSpeedLight| is the speed of light. % +% \DescribeMacro{\kSpeedLightNumeric} +% \index{Velocity, Speed and Acceleration>Speed of Light|usage} +% |\kSpeedLightNumeric| is the numeric value of +% the speed of light. +% % \DescribeMacro{\kAccelGravity} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} % \index{Velocity, Speed and Acceleration>Acceleration due to Gravity|usage} % |\kAccelGravity| is the accelertion due to gravity at the surface of the % Earth. % +% \DescribeMacro{\kAccelGravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} +% \index{Velocity, Speed and Acceleration>Acceleration due to Gravity|usage} +% |\kAccelGravityNumeric| is the numeric value of +% the accelertion due to gravity at the surface of the Earth. +% % %\subsubsection{Other Constants} % @@ -277,21 +469,45 @@ %\index{Other Constants|usage} % % \DescribeMacro{\kCoulomb} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % \index{Other Constants>Coulomb Constant|usage} % |\kCoulomb| is the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$). % +% \DescribeMacro{\kCoulombNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \index{Other Constants>Coulomb Constant|usage} +% |\kCoulombNumeric| is the numeric value of +% the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$). +% % \DescribeMacro{\kVacuumPermittivity} % \index{Other Constants>Vacuum Permittivity|usage} % |\kVacuumPermittivity| is the electric permittivity of the vacuum. % +% \DescribeMacro{\kVacuumPermittivityNumeric} +% \index{Other Constants>Vacuum Permittivity|usage} +% |\kVacuumPermittivityNumeric| is the numeric value of +% the electric permittivity of the vacuum. +% % \DescribeMacro{\kVacuumPermeability} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % \index{Other Constants>Vacuum Permeability|usage} % |\kVacuumPermeability| is the magnetic permeability of the vacuum. % +% \DescribeMacro{\kVacuumPermeabilityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% \index{Other Constants>Vacuum Permeability|usage} +% |\kVacuumPermeabilityNumeric| is the numeric value of +% the magnetic permeability of the vacuum. +% % \DescribeMacro{\kVacuumImpedance} % \index{Other Constants>Vacuum Impedance|usage} % |\kVacuumImpedance| is the characteristic impedance of the vacuum. % +% \DescribeMacro{\kVacuumImpedanceNumeric} +% \index{Other Constants>Vacuum Impedance|usage} +% |\kVacuumImpedanceNumeric| is the numeric value of +% the characteristic impedance of the vacuum. +% % \DescribeMacro{\kBoltzmann} % \index{Other Constants>Boltzmann|usage} % |\kBoltzmann| is the Boltzmann constant. @@ -300,50 +516,124 @@ % \index{Other Constants>Boltzmann>in eV|usage} % |\keVBoltzmann| is the Boltzmann constant. % +% \DescribeMacro{\kBoltzmannNumeric} +% \index{Other Constants>Boltzmann|usage} +% |\kBoltzmannNumeric| is the numeric value of +% the Boltzmann constant. +% +% \DescribeMacro{\keVBoltzmannNumeric} +% \index{Other Constants>Boltzmann>in eV|usage} +% |\keVBoltzmannNumeric| is the numeric value of +% the Boltzmann constant. +% % \DescribeMacro{\kPlanck} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % \index{Other Constants>Planck|usage} % |\kPlanck| is the Planck constant. % % \DescribeMacro{\keVPlanck} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % \index{Other Constants>Planck>in eV|usage} % |\keVPlanck| is the Planck constant. % +% \DescribeMacro{\kPlanckNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \index{Other Constants>Planck|usage} +% |\kPlanckNumeric| is the numeric value of +% the Planck constant. +% +% \DescribeMacro{\keVPlanckNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \index{Other Constants>Planck>in eV|usage} +% |\keVPlanckNumeric| is the numeric value of +% the Planck constant. +% % \DescribeMacro{\kPlanckReduced} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % \index{Other Constants>Reduced Planck|usage} % |\kPlanckReduced| is the Reduced Planck constant % $\left(\frac{h}{2\pi}\right)$. % % \DescribeMacro{\keVPlanckReduced} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % \index{Other Constants>Reduced Planck>in eV|usage} % |\keVPlanckReduced| is the Reduced Planck constant % $\left(\frac{h}{2\pi}\right)$. % +% \DescribeMacro{\kPlanckReducedNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \index{Other Constants>Reduced Planck|usage} +% |\kPlanckReducedNumeric| is the numeric value of +% the Reduced Planck constant $\left(\frac{h}{2\pi}\right)$. +% +% \DescribeMacro{\keVPlanckReducedNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \index{Other Constants>Reduced Planck>in eV|usage} +% |\keVPlanckReducedNumeric| is the numeric value of +% the Reduced Planck constant $\left(\frac{h}{2\pi}\right)$. +% % \DescribeMacro{\kGravity} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % \index{Other Constants>Newton's Gravitational Constant|usage} % |\kGravity| is Newton's gravitational constant. % +% \DescribeMacro{\kGravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% \index{Other Constants>Newton's Gravitational Constant|usage} +% |\kGravityNumeric| is the numeric value of +% Newton's gravitational constant. +% % \DescribeMacro{\kStefanBoltzmann} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % \index{Other Constants>Stefan-Boltzmann|usage} % |\kStefanBoltzmann| is the Stefan-Boltzmann blackbody constant % $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$. % +% \DescribeMacro{\kStefanBoltzmannNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \index{Other Constants>Stefan-Boltzmann|usage} +% |\kStefanBoltzmannNumeric| is the numeric value of +% the Stefan-Boltzmann blackbody constant +% $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$. +% % \DescribeMacro{\kRadiation} % \index{Other Constants>Radiation|usage} % |\kRadiation| is the radiation constant, $a % \left(\frac{8\pi^5k_\mathrm{B}^4}{15c^3h^3}\right)$. % +% \DescribeMacro{\kRadiationNumeric} +% \index{Other Constants>Radiation|usage} +% |\kRadiationNumeric| is the numeric value of +% the radiation constant, $a +% \left(\frac{8\pi^5k_\mathrm{B}^4}{15c^3h^3}\right)$. +% % \DescribeMacro{\kFineStructure} % \index{Other Constants>Fine Structure|usage} % |\kFineStructure| is the fine structure constant. % +% \DescribeMacro{\kFineStructureNumeric} +% \index{Other Constants>Fine Structure|usage} +% |\kFineStructureNumeric| is the numeric value of +% the fine structure constant. +% % \DescribeMacro{\kFineStructureReciprocal} % \index{Other Constants>Fine Structure>Reciprocal|usage} % |\kFineStructureReciprocal| is the reciprocal of the fine structure constant. % +% \DescribeMacro{\kFineStructureReciprocalNumeric} +% \index{Other Constants>Fine Structure>Reciprocal|usage} +% |\kFineStructureReciprocalNumeric| is the numeric value of +% the reciprocal of the fine structure constant. +% % \DescribeMacro{\kAvogadro} % \index{Other Constants>Avogadro's Number|usage} % |\kAvogadro| is Avogadro's Number (the number of particles in a mole). % +% \DescribeMacro{\kAvogadroNumeric} +% \index{Other Constants>Avogadro's Number|usage} +% |\kAvogadroNumeric| is the numeric value of +% Avogadro's Number (the number of particles in a mole). +% % %\subsection{Detailed Macros} % @@ -353,7 +643,7 @@ % by physconst to define the macros that are normally used (those described % above. % -% \subsection{NamingConvention} +% \subsubsection{NamingConvention} % The detailed macros are named like \k@units@precision@name. The units % specify which units the constant is in (SI, cgs, or eV). For constants that % are independent of the unit system (e.g. Avogadro's number and the fine @@ -366,6 +656,8 @@ %\subsubsection{Mass} % % \DescribeMacro{\k@SI@short@MassElectron} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@SI@short@MassElectron| is the mass of an electron in SI units with % reduced precision. % (CODATA~2018) @@ -382,6 +674,8 @@ % \makeatother % % \DescribeMacro{\k@SI@full@MassElectron} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@SI@full@MassElectron| is the mass of an electron in SI units with full % precision. % (CODATA~2018) @@ -398,6 +692,8 @@ % \makeatother % % \DescribeMacro{\k@cgs@short@MassElectron} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@cgs@short@MassElectron| is the mass of an electron in cgs units with % reduced precision. % (CODATA~2018) @@ -414,6 +710,8 @@ % \makeatother % % \DescribeMacro{\k@cgs@full@MassElectron} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@cgs@full@MassElectron| is the mass of an electron in cgs units with full % precision. % (CODATA~2018) @@ -430,6 +728,8 @@ % \makeatother % % \DescribeMacro{\k@eV@short@MassElectron} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@eV@short@MassElectron| is the mass of an electron in eV with reduced % precision. % (CODATA~2018) @@ -446,6 +746,8 @@ % \makeatother % % \DescribeMacro{\k@eV@full@MassElectron} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@eV@full@MassElectron| is the mass of an electron in eV with full % precision. % (CODATA~2018) @@ -461,7 +763,121 @@ % {The value is \k@eV@full@MassElectron}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@MassElectronNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@SI@short@MassElectronNumeric| is a mathematical value of +% the mass of an electron in SI units with reduced +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@MassElectronNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@MassElectronNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@MassElectronNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@SI@full@MassElectronNumeric| is a mathematical value of +% the mass of an electron in SI units with full +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@MassElectronNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@MassElectronNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@MassElectronNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@cgs@short@MassElectronNumeric| is a mathematical value of +% the mass of an electron in cgs units with reduced +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@MassElectronNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@MassElectronNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@MassElectronNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@cgs@full@MassElectronNumeric| is a mathematical value of +% the mass of an electron in cgs units with full +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@MassElectronNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@MassElectronNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@eV@short@MassElectronNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@eV@short@MassElectronNumeric| is a mathematical value of +% the mass of an electron in eV with reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@eV@short@MassElectronNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@eV@short@MassElectronNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@eV@full@MassElectronNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@eV@full@MassElectronNumeric| is a mathematical value of +% the mass of an electron in eV with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@eV@full@MassElectronNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@eV@full@MassElectronNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@MassProton} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@SI@short@MassProton| is the mass of a proton in SI units with reduced % precision. % (CODATA~2018) @@ -478,6 +894,8 @@ % \makeatother % % \DescribeMacro{\k@SI@full@MassProton} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@SI@full@MassProton| is the mass of a proton in SI units with full % precision. % (CODATA~2018) @@ -494,6 +912,8 @@ % \makeatother % % \DescribeMacro{\k@cgs@short@MassProton} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@cgs@short@MassProton| is the mass of a proton in cgs units with reduced % precision. % (CODATA~2018) @@ -510,6 +930,8 @@ % \makeatother % % \DescribeMacro{\k@cgs@full@MassProton} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@cgs@full@MassProton| is the mass of a proton in cgs units with full % precision. % (CODATA~2018) @@ -526,6 +948,8 @@ % \makeatother % % \DescribeMacro{\k@eV@short@MassProton} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@eV@short@MassProton| is the mass of a proton in eV with reduced precision. % (CODATA~2018) % @@ -541,6 +965,8 @@ % \makeatother % % \DescribeMacro{\k@eV@full@MassProton} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@eV@full@MassProton| is the mass of a proton in eV with full precision. % (CODATA~2018) % @@ -555,7 +981,119 @@ % {The value is \k@eV@full@MassProton}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@MassProtonNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@SI@short@MassProtonNumeric| is a mathematical value of +% the mass of a proton in SI units with reduced +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@MassProtonNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@MassProtonNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@MassProtonNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@SI@full@MassProtonNumeric| is a mathematical value of +% the mass of a proton in SI units with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@MassProtonNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@MassProtonNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@MassProtonNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@cgs@short@MassProtonNumeric| is a mathematical value of +% the mass of a proton in cgs units with reduced +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@MassProtonNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@MassProtonNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@MassProtonNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@cgs@full@MassProtonNumeric| is a mathematical value of +% the mass of a proton in cgs units with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@MassProtonNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@MassProtonNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@eV@short@MassProtonNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@eV@short@MassProtonNumeric| is a mathematical value of +% the mass of a proton in eV with reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@eV@short@MassProtonNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@eV@short@MassProtonNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@eV@full@MassProtonNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@eV@full@MassProtonNumeric| is a mathematical value of +% the mass of a proton in eV with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@eV@full@MassProtonNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@eV@full@MassProtonNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@MassHydrogen} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@SI@short@MassHydrogen| is the mass of a neutral hydrogen atom in SI units % with reduced precision. % (CODATA~2018) @@ -572,6 +1110,8 @@ % \makeatother % % \DescribeMacro{\k@SI@full@MassHydrogen} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@SI@full@MassHydrogen| is the mass of a neutral hydrogen atom in SI units % with full precision. % (CODATA~2018) @@ -588,6 +1128,8 @@ % \makeatother % % \DescribeMacro{\k@cgs@short@MassHydrogen} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@cgs@short@MassHydrogen| is the mass of a neutral hydrogen atom in cgs % units with reduced precision. % (CODATA~2018) @@ -604,6 +1146,8 @@ % \makeatother % % \DescribeMacro{\k@cgs@full@MassHydrogen} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@cgs@full@MassHydrogen| is the mass of a neutral hydrogen atom in cgs % units with full precision. % (CODATA~2018) @@ -620,6 +1164,8 @@ % \makeatother % % \DescribeMacro{\k@eV@short@MassHydrogen} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@eV@short@MassHydrogen| is the mass of a neutral hydrogen atom in eV with % reduced precision. % (CODATA~2018) @@ -636,6 +1182,8 @@ % \makeatother % % \DescribeMacro{\k@eV@full@MassHydrogen} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@eV@full@MassHydrogen| is the mass of a neutral hydrogen atom in eV with % full precision. % (CODATA~2018) @@ -651,6 +1199,120 @@ % {The value is \k@eV@full@MassHydrogen}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@MassHydrogenNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@SI@short@MassHydrogenNumeric| is a mathematical value of +% the mass of a neutral hydrogen atom in SI units with +% reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@MassHydrogenNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@MassHydrogenNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@MassHydrogenNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@SI@full@MassHydrogenNumeric| is a mathematical value of +% the mass of a neutral hydrogen atom in SI units with +% full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@MassHydrogenNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@MassHydrogenNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@MassHydrogenNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@cgs@short@MassHydrogenNumeric| is a mathematical value of +% the mass of a neutral hydrogen atom in cgs units +% with reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@MassHydrogenNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@MassHydrogenNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@MassHydrogenNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@cgs@full@MassHydrogenNumeric| is a mathematical value of +% the mass of a neutral hydrogen atom in cgs units +% with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@MassHydrogenNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@MassHydrogenNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@eV@short@MassHydrogenNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@eV@short@MassHydrogenNumeric| is a mathematical value of +% the mass of a neutral hydrogen atom in eV with +% reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@eV@short@MassHydrogenNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@eV@short@MassHydrogenNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@eV@full@MassHydrogenNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@eV@full@MassHydrogenNumeric| is a mathematical value of +% the mass of a neutral hydrogen atom in eV with full +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@eV@full@MassHydrogenNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@eV@full@MassHydrogenNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@MassSun} % |\k@SI@short@MassSun| is the mass of the Sun in SI units with reduced % precision. @@ -713,7 +1375,205 @@ % {The value is \k@cgs@full@MassSun}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@MassSunNumeric} +% |\k@SI@short@MassSunNumeric| is a mathematical value of +% the mass of the Sun in SI units with reduced precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@MassSunNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@MassSunNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@MassSunNumeric} +% |\k@SI@full@MassSunNumeric| is a mathematical value of +% the mass of the Sun in SI units with full precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@MassSunNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@MassSunNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@MassSunNumeric} +% |\k@cgs@short@MassSunNumeric| is a mathematical value of +% the mass of the Sun in cgs units with reduced precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@MassSunNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@MassSunNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@MassSunNumeric} +% |\k@cgs@full@MassSunNumeric| is a mathematical value of +% the mass of the Sun in cgs units with full precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@MassSunNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@MassSunNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@short@MassEarth} +% \changes{v1.1.0}{2020/02/03}{Add mass of Earth} +% |\k@short@MassEarth| is the mass of the Earth with reduced precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@short@MassEarth\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@short@MassEarth}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@full@MassEarth} +% \changes{v1.1.0}{2020/02/03}{Add mass of Earth} +% |\k@full@MassEarth| is the mass of the Earth with full precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@full@MassEarth\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@full@MassEarth}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@short@MassEarthNumeric} +% \changes{v1.1.0}{2020/02/03}{Add mass of Earth} +% |\k@short@MassEarthNumeric| is a mathematical value of +% the mass of the Earth with reduced precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@short@MassEarthNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@short@MassEarthNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@full@MassEarthNumeric} +% \changes{v1.1.0}{2020/02/03}{Add mass of Earth} +% |\k@full@MassEarthNumeric| is a mathematical value of +% the mass of the Earth with full precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@full@MassEarthNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@full@MassEarthNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@short@MassJupiter} +% \changes{v1.1.0}{2020/02/03}{Add mass of Jupiter} +% |\k@short@MassJupiter| is the mass of Jupiter with reduced precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@short@MassJupiter\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@short@MassJupiter}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@full@MassJupiter} +% \changes{v1.1.0}{2020/02/03}{Add mass of Jupiter} +% |\k@full@MassJupiter| is the mass of Jupiter with full precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@full@MassJupiter\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@full@MassJupiter}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@short@MassJupiterNumeric} +% \changes{v1.1.0}{2020/02/03}{Add mass of Jupiter} +% |\k@short@MassJupiterNumeric| is a mathematical value of +% the mass of Jupiter with reduced precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@short@MassJupiterNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@short@MassJupiterNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@full@MassJupiterNumeric} +% \changes{v1.1.0}{2020/02/03}{Add mass of Jupiter} +% |\k@full@MassJupiterNumeric| is a mathematical value of +% the mass of Jupiter with full precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@full@MassJupiterNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@full@MassJupiterNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@MassAMU} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@SI@short@MassAMU| is the mass of an atomic mass unit in SI units with % reduced precision. % (CODATA~2018) @@ -730,6 +1590,8 @@ % \makeatother % % \DescribeMacro{\k@SI@full@MassAMU} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@SI@full@MassAMU| is the mass of an atomic mass unit in SI units with full % precision. % (CODATA~2018) @@ -746,6 +1608,8 @@ % \makeatother % % \DescribeMacro{\k@cgs@short@MassAMU} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@cgs@short@MassAMU| is the mass of an atomic mass unit in cgs units with % reduced precision. % (CODATA~2018) @@ -762,6 +1626,8 @@ % \makeatother % % \DescribeMacro{\k@cgs@full@MassAMU} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@cgs@full@MassAMU| is the mass of an atomic mass unit in cgs units with % full precision. % (CODATA~2018) @@ -778,6 +1644,8 @@ % \makeatother % % \DescribeMacro{\k@eV@short@MassAMU} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@eV@short@MassAMU| is the mass of an atomic mass unit in eV with reduced % precision. % (CODATA~2018) @@ -794,6 +1662,8 @@ % \makeatother % % \DescribeMacro{\k@eV@full@MassAMU} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@eV@full@MassAMU| is the mass of an atomic mass unit in eV with full % precision. % (CODATA~2018) @@ -809,6 +1679,119 @@ % {The value is \k@eV@full@MassAMU}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@MassAMUNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@SI@short@MassAMUNumeric| is a mathematical value of +% the mass of an atomic mass unit in SI units with reduced +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@MassAMUNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@MassAMUNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@MassAMUNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@SI@full@MassAMUNumeric| is a mathematical value of +% the mass of an atomic mass unit in SI units with full +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@MassAMUNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@MassAMUNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@MassAMUNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@cgs@short@MassAMUNumeric| is a mathematical value of +% the mass of an atomic mass unit in cgs units with +% reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@MassAMUNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@MassAMUNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@MassAMUNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@cgs@full@MassAMUNumeric| is a mathematical value of +% the mass of an atomic mass unit in cgs units with full +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@MassAMUNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@MassAMUNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@eV@short@MassAMUNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@eV@short@MassAMUNumeric| is a mathematical value of +% the mass of an atomic mass unit in eV with reduced +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@eV@short@MassAMUNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@eV@short@MassAMUNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@eV@full@MassAMUNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@eV@full@MassAMUNumeric| is a mathematical value of +% the mass of an atomic mass unit in eV with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@eV@full@MassAMUNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@eV@full@MassAMUNumeric}\end{mdframed} +% \makeatother +% % %\subsubsection{Charge} % @@ -876,6 +1859,74 @@ % {The value is \k@cgs@full@ChargeFundamental}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@ChargeFundamentalNumeric} +% |\k@SI@short@ChargeFundamentalNumeric| is a mathematical value of +% the fundamental charge in SI units with reduced +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@ChargeFundamentalNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@ChargeFundamentalNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@ChargeFundamentalNumeric} +% |\k@SI@full@ChargeFundamentalNumeric| is a mathematical value of +% the fundamental charge in SI units with full +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@ChargeFundamentalNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@ChargeFundamentalNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@ChargeFundamentalNumeric} +% |\k@cgs@short@ChargeFundamentalNumeric| is a mathematical value of +% the fundamental charge in cgs units with +% reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@ChargeFundamentalNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@ChargeFundamentalNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@ChargeFundamentalNumeric} +% |\k@cgs@full@ChargeFundamentalNumeric| is a mathematical value of +% the fundamental charge in cgs units with full +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@ChargeFundamentalNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@ChargeFundamentalNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@ChargeElectron} % |\k@SI@short@ChargeElectron| is the charge of an electron in SI units with % reduced precision. @@ -940,6 +1991,74 @@ % {The value is \k@cgs@full@ChargeElectron}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@ChargeElectronNumeric} +% |\k@SI@short@ChargeElectronNumeric| is a mathematical value of +% the charge of an electron in SI units with reduced +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@ChargeElectronNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@ChargeElectronNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@ChargeElectronNumeric} +% |\k@SI@full@ChargeElectronNumeric| is a mathematical value of +% the charge of an electron in SI units with full +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@ChargeElectronNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@ChargeElectronNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@ChargeElectronNumeric} +% |\k@cgs@short@ChargeElectronNumeric| is a mathematical value of +% the charge of an electron in cgs units with +% reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@ChargeElectronNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@ChargeElectronNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@ChargeElectronNumeric} +% |\k@cgs@full@ChargeElectronNumeric| is a mathematical value of +% the charge of an electron in cgs units with full +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@ChargeElectronNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@ChargeElectronNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@ChargeProton} % |\k@SI@short@ChargeProton| is the charge of a proton in SI units with reduced % precision. @@ -1004,6 +2123,74 @@ % {The value is \k@cgs@full@ChargeProton}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@ChargeProtonNumeric} +% |\k@SI@short@ChargeProtonNumeric| is a mathematical value of +% the charge of a proton in SI units with reduced +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@ChargeProtonNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@ChargeProtonNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@ChargeProtonNumeric} +% |\k@SI@full@ChargeProtonNumeric| is a mathematical value of +% the charge of a proton in SI units with full +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@ChargeProtonNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@ChargeProtonNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@ChargeProtonNumeric} +% |\k@cgs@short@ChargeProtonNumeric| is a mathematical value of +% the charge of a proton in cgs units with reduced +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@ChargeProtonNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@ChargeProtonNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@ChargeProtonNumeric} +% |\k@cgs@full@ChargeProtonNumeric| is a mathematical value of +% the charge of a proton in cgs units with full +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@ChargeProtonNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@ChargeProtonNumeric}\end{mdframed} +% \makeatother +% % %\subsubsection{Distances and Lengths} % @@ -1071,6 +2258,73 @@ % {The value is \k@cgs@full@RadiusBohr}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@RadiusBohrNumeric} +% |\k@SI@short@RadiusBohrNumeric| is a mathematical value of +% Bohr radius of an atom in SI units with reduced +% precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@RadiusBohrNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@RadiusBohrNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@RadiusBohrNumeric} +% |\k@SI@full@RadiusBohrNumeric| is a mathematical value of +% Bohr radius of an atom in SI units with full precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@RadiusBohrNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@RadiusBohrNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@RadiusBohrNumeric} +% |\k@cgs@short@RadiusBohrNumeric| is a mathematical value of +% Bohr radius of an atom in cgs units with reduced +% precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@RadiusBohrNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@RadiusBohrNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@RadiusBohrNumeric} +% |\k@cgs@full@RadiusBohrNumeric| is a mathematical value of +% Bohr radius of an atom in cgs units with full +% precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@RadiusBohrNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@RadiusBohrNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@AstronomicalUnit} % |\k@SI@short@AstronomicalUnit| is the astronomical unit (the average distance % between the Earth and the Sun) in SI units with reduced precision. @@ -1135,6 +2389,74 @@ % {The value is \k@cgs@full@AstronomicalUnit}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@AstronomicalUnitNumeric} +% |\k@SI@short@AstronomicalUnitNumeric| is a mathematical value of +% the astronomical unit (the average distance +% between the Earth and the Sun) in SI units with reduced precision. +% (IAU~Resolution~B2~2012) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@AstronomicalUnitNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@AstronomicalUnitNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@AstronomicalUnitNumeric} +% |\k@SI@full@AstronomicalUnitNumeric| is a mathematical value of +% the astronomical unit (the average distance +% between the Earth and the Sun) in SI units with full precision. +% (IAU~Resolution~B2~2012) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@AstronomicalUnitNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@AstronomicalUnitNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@AstronomicalUnitNumeric} +% |\k@cgs@short@AstronomicalUnitNumeric| is a mathematical value of +% the astronomical unit (the average distance +% between the Earth and the Sun) in cgs units with reduced precision. +% (IAU~Resolution~B2~2012) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@AstronomicalUnitNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@AstronomicalUnitNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@AstronomicalUnitNumeric} +% |\k@cgs@full@AstronomicalUnitNumeric| is a mathematical value of +% the astronomical unit (the average distance +% between the Earth and the Sun) in cgs units with full precision. +% (IAU~Resolution~B2~2012) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@AstronomicalUnitNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@AstronomicalUnitNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@Parsec} % |\k@SI@short@Parsec| is the length of a parsec ($\frac{648000\au}{\pi}$) in % SI units with reduced precision. @@ -1199,6 +2521,74 @@ % {The value is \k@cgs@full@Parsec}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@ParsecNumeric} +% |\k@SI@short@ParsecNumeric| is a mathematical value of +% the length of a parsec ($\frac{648000\au}{\pi}$) in SI +% units with reduced precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@ParsecNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@ParsecNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@ParsecNumeric} +% |\k@SI@full@ParsecNumeric| is a mathematical value of +% the length of a parsec ($\frac{648000\au}{\pi}$) in SI +% units with full precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@ParsecNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@ParsecNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@ParsecNumeric} +% |\k@cgs@short@ParsecNumeric| is a mathematical value of +% the length of a parsec ($\frac{648000\au}{\pi}$) in cgs +% units with reduced precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@ParsecNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@ParsecNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@ParsecNumeric} +% |\k@cgs@full@ParsecNumeric| is a mathematical value of +% the length of a parsec ($\frac{648000\au}{\pi}$) in cgs +% units with full precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@ParsecNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@ParsecNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@RadiusSun} % |\k@SI@short@RadiusSun| is the mean radius of the Sun in SI units with % reduced precision. @@ -1263,6 +2653,206 @@ % {The value is \k@cgs@full@RadiusSun}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@RadiusSunNumeric} +% |\k@SI@short@RadiusSunNumeric| is a mathematical value of +% the mean radius of the Sun in SI units with reduced +% precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@RadiusSunNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@RadiusSunNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@RadiusSunNumeric} +% |\k@SI@full@RadiusSunNumeric| is a mathematical value of +% the mean radius of the Sun in SI units with full +% precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@RadiusSunNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@RadiusSunNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@RadiusSunNumeric} +% |\k@cgs@short@RadiusSunNumeric| is a mathematical value of +% the mean radius of the Sun in cgs units with reduced +% precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@RadiusSunNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@RadiusSunNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@RadiusSunNumeric} +% |\k@cgs@full@RadiusSunNumeric| is a mathematical value of +% the mean radius of the Sun in cgs units with full +% precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@RadiusSunNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@RadiusSunNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@short@RadiusEarth} +% \changes{v1.1.0}{2020/02/03}{Add radius of Earth} +% |\k@short@RadiusEarth| is the mean radius of the Earth with reduced precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@short@RadiusEarth\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@short@RadiusEarth}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@full@RadiusEarth} +% \changes{v1.1.0}{2020/02/03}{Add radius of Earth} +% |\k@full@RadiusEarth| is the mean radius of the Earth with full precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@full@RadiusEarth\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@full@RadiusEarth}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@short@RadiusEarthNumeric} +% \changes{v1.1.0}{2020/02/03}{Add radius of Earth} +% |\k@short@RadiusEarthNumeric| is a mathematical value of +% the mean radius of the Earth with reduced precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@short@RadiusEarthNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@short@RadiusEarthNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@full@RadiusEarthNumeric} +% \changes{v1.1.0}{2020/02/03}{Add radius of Earth} +% |\k@full@RadiusEarthNumeric| is a mathematical value of +% the mean radius of the Earth with full precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@full@RadiusEarthNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@full@RadiusEarthNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@short@RadiusJupiter} +% \changes{v1.1.0}{2020/02/03}{Add radius of Jupiter} +% |\k@short@RadiusJupiter| is the mean radius of Jupiter with reduced precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@short@RadiusJupiter\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@short@RadiusJupiter}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@full@RadiusJupiter} +% \changes{v1.1.0}{2020/02/03}{Add radius of Jupiter} +% |\k@full@RadiusJupiter| is the mean radius of Jupiter with full precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@full@RadiusJupiter\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@full@RadiusJupiter}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@short@RadiusJupiterNumeric} +% \changes{v1.1.0}{2020/02/03}{Add radius of Jupiter} +% |\k@short@RadiusJupiterNumeric| is a mathematical value of +% the mean radius of Jupiter with reduced precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@short@RadiusJupiterNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@short@RadiusJupiterNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@full@RadiusJupiterNumeric} +% \changes{v1.1.0}{2020/02/03}{Add radius of Jupiter} +% |\k@full@RadiusJupiterNumeric| is a mathematical value of +% the mean radius of Jupiter with full precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@full@RadiusJupiterNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@full@RadiusJupiterNumeric}\end{mdframed} +% \makeatother +% % %\subsubsection{Energy, Power, and Luminosity} % @@ -1362,6 +2952,108 @@ % {The value is \k@eV@full@Rydberg}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@RydbergNumeric} +% |\k@SI@short@RydbergNumeric| is a mathematical value of +% the Rydberg energy (the binding energy of Hydrogen) in SI +% units with reduced precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@RydbergNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@RydbergNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@RydbergNumeric} +% |\k@SI@full@RydbergNumeric| is a mathematical value of +% the Rydberg energy (the binding energy of Hydrogen) in SI +% units with full precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@RydbergNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@RydbergNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@RydbergNumeric} +% |\k@cgs@short@RydbergNumeric| is a mathematical value of +% the Rydberg energy (the binding energy of Hydrogen) in +% cgs units with reduced precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@RydbergNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@RydbergNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@RydbergNumeric} +% |\k@cgs@full@RydbergNumeric| is a mathematical value of +% the Rydberg energy (the binding energy of Hydrogen) in +% cgs units with full precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@RydbergNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@RydbergNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@eV@short@RydbergNumeric} +% |\k@eV@short@RydbergNumeric| is a mathematical value of +% the Rydberg energy (the binding energy of Hydrogen) in eV +% with reduced precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@eV@short@RydbergNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@eV@short@RydbergNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@eV@full@RydbergNumeric} +% |\k@eV@full@RydbergNumeric| is a mathematical value of +% the Rydberg energy (the binding energy of Hydrogen) in eV +% with full precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@eV@full@RydbergNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@eV@full@RydbergNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@LuminositySun} % |\k@SI@short@LuminositySun| is the luminosity of the Sun in SI units with % reduced precision. @@ -1426,10 +3118,79 @@ % {The value is \k@cgs@full@LuminositySun}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@LuminositySunNumeric} +% |\k@SI@short@LuminositySunNumeric| is a mathematical value of +% the luminosity of the Sun in SI units with reduced +% precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@LuminositySunNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@LuminositySunNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@LuminositySunNumeric} +% |\k@SI@full@LuminositySunNumeric| is a mathematical value of +% the luminosity of the Sun in SI units with full +% precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@LuminositySunNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@LuminositySunNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@LuminositySunNumeric} +% |\k@cgs@short@LuminositySunNumeric| is a mathematical value of +% the luminosity of the Sun in cgs units with +% reduced precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@LuminositySunNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@LuminositySunNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@LuminositySunNumeric} +% |\k@cgs@full@LuminositySunNumeric| is a mathematical value of +% the luminosity of the Sun in cgs units with full +% precision. +% (IAU~Resolution~B3~2015) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@LuminositySunNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@LuminositySunNumeric}\end{mdframed} +% \makeatother +% % %\subsubsection{Pressure} % % \DescribeMacro{\k@SI@short@PressureAtmosphere} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\k@SI@short@PressureAtmosphere| is the standard atmospheric pressure in SI % units with reduced precision. % (CODATA~2018) @@ -1446,6 +3207,7 @@ % \makeatother % % \DescribeMacro{\k@SI@full@PressureAtmosphere} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\k@SI@full@PressureAtmosphere| is the standard atmospheric pressure in SI % units with full precision. % (CODATA~2018) @@ -1462,6 +3224,7 @@ % \makeatother % % \DescribeMacro{\k@cgs@short@PressureAtmosphere} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\k@cgs@short@PressureAtmosphere| is the standard atmospheric pressure in cgs % units with reduced precision. % (CODATA~2018) @@ -1478,6 +3241,7 @@ % \makeatother % % \DescribeMacro{\k@cgs@full@PressureAtmosphere} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\k@cgs@full@PressureAtmosphere| is the standard atmospheric pressure in cgs % units with full precision. % (CODATA~2018) @@ -1493,7 +3257,80 @@ % {The value is \k@cgs@full@PressureAtmosphere}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@PressureAtmosphereNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\k@SI@short@PressureAtmosphereNumeric| is a mathematical value of +% the standard atmospheric pressure in SI units +% with reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@PressureAtmosphereNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@PressureAtmosphereNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@PressureAtmosphereNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\k@SI@full@PressureAtmosphereNumeric| is a mathematical value of +% the standard atmospheric pressure in SI units +% with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@PressureAtmosphereNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@PressureAtmosphereNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@PressureAtmosphereNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\k@cgs@short@PressureAtmosphereNumeric| is a mathematical value of +% the standard atmospheric pressure in cgs +% units with reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@PressureAtmosphereNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@PressureAtmosphereNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@PressureAtmosphereNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\k@cgs@full@PressureAtmosphereNumeric| is a mathematical value of +% the standard atmospheric pressure in cgs units +% with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@PressureAtmosphereNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@PressureAtmosphereNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@PressureStandard} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\k@SI@short@PressureStandard| is the standard atmospheric pressure in SI % units with reduced precision. % (CODATA~2018) @@ -1510,6 +3347,7 @@ % \makeatother % % \DescribeMacro{\k@SI@full@PressureStandard} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\k@SI@full@PressureStandard| is the standard atmospheric pressure in SI % units with full precision. % (CODATA~2018) @@ -1526,6 +3364,7 @@ % \makeatother % % \DescribeMacro{\k@cgs@short@PressureStandard} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\k@cgs@short@PressureStandard| is the standard atmospheric pressure in cgs % units with reduced precision. % (CODATA~2018) @@ -1542,6 +3381,7 @@ % \makeatother % % \DescribeMacro{\k@cgs@full@PressureStandard} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\k@cgs@full@PressureStandard| is the standard atmospheric pressure in cgs % units with full precision. % (CODATA~2018) @@ -1557,6 +3397,78 @@ % {The value is \k@cgs@full@PressureStandard}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@PressureStandardNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\k@SI@short@PressureStandardNumeric| is a mathematical value of +% the standard atmospheric pressure in SI units +% with reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@PressureStandardNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@PressureStandardNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@PressureStandardNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\k@SI@full@PressureStandardNumeric| is a mathematical value of +% the standard atmospheric pressure in SI units +% with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@PressureStandardNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@PressureStandardNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@PressureStandardNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\k@cgs@short@PressureStandardNumeric| is a mathematical value of +% the standard atmospheric pressure in cgs units +% with reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@PressureStandardNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@PressureStandardNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@PressureStandardNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\k@cgs@full@PressureStandardNumeric| is a mathematical value of +% the standard atmospheric pressure in cgs units +% with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@PressureStandardNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@PressureStandardNumeric}\end{mdframed} +% \makeatother +% % %\subsubsection{Velocity, Speed and Acceleration} % @@ -1623,7 +3535,74 @@ % {The value is \k@cgs@full@SpeedLight}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@SpeedLightNumeric} +% |\k@SI@short@SpeedLightNumeric| is a mathematical value of +% the speed of light in SI units with reduced precision. +% (CODATA 2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@SpeedLightNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@SpeedLightNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@SpeedLightNumeric} +% |\k@SI@full@SpeedLightNumeric| is a mathematical value of +% the speed of light in SI units with full precision. +% (CODATA 2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@SpeedLightNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@SpeedLightNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@SpeedLightNumeric} +% |\k@cgs@short@SpeedLightNumeric| is a mathematical value of +% the speed of light in cgs units with reduced +% precision. +% (CODATA 2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@SpeedLightNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@SpeedLightNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@SpeedLightNumeric} +% |\k@cgs@full@SpeedLightNumeric| is a mathematical value of +% the speed of light in cgs units with full precision. +% (CODATA 2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@SpeedLightNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@SpeedLightNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@AccelGravity} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} % |\k@SI@short@AccelGravity| is the accelertion due to gravity at the surface % of the Earth in SI units with reduced precision. % (CODATA 2018) @@ -1640,6 +3619,8 @@ % \makeatother % % \DescribeMacro{\k@SI@full@AccelGravity} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} % |\k@SI@full@AccelGravity| is the accelertion due to gravity at the surface of % the Earth in SI units with full precision. % (CODATA 2018) @@ -1656,6 +3637,8 @@ % \makeatother % % \DescribeMacro{\k@cgs@short@AccelGravity} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} % |\k@cgs@short@AccelGravity| is the accelertion due to gravity at the surface % of the Earth in cgs units with reduced precision. % (CODATA 2018) @@ -1672,6 +3655,8 @@ % \makeatother % % \DescribeMacro{\k@cgs@full@AccelGravity} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} % |\k@cgs@full@AccelGravity| is the accelertion due to gravity at the surface % of the Earth in cgs units with full precision. % (CODATA 2018) @@ -1687,10 +3672,87 @@ % {The value is \k@cgs@full@AccelGravity}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@AccelGravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} +% |\k@SI@short@AccelGravityNumeric| is a mathematical value of +% the accelertion due to gravity at the surface of the +% Earth in SI units with reduced precision. +% (CODATA 2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@AccelGravityNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@AccelGravityNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@AccelGravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} +% |\k@SI@full@AccelGravityNumeric| is a mathematical value of +% the accelertion due to gravity at the surface of the +% Earth in SI units with full precision. +% (CODATA 2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@AccelGravityNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@AccelGravityNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@AccelGravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} +% |\k@cgs@short@AccelGravityNumeric| is a mathematical value of +% the accelertion due to gravity at the surface of +% the Earth in cgs units with reduced precision. +% (CODATA 2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@AccelGravityNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@AccelGravityNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@AccelGravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} +% |\k@cgs@full@AccelGravityNumeric| is a mathematical value of +% the accelertion due to gravity at the surface of the +% Earth in cgs units with full precision. +% (CODATA 2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@AccelGravityNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@AccelGravityNumeric}\end{mdframed} +% \makeatother +% % %\subsubsection{Other Constants} % % \DescribeMacro{\k@SI@short@Coulomb} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@SI@short@Coulomb| is the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$) in % SI units with reduced precision. % (Calculated) @@ -1707,6 +3769,7 @@ % \makeatother % % \DescribeMacro{\k@SI@full@Coulomb} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@SI@full@Coulomb| is the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$) in % SI units with full precision. % (Calculated) @@ -1723,6 +3786,7 @@ % \makeatother % % \DescribeMacro{\k@cgs@short@Coulomb} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@cgs@short@Coulomb| is the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$) % in cgs units with reduced precision. % (Calculated) @@ -1739,6 +3803,7 @@ % \makeatother % % \DescribeMacro{\k@cgs@full@Coulomb} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@cgs@full@Coulomb| is the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$) in % cgs units with full precision. % (Calculated) @@ -1754,6 +3819,78 @@ % {The value is \k@cgs@full@Coulomb}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@CoulombNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@SI@short@CoulombNumeric| is a mathematical value of +% the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$) in SI +% units with reduced precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@CoulombNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@CoulombNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@CoulombNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@SI@full@CoulombNumeric| is a mathematical value of +% the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$) in SI +% units with full precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@CoulombNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@CoulombNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@CoulombNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@cgs@short@CoulombNumeric| is a mathematical value of +% the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$) in cgs +% units with reduced precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@CoulombNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@CoulombNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@CoulombNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@cgs@full@CoulombNumeric| is a mathematical value of +% the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$) in cgs +% units with full precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@CoulombNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@CoulombNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@VacuumPermittivity} % |\k@SI@short@VacuumPermittivity| is the electric permittivity of the vacuum % in SI units with reduced precision. @@ -1818,10 +3955,79 @@ % {The value is \k@cgs@full@VacuumPermittivity}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@VacuumPermittivityNumeric} +% |\k@SI@short@VacuumPermittivityNumeric| is a mathematical value of +% the electric permittivity of the vacuum in SI +% units with reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@VacuumPermittivityNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@VacuumPermittivityNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@VacuumPermittivityNumeric} +% |\k@SI@full@VacuumPermittivityNumeric| is a mathematical value of +% the electric permittivity of the vacuum in SI +% units with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@VacuumPermittivityNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@VacuumPermittivityNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@VacuumPermittivityNumeric} +% |\k@cgs@short@VacuumPermittivityNumeric| is a mathematical value of +% the electric permittivity of the vacuum in +% cgs units with reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@VacuumPermittivityNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@VacuumPermittivityNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@VacuumPermittivityNumeric} +% |\k@cgs@full@VacuumPermittivityNumeric| is a mathematical value of +% the electric permittivity of the vacuum in cgs +% units with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@VacuumPermittivityNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@VacuumPermittivityNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@VacuumPermeability} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\k@SI@short@VacuumPermeability| is the magnetic permeability of the vacuum % in SI units with reduced precision. -% (CODATA~2018) +% (Calculated) % % The macro can be invoked by (e.g.) % \begin{mdframed}[backgroundcolor=orange!25]% @@ -1835,9 +4041,10 @@ % \makeatother % % \DescribeMacro{\k@SI@full@VacuumPermeability} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\k@SI@full@VacuumPermeability| is the magnetic permeability of the vacuum in % SI units with full precision. -% (CODATA~2018) +% (Calculated) % % The macro can be invoked by (e.g.) % \begin{mdframed}[backgroundcolor=orange!25]% @@ -1851,9 +4058,10 @@ % \makeatother % % \DescribeMacro{\k@cgs@short@VacuumPermeability} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\k@cgs@short@VacuumPermeability| is the magnetic permeability of the vacuum % in cgs units with reduced precision. -% (CODATA~2018) +% (Calculated) % % The macro can be invoked by (e.g.) % \begin{mdframed}[backgroundcolor=orange!25]% @@ -1867,9 +4075,10 @@ % \makeatother % % \DescribeMacro{\k@cgs@full@VacuumPermeability} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\k@cgs@full@VacuumPermeability| is the magnetic permeability of the vacuum % in cgs units with full precision. -% (CODATA~2018) +% (Calculated) % % The macro can be invoked by (e.g.) % \begin{mdframed}[backgroundcolor=orange!25]% @@ -1882,6 +4091,78 @@ % {The value is \k@cgs@full@VacuumPermeability}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@VacuumPermeabilityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\k@SI@short@VacuumPermeabilityNumeric| is a mathematical value of +% the magnetic permeability of the vacuum in SI +% units with reduced precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@VacuumPermeabilityNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@VacuumPermeabilityNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@VacuumPermeabilityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\k@SI@full@VacuumPermeabilityNumeric| is a mathematical value of +% the magnetic permeability of the vacuum in SI +% units with full precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@VacuumPermeabilityNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@VacuumPermeabilityNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@VacuumPermeabilityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\k@cgs@short@VacuumPermeabilityNumeric| is a mathematical value of +% the magnetic permeability of the vacuum in +% cgs units with reduced precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@VacuumPermeabilityNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@VacuumPermeabilityNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@VacuumPermeabilityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\k@cgs@full@VacuumPermeabilityNumeric| is a mathematical value of +% the magnetic permeability of the vacuum in cgs +% units with full precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@VacuumPermeabilityNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@VacuumPermeabilityNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@short@VacuumImpedance} % |\k@short@VacuumImpedance| is the characteristic impedance of the vacuum with % reduced precision. @@ -1914,6 +4195,40 @@ % {The value is \k@full@VacuumImpedance}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@short@VacuumImpedanceNumeric} +% |\k@short@VacuumImpedanceNumeric| is a mathematical value of +% the characteristic impedance of the vacuum with +% reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@short@VacuumImpedanceNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@short@VacuumImpedanceNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@full@VacuumImpedanceNumeric} +% |\k@full@VacuumImpedanceNumeric| is a mathematical value of +% the characteristic impedance of the vacuum with full +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@full@VacuumImpedanceNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@full@VacuumImpedanceNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@Boltzmann} % |\k@SI@short@Boltzmann| is the Boltzmann constant in SI units with reduced % precision. @@ -2009,7 +4324,106 @@ % {The value is \k@eV@full@Boltzmann}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@BoltzmannNumeric} +% |\k@SI@short@BoltzmannNumeric| is a mathematical value of +% the Boltzmann constant in SI units with reduced +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@BoltzmannNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@BoltzmannNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@BoltzmannNumeric} +% |\k@SI@full@BoltzmannNumeric| is a mathematical value of +% the Boltzmann constant in SI units with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@BoltzmannNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@BoltzmannNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@BoltzmannNumeric} +% |\k@cgs@short@BoltzmannNumeric| is a mathematical value of +% the Boltzmann constant in cgs units with reduced +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@BoltzmannNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@BoltzmannNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@BoltzmannNumeric} +% |\k@cgs@full@BoltzmannNumeric| is a mathematical value of +% the Boltzmann constant in cgs units with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@BoltzmannNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@BoltzmannNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@eV@short@BoltzmannNumeric} +% |\k@eV@short@BoltzmannNumeric| is a mathematical value of +% the Boltzmann constant in eV with reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@eV@short@BoltzmannNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@eV@short@BoltzmannNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@eV@full@BoltzmannNumeric} +% |\k@eV@full@BoltzmannNumeric| is a mathematical value of +% the Boltzmann constant in eV with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@eV@full@BoltzmannNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@eV@full@BoltzmannNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@Planck} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@SI@short@Planck| is the Planck constant in SI units with reduced % precision. % (CODATA~2018) @@ -2026,6 +4440,7 @@ % \makeatother % % \DescribeMacro{\k@SI@full@Planck} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@SI@full@Planck| is the Planck constant in SI units with full precision. % (CODATA~2018) % @@ -2041,6 +4456,7 @@ % \makeatother % % \DescribeMacro{\k@cgs@short@Planck} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@cgs@short@Planck| is the Planck constant in cgs units with reduced % precision. % (CODATA~2018) @@ -2057,6 +4473,7 @@ % \makeatother % % \DescribeMacro{\k@cgs@full@Planck} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@cgs@full@Planck| is the Planck constant in cgs units with full precision. % (CODATA~2018) % @@ -2072,6 +4489,7 @@ % \makeatother % % \DescribeMacro{\k@eV@short@Planck} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@eV@short@Planck| is the Planck constant in eV with reduced precision. % (CODATA~2018) % @@ -2087,6 +4505,7 @@ % \makeatother % % \DescribeMacro{\k@eV@full@Planck} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@eV@full@Planck| is the Planck constant in eV with full precision. % (CODATA~2018) % @@ -2101,7 +4520,110 @@ % {The value is \k@eV@full@Planck}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@PlanckNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@SI@short@PlanckNumeric| is a mathematical value of +% the Planck constant in SI units with reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@PlanckNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@PlanckNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@PlanckNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@SI@full@PlanckNumeric| is a mathematical value of +% the Planck constant in SI units with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@PlanckNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@PlanckNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@PlanckNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@cgs@short@PlanckNumeric| is a mathematical value of +% the Planck constant in cgs units with reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@PlanckNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@PlanckNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@PlanckNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@cgs@full@PlanckNumeric| is a mathematical value of +% the Planck constant in cgs units with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@PlanckNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@PlanckNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@eV@short@PlanckNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@eV@short@PlanckNumeric| is a mathematical value of +% the Planck constant in eV with reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@eV@short@PlanckNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@eV@short@PlanckNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@eV@full@PlanckNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@eV@full@PlanckNumeric| is a mathematical value of +% the Planck constant in eV with full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@eV@full@PlanckNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@eV@full@PlanckNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@PlanckReduced} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@SI@short@PlanckReduced| is the Reduced Planck constant % $\left(\frac{h}{2\pi}\right)$ in SI units with reduced precision. % (Calculated) @@ -2118,6 +4640,7 @@ % \makeatother % % \DescribeMacro{\k@SI@full@PlanckReduced} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@SI@full@PlanckReduced| is the Reduced Planck constant % $\left(\frac{h}{2\pi}\right)$ in SI units with full precision. % (Calculated) @@ -2134,6 +4657,7 @@ % \makeatother % % \DescribeMacro{\k@cgs@short@PlanckReduced} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@cgs@short@PlanckReduced| is the Reduced Planck constant % $\left(\frac{h}{2\pi}\right)$ in cgs units with reduced precision. % (Calculated) @@ -2150,6 +4674,7 @@ % \makeatother % % \DescribeMacro{\k@cgs@full@PlanckReduced} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@cgs@full@PlanckReduced| is the Reduced Planck constant % $\left(\frac{h}{2\pi}\right)$ in cgs units with full precision. % (Calculated) @@ -2166,6 +4691,7 @@ % \makeatother % % \DescribeMacro{\k@eV@short@PlanckReduced} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@eV@short@PlanckReduced| is the Reduced Planck constant % $\left(\frac{h}{2\pi}\right)$ in eV with reduced precision. % (Calculated) @@ -2182,6 +4708,7 @@ % \makeatother % % \DescribeMacro{\k@eV@full@PlanckReduced} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@eV@full@PlanckReduced| is the Reduced Planck constant % $\left(\frac{h}{2\pi}\right)$ in eV with full precision. % (Calculated) @@ -2197,7 +4724,116 @@ % {The value is \k@eV@full@PlanckReduced}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@PlanckReducedNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@SI@short@PlanckReducedNumeric| is a mathematical value of +% the Reduced Planck constant +% $\left(\frac{h}{2\pi}\right)$ in SI units with reduced precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@PlanckReducedNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@PlanckReducedNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@PlanckReducedNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@SI@full@PlanckReducedNumeric| is a mathematical value of +% the Reduced Planck constant +% $\left(\frac{h}{2\pi}\right)$ in SI units with full precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@PlanckReducedNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@PlanckReducedNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@PlanckReducedNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@cgs@short@PlanckReducedNumeric| is a mathematical value of +% the Reduced Planck constant +% $\left(\frac{h}{2\pi}\right)$ in cgs units with reduced precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@PlanckReducedNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@PlanckReducedNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@PlanckReducedNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@cgs@full@PlanckReducedNumeric| is a mathematical value of +% the Reduced Planck constant +% $\left(\frac{h}{2\pi}\right)$ in cgs units with full precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@PlanckReducedNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@PlanckReducedNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@eV@short@PlanckReducedNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@eV@short@PlanckReducedNumeric| is a mathematical value of +% the Reduced Planck constant +% $\left(\frac{h}{2\pi}\right)$ in eV with reduced precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@eV@short@PlanckReducedNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@eV@short@PlanckReducedNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@eV@full@PlanckReducedNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@eV@full@PlanckReducedNumeric| is a mathematical value of +% the Reduced Planck constant +% $\left(\frac{h}{2\pi}\right)$ in eV with full precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@eV@full@PlanckReducedNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@eV@full@PlanckReducedNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@Gravity} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\k@SI@short@Gravity| is Newton's gravitational constant in SI units with % reduced precision. % (CODATA~2018) @@ -2214,6 +4850,7 @@ % \makeatother % % \DescribeMacro{\k@SI@full@Gravity} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\k@SI@full@Gravity| is Newton's gravitational constant in SI units with full % precision. % (CODATA~2018) @@ -2230,6 +4867,7 @@ % \makeatother % % \DescribeMacro{\k@cgs@short@Gravity} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\k@cgs@short@Gravity| is Newton's gravitational constant in cgs units with % reduced precision. % (CODATA~2018) @@ -2246,6 +4884,7 @@ % \makeatother % % \DescribeMacro{\k@cgs@full@Gravity} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\k@cgs@full@Gravity| is Newton's gravitational constant in cgs units with % full precision. % (CODATA~2018) @@ -2261,7 +4900,80 @@ % {The value is \k@cgs@full@Gravity}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@GravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\k@SI@short@GravityNumeric| is a mathematical value of +% Newton's gravitational constant in SI units with reduced +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@GravityNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@GravityNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@GravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\k@SI@full@GravityNumeric| is a mathematical value of +% Newton's gravitational constant in SI units with full +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@GravityNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@GravityNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@GravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\k@cgs@short@GravityNumeric| is a mathematical value of +% Newton's gravitational constant in cgs units with +% reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@GravityNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@GravityNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@GravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\k@cgs@full@GravityNumeric| is a mathematical value of +% Newton's gravitational constant in cgs units with full +% precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@GravityNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@GravityNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@StefanBoltzmann} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@SI@short@StefanBoltzmann| is the Stefan-Boltzmann blackbody constant % $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$ in SI units with reduced % precision. @@ -2279,6 +4991,7 @@ % \makeatother % % \DescribeMacro{\k@SI@full@StefanBoltzmann} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@SI@full@StefanBoltzmann| is the Stefan-Boltzmann blackbody constant % $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$ in SI units with full % precision. @@ -2296,6 +5009,7 @@ % \makeatother % % \DescribeMacro{\k@cgs@short@StefanBoltzmann} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@cgs@short@StefanBoltzmann| is the Stefan-Boltzmann blackbody constant % $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$ in cgs units with reduced % precision. @@ -2313,6 +5027,7 @@ % \makeatother % % \DescribeMacro{\k@cgs@full@StefanBoltzmann} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@cgs@full@StefanBoltzmann| is the Stefan-Boltzmann blackbody constant % $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$ in cgs units with full % precision. @@ -2329,6 +5044,82 @@ % {The value is \k@cgs@full@StefanBoltzmann}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@StefanBoltzmannNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@SI@short@StefanBoltzmannNumeric| is a mathematical value of +% the Stefan-Boltzmann blackbody constant +% $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$ in SI units with reduced +% precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@StefanBoltzmannNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@StefanBoltzmannNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@StefanBoltzmannNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@SI@full@StefanBoltzmannNumeric| is a mathematical value of +% the Stefan-Boltzmann blackbody constant +% $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$ in SI units with full +% precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@StefanBoltzmannNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@StefanBoltzmannNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@StefanBoltzmannNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@cgs@short@StefanBoltzmannNumeric| is a mathematical value of +% the Stefan-Boltzmann blackbody constant +% $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$ in cgs units with reduced +% precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@StefanBoltzmannNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@StefanBoltzmannNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@StefanBoltzmannNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@cgs@full@StefanBoltzmannNumeric| is a mathematical value of +% the Stefan-Boltzmann blackbody constant +% $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$ in cgs units with full +% precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@StefanBoltzmannNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@StefanBoltzmannNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@SI@short@Radiation} % |\k@SI@short@Radiation| is the radiation constant, $a % \left(\frac{8\pi^5k_\mathrm{B}^4}{15c^3h^3}\right)$ in SI units with reduced @@ -2397,6 +5188,78 @@ % {The value is \k@cgs@full@Radiation}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@SI@short@RadiationNumeric} +% |\k@SI@short@RadiationNumeric| is a mathematical value of +% the radiation constant, $a +% \left(\frac{8\pi^5k_\mathrm{B}^4}{15c^3h^3}\right)$ in SI units with reduced +% precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@short@RadiationNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@short@RadiationNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@SI@full@RadiationNumeric} +% |\k@SI@full@RadiationNumeric| is a mathematical value of +% the radiation constant, $a +% \left(\frac{8\pi^5k_\mathrm{B}^4}{15c^3h^3}\right)$ in SI units with full +% precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@SI@full@RadiationNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@SI@full@RadiationNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@short@RadiationNumeric} +% |\k@cgs@short@RadiationNumeric| is a mathematical value of +% the radiation constant, $a +% \left(\frac{8\pi^5k_\mathrm{B}^4}{15c^3h^3}\right)$ in cgs units with reduced +% precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@short@RadiationNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@short@RadiationNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@cgs@full@RadiationNumeric} +% |\k@cgs@full@RadiationNumeric| is a mathematical value of +% the radiation constant, $a +% \left(\frac{8\pi^5k_\mathrm{B}^4}{15c^3h^3}\right)$ in cgs units with full +% precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@cgs@full@RadiationNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@cgs@full@RadiationNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@short@FineStructure} % |\k@short@FineStructure| is the fine structure constant with reduced % precision. @@ -2428,6 +5291,38 @@ % {The value is \k@full@FineStructure}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@short@FineStructureNumeric} +% |\k@short@FineStructureNumeric| is a mathematical value of +% the fine structure constant with reduced precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@short@FineStructureNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@short@FineStructureNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@full@FineStructureNumeric} +% |\k@full@FineStructureNumeric| is a mathematical value of +% the fine structure constant with full precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@full@FineStructureNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@full@FineStructureNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@short@FineStructureReciprocal} % |\k@short@FineStructureReciprocal| is the reciprocal of the fine structure % constant with reduced precision. @@ -2460,6 +5355,40 @@ % {The value is \k@full@FineStructureReciprocal}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@short@FineStructureReciprocalNumeric} +% |\k@short@FineStructureReciprocalNumeric| is a mathematical value of +% the reciprocal of the fine structure +% constant with reduced precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@short@FineStructureReciprocalNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@short@FineStructureReciprocalNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@full@FineStructureReciprocalNumeric} +% |\k@full@FineStructureReciprocalNumeric| is a mathematical value of +% the reciprocal of the fine structure constant +% with full precision. +% (Calculated) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@full@FineStructureReciprocalNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@full@FineStructureReciprocalNumeric}\end{mdframed} +% \makeatother +% % \DescribeMacro{\k@short@Avogadro} % |\k@short@Avogadro| is Avogadro's Number (the number of particles in a mole) % with reduced precision. @@ -2492,6 +5421,40 @@ % {The value is \k@full@Avogadro}\end{mdframed} % \makeatother % +% \DescribeMacro{\k@short@AvogadroNumeric} +% |\k@short@AvogadroNumeric| is a mathematical value of +% Avogadro's Number (the number of particles in a mole) with +% reduced precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@short@AvogadroNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@short@AvogadroNumeric}\end{mdframed} +% \makeatother +% +% \DescribeMacro{\k@full@AvogadroNumeric} +% |\k@full@AvogadroNumeric| is a mathematical value of +% Avogadro's Number (the number of particles in a mole) with +% full precision. +% (CODATA~2018) +% +% The macro can be invoked by (e.g.) +% \begin{mdframed}[backgroundcolor=orange!25]% +% {\small\texttt{\textbackslash makeatletter\\ The value is +% \textbackslash k@full@AvogadroNumeric\\ +% \textbackslash makeatother}}\end{mdframed} +% \makeatletter +% Resulting in +% \begin{mdframed}[backgroundcolor=blue!25]% +% {The value is \k@full@AvogadroNumeric}\end{mdframed} +% \makeatother +% \makeatletter % \StopEventually{} % @@ -2527,6 +5490,8 @@ %<*package> %\fi % \begin{macro}{\k@SI@short@MassElectron} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@SI@short@MassElectron| is the mass of an electron in SI units with % reduced precision. % Source: CODATA~2018 @@ -2535,7 +5500,7 @@ \DeclareRobustCommand{\k@SI@short@MassElectron}{% \ensuremath{% 9.11% -\times 10^{-34}\kg}} +\times 10^{-31}\kg}} % \end{macrocode} % \end{macro} % @@ -2546,6 +5511,8 @@ %<*package> %\fi % \begin{macro}{\k@SI@full@MassElectron} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@SI@full@MassElectron| is the mass of an electron in SI units with full % precision. % Source: CODATA~2018 @@ -2557,7 +5524,7 @@ 980\expandafter\physconst@decimalsseparator% 087\expandafter\physconst@decimalsseparator% 382% -\times 10^{-34}\kg}} +\times 10^{-31}\kg}} % \end{macrocode} % \end{macro} % @@ -2568,6 +5535,8 @@ %<*package> %\fi % \begin{macro}{\k@cgs@short@MassElectron} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@cgs@short@MassElectron| is the mass of an electron in cgs units with % reduced precision. % Source: CODATA~2018 @@ -2576,7 +5545,7 @@ \DeclareRobustCommand{\k@cgs@short@MassElectron}{% \ensuremath{% 9.11% -\times 10^{-31}\gm}} +\times 10^{-28}\gm}} % \end{macrocode} % \end{macro} % @@ -2587,6 +5556,8 @@ %<*package> %\fi % \begin{macro}{\k@cgs@full@MassElectron} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@cgs@full@MassElectron| is the mass of an electron in cgs units with full % precision. % Source: CODATA~2018 @@ -2598,7 +5569,7 @@ 980\expandafter\physconst@decimalsseparator% 087\expandafter\physconst@decimalsseparator% 382% -\times 10^{-31}\gm}} +\times 10^{-28}\gm}} % \end{macrocode} % \end{macro} % @@ -2609,6 +5580,8 @@ %<*package> %\fi % \begin{macro}{\k@eV@short@MassElectron} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@eV@short@MassElectron| is the mass of an electron in eV with reduced % precision. % Source: CODATA~2018 @@ -2616,8 +5589,8 @@ % \begin{macrocode} \DeclareRobustCommand{\k@eV@short@MassElectron}{% \ensuremath{% -5.69% -\times 10^{-19}\eV\,c^{-2}}} +5.11% +\times 10^{5}\eV\,c^{-2}}} % \end{macrocode} % \end{macro} % @@ -2628,6 +5601,8 @@ %<*package> %\fi % \begin{macro}{\k@eV@full@MassElectron} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@eV@full@MassElectron| is the mass of an electron in eV with full % precision. % Source: CODATA~2018 @@ -2635,11 +5610,11 @@ % \begin{macrocode} \DeclareRobustCommand{\k@eV@full@MassElectron}{% \ensuremath{% -5.685\expandafter\physconst@decimalsseparator% -378\expandafter\physconst@decimalsseparator% -187\expandafter\physconst@decimalsseparator% -448% -\times 10^{-19}\eV\,c^{-2}}} +5.109\expandafter\physconst@decimalsseparator% +763\expandafter\physconst@decimalsseparator% +089\expandafter\physconst@decimalsseparator% +046% +\times 10^{5}\eV\,c^{-2}}} % \end{macrocode} % \end{macro} % @@ -2650,6 +5625,8 @@ %<*package> %\fi % \begin{macro}{\kMassElectron} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\kMassElectron| is the mass of an electron. % % \begin{macrocode} @@ -2680,6 +5657,8 @@ %<*package> %\fi % \begin{macro}{\keVMassElectron} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\keVMassElectron| is the mass of an electron. % % \begin{macrocode} @@ -2699,7 +5678,183 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@MassElectronNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@SI@short@MassElectronNumeric| is the mass of an electron in SI units with +% reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@MassElectronNumeric}{% +\ensuremath{% +9.11e-31}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@MassElectronNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@SI@full@MassElectronNumeric| is the mass of an electron in SI units with full +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@MassElectronNumeric}{% +\ensuremath{% +9.108980087382e-31}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@MassElectronNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@cgs@short@MassElectronNumeric| is the mass of an electron in cgs units with +% reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@MassElectronNumeric}{% +\ensuremath{% +9.11e-28}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@MassElectronNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@cgs@full@MassElectronNumeric| is the mass of an electron in cgs units with full +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@MassElectronNumeric}{% +\ensuremath{% +9.108980087382e-28}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@eV@short@MassElectronNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@eV@short@MassElectronNumeric| is the mass of an electron in eV with reduced +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@eV@short@MassElectronNumeric}{% +\ensuremath{% +5.11e+05}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@eV@full@MassElectronNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@eV@full@MassElectronNumeric| is the mass of an electron in eV with full +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@eV@full@MassElectronNumeric}{% +\ensuremath{% +5.109763089046e+05}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kMassElectronNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\kMassElectronNumeric| is the mass of an electron. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kMassElectronNumeric}{% +\k@SI@short@MassElectronNumeric} +\else +\DeclareRobustCommand {\kMassElectronNumeric}{% +\k@SI@full@MassElectronNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kMassElectronNumeric}{% +\k@cgs@short@MassElectronNumeric} +\else +\DeclareRobustCommand {\kMassElectronNumeric}{% +\k@cgs@full@MassElectronNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\keVMassElectronNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\keVMassElectronNumeric| is the mass of an electron. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\keVMassElectronNumeric}{% +\k@eV@short@MassElectronNumeric} +\else +\DeclareRobustCommand {\keVMassElectronNumeric}{% +\k@eV@full@MassElectronNumeric} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@MassProton} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@SI@short@MassProton| is the mass of a proton in SI units with reduced % precision. % Source: CODATA~2018 @@ -2708,7 +5863,7 @@ \DeclareRobustCommand{\k@SI@short@MassProton}{% \ensuremath{% 1.67% -\times 10^{-30}\kg}} +\times 10^{-27}\kg}} % \end{macrocode} % \end{macro} % @@ -2719,6 +5874,8 @@ %<*package> %\fi % \begin{macro}{\k@SI@full@MassProton} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@SI@full@MassProton| is the mass of a proton in SI units with full % precision. % Source: CODATA~2018 @@ -2730,7 +5887,7 @@ 547\expandafter\physconst@decimalsseparator% 813\expandafter\physconst@decimalsseparator% 969% -\times 10^{-30}\kg}} +\times 10^{-27}\kg}} % \end{macrocode} % \end{macro} % @@ -2741,6 +5898,8 @@ %<*package> %\fi % \begin{macro}{\k@cgs@short@MassProton} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@cgs@short@MassProton| is the mass of a proton in cgs units with reduced % precision. % Source: CODATA~2018 @@ -2749,7 +5908,7 @@ \DeclareRobustCommand{\k@cgs@short@MassProton}{% \ensuremath{% 1.67% -\times 10^{-27}\gm}} +\times 10^{-24}\gm}} % \end{macrocode} % \end{macro} % @@ -2760,6 +5919,8 @@ %<*package> %\fi % \begin{macro}{\k@cgs@full@MassProton} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@cgs@full@MassProton| is the mass of a proton in cgs units with full % precision. % Source: CODATA~2018 @@ -2771,7 +5932,7 @@ 547\expandafter\physconst@decimalsseparator% 813\expandafter\physconst@decimalsseparator% 969% -\times 10^{-27}\gm}} +\times 10^{-24}\gm}} % \end{macrocode} % \end{macro} % @@ -2782,14 +5943,16 @@ %<*package> %\fi % \begin{macro}{\k@eV@short@MassProton} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@eV@short@MassProton| is the mass of a proton in eV with reduced precision. % Source: CODATA~2018 % % \begin{macrocode} \DeclareRobustCommand{\k@eV@short@MassProton}{% \ensuremath{% -1.04% -\times 10^{-15}\eV\,c^{-2}}} +9.38% +\times 10^{8}\eV\,c^{-2}}} % \end{macrocode} % \end{macro} % @@ -2800,17 +5963,19 @@ %<*package> %\fi % \begin{macro}{\k@eV@full@MassProton} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@eV@full@MassProton| is the mass of a proton in eV with full precision. % Source: CODATA~2018 % % \begin{macrocode} \DeclareRobustCommand{\k@eV@full@MassProton}{% \ensuremath{% -1.043\expandafter\physconst@decimalsseparator% -922\expandafter\physconst@decimalsseparator% -235\expandafter\physconst@decimalsseparator% -836% -\times 10^{-15}\eV\,c^{-2}}} +9.382\expandafter\physconst@decimalsseparator% +305\expandafter\physconst@decimalsseparator% +156\expandafter\physconst@decimalsseparator% +558% +\times 10^{8}\eV\,c^{-2}}} % \end{macrocode} % \end{macro} % @@ -2821,6 +5986,8 @@ %<*package> %\fi % \begin{macro}{\kMassProton} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\kMassProton| is the mass of a proton. % % \begin{macrocode} @@ -2851,6 +6018,8 @@ %<*package> %\fi % \begin{macro}{\keVMassProton} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\keVMassProton| is the mass of a proton. % % \begin{macrocode} @@ -2870,7 +6039,181 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@MassProtonNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@SI@short@MassProtonNumeric| is the mass of a proton in SI units with reduced +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@MassProtonNumeric}{% +\ensuremath{% +1.67e-27}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@MassProtonNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@SI@full@MassProtonNumeric| is the mass of a proton in SI units with full +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@MassProtonNumeric}{% +\ensuremath{% +1.672547813969e-27}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@MassProtonNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@cgs@short@MassProtonNumeric| is the mass of a proton in cgs units with reduced +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@MassProtonNumeric}{% +\ensuremath{% +1.67e-24}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@MassProtonNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@cgs@full@MassProtonNumeric| is the mass of a proton in cgs units with full +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@MassProtonNumeric}{% +\ensuremath{% +1.672547813969e-24}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@eV@short@MassProtonNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@eV@short@MassProtonNumeric| is the mass of a proton in eV with reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@eV@short@MassProtonNumeric}{% +\ensuremath{% +9.38e+08}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@eV@full@MassProtonNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@eV@full@MassProtonNumeric| is the mass of a proton in eV with full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@eV@full@MassProtonNumeric}{% +\ensuremath{% +9.382305156558e+08}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kMassProtonNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\kMassProtonNumeric| is the mass of a proton. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kMassProtonNumeric}{% +\k@SI@short@MassProtonNumeric} +\else +\DeclareRobustCommand {\kMassProtonNumeric}{% +\k@SI@full@MassProtonNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kMassProtonNumeric}{% +\k@cgs@short@MassProtonNumeric} +\else +\DeclareRobustCommand {\kMassProtonNumeric}{% +\k@cgs@full@MassProtonNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\keVMassProtonNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\keVMassProtonNumeric| is the mass of a proton. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\keVMassProtonNumeric}{% +\k@eV@short@MassProtonNumeric} +\else +\DeclareRobustCommand {\keVMassProtonNumeric}{% +\k@eV@full@MassProtonNumeric} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@MassHydrogen} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@SI@short@MassHydrogen| is the mass of a neutral hydrogen atom in SI units % with reduced precision. % Source: CODATA~2018 @@ -2879,7 +6222,7 @@ \DeclareRobustCommand{\k@SI@short@MassHydrogen}{% \ensuremath{% 1.67% -\times 10^{-30}\kg}} +\times 10^{-27}\kg}} % \end{macrocode} % \end{macro} % @@ -2890,6 +6233,8 @@ %<*package> %\fi % \begin{macro}{\k@SI@full@MassHydrogen} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@SI@full@MassHydrogen| is the mass of a neutral hydrogen atom in SI units % with full precision. % Source: CODATA~2018 @@ -2901,7 +6246,7 @@ 458\expandafter\physconst@decimalsseparator% 687\expandafter\physconst@decimalsseparator% 724% -\times 10^{-30}\kg}} +\times 10^{-27}\kg}} % \end{macrocode} % \end{macro} % @@ -2912,6 +6257,8 @@ %<*package> %\fi % \begin{macro}{\k@cgs@short@MassHydrogen} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@cgs@short@MassHydrogen| is the mass of a neutral hydrogen atom in cgs % units with reduced precision. % Source: CODATA~2018 @@ -2920,7 +6267,7 @@ \DeclareRobustCommand{\k@cgs@short@MassHydrogen}{% \ensuremath{% 1.67% -\times 10^{-27}\gm}} +\times 10^{-24}\gm}} % \end{macrocode} % \end{macro} % @@ -2931,6 +6278,8 @@ %<*package> %\fi % \begin{macro}{\k@cgs@full@MassHydrogen} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@cgs@full@MassHydrogen| is the mass of a neutral hydrogen atom in cgs % units with full precision. % Source: CODATA~2018 @@ -2942,7 +6291,7 @@ 458\expandafter\physconst@decimalsseparator% 687\expandafter\physconst@decimalsseparator% 724% -\times 10^{-27}\gm}} +\times 10^{-24}\gm}} % \end{macrocode} % \end{macro} % @@ -2953,6 +6302,8 @@ %<*package> %\fi % \begin{macro}{\k@eV@short@MassHydrogen} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@eV@short@MassHydrogen| is the mass of a neutral hydrogen atom in eV with % reduced precision. % Source: CODATA~2018 @@ -2960,8 +6311,8 @@ % \begin{macrocode} \DeclareRobustCommand{\k@eV@short@MassHydrogen}{% \ensuremath{% -1.04% -\times 10^{-15}\eV\,c^{-2}}} +9.39% +\times 10^{8}\eV\,c^{-2}}} % \end{macrocode} % \end{macro} % @@ -2972,6 +6323,8 @@ %<*package> %\fi % \begin{macro}{\k@eV@full@MassHydrogen} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@eV@full@MassHydrogen| is the mass of a neutral hydrogen atom in eV with % full precision. % Source: CODATA~2018 @@ -2979,11 +6332,11 @@ % \begin{macrocode} \DeclareRobustCommand{\k@eV@full@MassHydrogen}{% \ensuremath{% -1.044\expandafter\physconst@decimalsseparator% -490\expandafter\physconst@decimalsseparator% -758\expandafter\physconst@decimalsseparator% -517% -\times 10^{-15}\eV\,c^{-2}}} +9.387\expandafter\physconst@decimalsseparator% +414\expandafter\physconst@decimalsseparator% +783\expandafter\physconst@decimalsseparator% +596% +\times 10^{8}\eV\,c^{-2}}} % \end{macrocode} % \end{macro} % @@ -2994,6 +6347,8 @@ %<*package> %\fi % \begin{macro}{\kMassHydrogen} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\kMassHydrogen| is the mass of a neutral hydrogen atom. % % \begin{macrocode} @@ -3024,6 +6379,8 @@ %<*package> %\fi % \begin{macro}{\keVMassHydrogen} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\keVMassHydrogen| is the mass of a neutral hydrogen atom. % % \begin{macrocode} @@ -3043,6 +6400,180 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@MassHydrogenNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@SI@short@MassHydrogenNumeric| is the mass of a neutral hydrogen atom in SI units +% with reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@MassHydrogenNumeric}{% +\ensuremath{% +1.67e-27}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@MassHydrogenNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@SI@full@MassHydrogenNumeric| is the mass of a neutral hydrogen atom in SI units +% with full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@MassHydrogenNumeric}{% +\ensuremath{% +1.673458687724e-27}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@MassHydrogenNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@cgs@short@MassHydrogenNumeric| is the mass of a neutral hydrogen atom in cgs +% units with reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@MassHydrogenNumeric}{% +\ensuremath{% +1.67e-24}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@MassHydrogenNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@cgs@full@MassHydrogenNumeric| is the mass of a neutral hydrogen atom in cgs +% units with full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@MassHydrogenNumeric}{% +\ensuremath{% +1.673458687724e-24}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@eV@short@MassHydrogenNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@eV@short@MassHydrogenNumeric| is the mass of a neutral hydrogen atom in eV with +% reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@eV@short@MassHydrogenNumeric}{% +\ensuremath{% +9.39e+08}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@eV@full@MassHydrogenNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@eV@full@MassHydrogenNumeric| is the mass of a neutral hydrogen atom in eV with +% full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@eV@full@MassHydrogenNumeric}{% +\ensuremath{% +9.387414783596e+08}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kMassHydrogenNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\kMassHydrogenNumeric| is the mass of a neutral hydrogen atom. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kMassHydrogenNumeric}{% +\k@SI@short@MassHydrogenNumeric} +\else +\DeclareRobustCommand {\kMassHydrogenNumeric}{% +\k@SI@full@MassHydrogenNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kMassHydrogenNumeric}{% +\k@cgs@short@MassHydrogenNumeric} +\else +\DeclareRobustCommand {\kMassHydrogenNumeric}{% +\k@cgs@full@MassHydrogenNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\keVMassHydrogenNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\keVMassHydrogenNumeric| is the mass of a neutral hydrogen atom. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\keVMassHydrogenNumeric}{% +\k@eV@short@MassHydrogenNumeric} +\else +\DeclareRobustCommand {\keVMassHydrogenNumeric}{% +\k@eV@full@MassHydrogenNumeric} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@MassSun} % |\k@SI@short@MassSun| is the mass of the Sun in SI units with reduced % precision. @@ -3151,7 +6682,344 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@MassSunNumeric} +% |\k@SI@short@MassSunNumeric| is the mass of the Sun in SI units with reduced +% precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@MassSunNumeric}{% +\ensuremath{% +1.99e+30}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@MassSunNumeric} +% |\k@SI@full@MassSunNumeric| is the mass of the Sun in SI units with full precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@MassSunNumeric}{% +\ensuremath{% +1.9884099e+30}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@MassSunNumeric} +% |\k@cgs@short@MassSunNumeric| is the mass of the Sun in cgs units with reduced +% precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@MassSunNumeric}{% +\ensuremath{% +1.99e+33}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@MassSunNumeric} +% |\k@cgs@full@MassSunNumeric| is the mass of the Sun in cgs units with full precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@MassSunNumeric}{% +\ensuremath{% +1.9884099e+33}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kMassSunNumeric} +% |\kMassSunNumeric| is the mass of the Sun. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kMassSunNumeric}{% +\k@SI@short@MassSunNumeric} +\else +\DeclareRobustCommand {\kMassSunNumeric}{% +\k@SI@full@MassSunNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kMassSunNumeric}{% +\k@cgs@short@MassSunNumeric} +\else +\DeclareRobustCommand {\kMassSunNumeric}{% +\k@cgs@full@MassSunNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@short@MassEarth} +% \changes{v1.1.0}{2020/02/03}{Add mass of Earth} +% |\k@short@MassEarth| is the mass of the Earth with reduced precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@short@MassEarth}{% +\ensuremath{% +5.97% +\times 10^{24}\kg}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@full@MassEarth} +% \changes{v1.1.0}{2020/02/03}{Add mass of Earth} +% |\k@full@MassEarth| is the mass of the Earth with full precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@full@MassEarth}{% +\ensuremath{% +5.972\expandafter\physconst@decimalsseparator% +168% +\times 10^{24}\kg}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kMassEarth} +% \changes{v1.1.0}{2020/02/03}{Add mass of Earth} +% |\kMassEarth| is the mass of the Earth. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\kMassEarth}{% +\k@short@MassEarth} +\else +\DeclareRobustCommand {\kMassEarth}{% +\k@full@MassEarth} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@short@MassEarthNumeric} +% \changes{v1.1.0}{2020/02/03}{Add mass of Earth} +% |\k@short@MassEarthNumeric| is the mass of the Earth with reduced precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@short@MassEarthNumeric}{% +\ensuremath{% +5.97e+24}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@full@MassEarthNumeric} +% \changes{v1.1.0}{2020/02/03}{Add mass of Earth} +% |\k@full@MassEarthNumeric| is the mass of the Earth with full precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@full@MassEarthNumeric}{% +\ensuremath{% +5.972168e+24}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kMassEarthNumeric} +% \changes{v1.1.0}{2020/02/03}{Add mass of Earth} +% |\kMassEarthNumeric| is the mass of the Earth. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\kMassEarthNumeric}{% +\k@short@MassEarthNumeric} +\else +\DeclareRobustCommand {\kMassEarthNumeric}{% +\k@full@MassEarthNumeric} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@short@MassJupiter} +% \changes{v1.1.0}{2020/02/03}{Add mass of Jupiter} +% |\k@short@MassJupiter| is the mass of Jupiter with reduced precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@short@MassJupiter}{% +\ensuremath{% +1.90% +\times 10^{27}\kg}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@full@MassJupiter} +% \changes{v1.1.0}{2020/02/03}{Add mass of Jupiter} +% |\k@full@MassJupiter| is the mass of Jupiter with full precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@full@MassJupiter}{% +\ensuremath{% +1.898\expandafter\physconst@decimalsseparator% +124\expandafter\physconst@decimalsseparator% +6% +\times 10^{27}\kg}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kMassJupiter} +% \changes{v1.1.0}{2020/02/03}{Add mass of Jupiter} +% |\kMassJupiter| is the mass of Jupiter. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\kMassJupiter}{% +\k@short@MassJupiter} +\else +\DeclareRobustCommand {\kMassJupiter}{% +\k@full@MassJupiter} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@short@MassJupiterNumeric} +% \changes{v1.1.0}{2020/02/03}{Add mass of Jupiter} +% |\k@short@MassJupiterNumeric| is the mass of Jupiter with reduced precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@short@MassJupiterNumeric}{% +\ensuremath{% +1.90e+27}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@full@MassJupiterNumeric} +% \changes{v1.1.0}{2020/02/03}{Add mass of Jupiter} +% |\k@full@MassJupiterNumeric| is the mass of Jupiter with full precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@full@MassJupiterNumeric}{% +\ensuremath{% +1.8981246e+27}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kMassJupiterNumeric} +% \changes{v1.1.0}{2020/02/03}{Add mass of Jupiter} +% |\kMassJupiterNumeric| is the mass of Jupiter. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\kMassJupiterNumeric}{% +\k@short@MassJupiterNumeric} +\else +\DeclareRobustCommand {\kMassJupiterNumeric}{% +\k@full@MassJupiterNumeric} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@MassAMU} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@SI@short@MassAMU| is the mass of an atomic mass unit in SI units with % reduced precision. % Source: CODATA~2018 @@ -3160,7 +7028,7 @@ \DeclareRobustCommand{\k@SI@short@MassAMU}{% \ensuremath{% 1.66% -\times 10^{-30}\kg}} +\times 10^{-27}\kg}} % \end{macrocode} % \end{macro} % @@ -3171,6 +7039,8 @@ %<*package> %\fi % \begin{macro}{\k@SI@full@MassAMU} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@SI@full@MassAMU| is the mass of an atomic mass unit in SI units with full % precision. % Source: CODATA~2018 @@ -3182,7 +7052,7 @@ 465\expandafter\physconst@decimalsseparator% 492\expandafter\physconst@decimalsseparator% 239% -\times 10^{-30}\kg}} +\times 10^{-27}\kg}} % \end{macrocode} % \end{macro} % @@ -3193,6 +7063,8 @@ %<*package> %\fi % \begin{macro}{\k@cgs@short@MassAMU} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@cgs@short@MassAMU| is the mass of an atomic mass unit in cgs units with % reduced precision. % Source: CODATA~2018 @@ -3201,7 +7073,7 @@ \DeclareRobustCommand{\k@cgs@short@MassAMU}{% \ensuremath{% 1.66% -\times 10^{-27}\gm}} +\times 10^{-24}\gm}} % \end{macrocode} % \end{macro} % @@ -3212,6 +7084,8 @@ %<*package> %\fi % \begin{macro}{\k@cgs@full@MassAMU} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@cgs@full@MassAMU| is the mass of an atomic mass unit in cgs units with % full precision. % Source: CODATA~2018 @@ -3223,7 +7097,7 @@ 465\expandafter\physconst@decimalsseparator% 492\expandafter\physconst@decimalsseparator% 239% -\times 10^{-27}\gm}} +\times 10^{-24}\gm}} % \end{macrocode} % \end{macro} % @@ -3234,6 +7108,8 @@ %<*package> %\fi % \begin{macro}{\k@eV@short@MassAMU} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@eV@short@MassAMU| is the mass of an atomic mass unit in eV with reduced % precision. % Source: CODATA~2018 @@ -3241,8 +7117,8 @@ % \begin{macrocode} \DeclareRobustCommand{\k@eV@short@MassAMU}{% \ensuremath{% -1.04% -\times 10^{-15}\eV\,c^{-2}}} +9.31% +\times 10^{8}\eV\,c^{-2}}} % \end{macrocode} % \end{macro} % @@ -3253,6 +7129,8 @@ %<*package> %\fi % \begin{macro}{\k@eV@full@MassAMU} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\k@eV@full@MassAMU| is the mass of an atomic mass unit in eV with full % precision. % Source: CODATA~2018 @@ -3260,11 +7138,11 @@ % \begin{macrocode} \DeclareRobustCommand{\k@eV@full@MassAMU}{% \ensuremath{% -1.036\expandafter\physconst@decimalsseparator% -381\expandafter\physconst@decimalsseparator% -043\expandafter\physconst@decimalsseparator% -764% -\times 10^{-15}\eV\,c^{-2}}} +9.314\expandafter\physconst@decimalsseparator% +528\expandafter\physconst@decimalsseparator% +302\expandafter\physconst@decimalsseparator% +276% +\times 10^{8}\eV\,c^{-2}}} % \end{macrocode} % \end{macro} % @@ -3275,6 +7153,8 @@ %<*package> %\fi % \begin{macro}{\kMassAMU} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\kMassAMU| is the mass of an atomic mass unit. % % \begin{macrocode} @@ -3305,6 +7185,8 @@ %<*package> %\fi % \begin{macro}{\keVMassAMU} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} % |\keVMassAMU| is the mass of an atomic mass unit. % % \begin{macrocode} @@ -3321,6 +7203,180 @@ %\iffalse %</package> %\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@short@MassAMUNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@SI@short@MassAMUNumeric| is the mass of an atomic mass unit in SI units with +% reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@MassAMUNumeric}{% +\ensuremath{% +1.66e-27}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@MassAMUNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@SI@full@MassAMUNumeric| is the mass of an atomic mass unit in SI units with full +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@MassAMUNumeric}{% +\ensuremath{% +1.660465492239e-27}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@MassAMUNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@cgs@short@MassAMUNumeric| is the mass of an atomic mass unit in cgs units with +% reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@MassAMUNumeric}{% +\ensuremath{% +1.66e-24}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@MassAMUNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@cgs@full@MassAMUNumeric| is the mass of an atomic mass unit in cgs units with +% full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@MassAMUNumeric}{% +\ensuremath{% +1.660465492239e-24}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@eV@short@MassAMUNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@eV@short@MassAMUNumeric| is the mass of an atomic mass unit in eV with reduced +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@eV@short@MassAMUNumeric}{% +\ensuremath{% +9.31e+08}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@eV@full@MassAMUNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\k@eV@full@MassAMUNumeric| is the mass of an atomic mass unit in eV with full +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@eV@full@MassAMUNumeric}{% +\ensuremath{% +9.314528302276e+08}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kMassAMUNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\kMassAMUNumeric| is the mass of an atomic mass unit. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kMassAMUNumeric}{% +\k@SI@short@MassAMUNumeric} +\else +\DeclareRobustCommand {\kMassAMUNumeric}{% +\k@SI@full@MassAMUNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kMassAMUNumeric}{% +\k@cgs@short@MassAMUNumeric} +\else +\DeclareRobustCommand {\kMassAMUNumeric}{% +\k@cgs@full@MassAMUNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\keVMassAMUNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% \changes{v1.1.0}{2020/02/03}{Correct value in eV.} +% |\keVMassAMUNumeric| is the mass of an atomic mass unit. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\keVMassAMUNumeric}{% +\k@eV@short@MassAMUNumeric} +\else +\DeclareRobustCommand {\keVMassAMUNumeric}{% +\k@eV@full@MassAMUNumeric} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi % %\subsection{Charge} % @@ -3437,6 +7493,108 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@ChargeFundamentalNumeric} +% |\k@SI@short@ChargeFundamentalNumeric| is the fundamental charge in SI units with +% reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@ChargeFundamentalNumeric}{% +\ensuremath{% +1.60e-19}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@ChargeFundamentalNumeric} +% |\k@SI@full@ChargeFundamentalNumeric| is the fundamental charge in SI units with +% full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@ChargeFundamentalNumeric}{% +\ensuremath{% +1.602176634e-19}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@ChargeFundamentalNumeric} +% |\k@cgs@short@ChargeFundamentalNumeric| is the fundamental charge in cgs units with +% reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@ChargeFundamentalNumeric}{% +\ensuremath{% +4.80e-10}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@ChargeFundamentalNumeric} +% |\k@cgs@full@ChargeFundamentalNumeric| is the fundamental charge in cgs units with +% full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@ChargeFundamentalNumeric}{% +\ensuremath{% +4.803204713e-10}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kChargeFundamentalNumeric} +% |\kChargeFundamentalNumeric| is the fundamental charge. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kChargeFundamentalNumeric}{% +\k@SI@short@ChargeFundamentalNumeric} +\else +\DeclareRobustCommand {\kChargeFundamentalNumeric}{% +\k@SI@full@ChargeFundamentalNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kChargeFundamentalNumeric}{% +\k@cgs@short@ChargeFundamentalNumeric} +\else +\DeclareRobustCommand {\kChargeFundamentalNumeric}{% +\k@cgs@full@ChargeFundamentalNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@ChargeElectron} % |\k@SI@short@ChargeElectron| is the charge of an electron in SI units with % reduced precision. @@ -3547,6 +7705,108 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@ChargeElectronNumeric} +% |\k@SI@short@ChargeElectronNumeric| is the charge of an electron in SI units with +% reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@ChargeElectronNumeric}{% +\ensuremath{% +-1.60e-19}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@ChargeElectronNumeric} +% |\k@SI@full@ChargeElectronNumeric| is the charge of an electron in SI units with +% full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@ChargeElectronNumeric}{% +\ensuremath{% +-1.602176634e-19}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@ChargeElectronNumeric} +% |\k@cgs@short@ChargeElectronNumeric| is the charge of an electron in cgs units with +% reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@ChargeElectronNumeric}{% +\ensuremath{% +-4.80e-10}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@ChargeElectronNumeric} +% |\k@cgs@full@ChargeElectronNumeric| is the charge of an electron in cgs units with +% full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@ChargeElectronNumeric}{% +\ensuremath{% +-4.803204713e-10}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kChargeElectronNumeric} +% |\kChargeElectronNumeric| is the charge of an electron. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kChargeElectronNumeric}{% +\k@SI@short@ChargeElectronNumeric} +\else +\DeclareRobustCommand {\kChargeElectronNumeric}{% +\k@SI@full@ChargeElectronNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kChargeElectronNumeric}{% +\k@cgs@short@ChargeElectronNumeric} +\else +\DeclareRobustCommand {\kChargeElectronNumeric}{% +\k@cgs@full@ChargeElectronNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@ChargeProton} % |\k@SI@short@ChargeProton| is the charge of a proton in SI units with reduced % precision. @@ -3654,6 +7914,108 @@ %\iffalse %</package> %\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@short@ChargeProtonNumeric} +% |\k@SI@short@ChargeProtonNumeric| is the charge of a proton in SI units with reduced +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@ChargeProtonNumeric}{% +\ensuremath{% +1.60e-19}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@ChargeProtonNumeric} +% |\k@SI@full@ChargeProtonNumeric| is the charge of a proton in SI units with full +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@ChargeProtonNumeric}{% +\ensuremath{% +1.602176634e-19}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@ChargeProtonNumeric} +% |\k@cgs@short@ChargeProtonNumeric| is the charge of a proton in cgs units with +% reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@ChargeProtonNumeric}{% +\ensuremath{% +4.80e-10}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@ChargeProtonNumeric} +% |\k@cgs@full@ChargeProtonNumeric| is the charge of a proton in cgs units with full +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@ChargeProtonNumeric}{% +\ensuremath{% +4.803204713e-10}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kChargeProtonNumeric} +% |\kChargeProtonNumeric| is the charge of a proton. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kChargeProtonNumeric}{% +\k@SI@short@ChargeProtonNumeric} +\else +\DeclareRobustCommand {\kChargeProtonNumeric}{% +\k@SI@full@ChargeProtonNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kChargeProtonNumeric}{% +\k@cgs@short@ChargeProtonNumeric} +\else +\DeclareRobustCommand {\kChargeProtonNumeric}{% +\k@cgs@full@ChargeProtonNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi % %\subsection{Distances and Lengths} % @@ -3669,7 +8031,7 @@ \DeclareRobustCommand{\k@SI@short@RadiusBohr}{% \ensuremath{% 5.29% -\times 10^{-8}\m}} +\times 10^{-11}\m}} % \end{macrocode} % \end{macro} % @@ -3690,7 +8052,7 @@ 5.292\expandafter\physconst@decimalsseparator% 006\expandafter\physconst@decimalsseparator% 59% -\times 10^{-8}\m}} +\times 10^{-11}\m}} % \end{macrocode} % \end{macro} % @@ -3709,7 +8071,7 @@ \DeclareRobustCommand{\k@cgs@short@RadiusBohr}{% \ensuremath{% 5.29% -\times 10^{-6}\cm}} +\times 10^{-9}\cm}} % \end{macrocode} % \end{macro} % @@ -3730,7 +8092,7 @@ 5.292\expandafter\physconst@decimalsseparator% 006\expandafter\physconst@decimalsseparator% 59% -\times 10^{-6}\cm}} +\times 10^{-9}\cm}} % \end{macrocode} % \end{macro} % @@ -3770,6 +8132,108 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@RadiusBohrNumeric} +% |\k@SI@short@RadiusBohrNumeric| is Bohr radius of an atom in SI units with reduced +% precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@RadiusBohrNumeric}{% +\ensuremath{% +5.29e-11}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@RadiusBohrNumeric} +% |\k@SI@full@RadiusBohrNumeric| is Bohr radius of an atom in SI units with full +% precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@RadiusBohrNumeric}{% +\ensuremath{% +5.29200659e-11}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@RadiusBohrNumeric} +% |\k@cgs@short@RadiusBohrNumeric| is Bohr radius of an atom in cgs units with reduced +% precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@RadiusBohrNumeric}{% +\ensuremath{% +5.29e-09}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@RadiusBohrNumeric} +% |\k@cgs@full@RadiusBohrNumeric| is Bohr radius of an atom in cgs units with full +% precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@RadiusBohrNumeric}{% +\ensuremath{% +5.29200659e-09}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kRadiusBohrNumeric} +% |\kRadiusBohrNumeric| is Bohr radius of an atom. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kRadiusBohrNumeric}{% +\k@SI@short@RadiusBohrNumeric} +\else +\DeclareRobustCommand {\kRadiusBohrNumeric}{% +\k@SI@full@RadiusBohrNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kRadiusBohrNumeric}{% +\k@cgs@short@RadiusBohrNumeric} +\else +\DeclareRobustCommand {\kRadiusBohrNumeric}{% +\k@cgs@full@RadiusBohrNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@AstronomicalUnit} % |\k@SI@short@AstronomicalUnit| is the astronomical unit (the average distance % between the Earth and the Sun) in SI units with reduced precision. @@ -3881,6 +8345,109 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@AstronomicalUnitNumeric} +% |\k@SI@short@AstronomicalUnitNumeric| is the astronomical unit (the average distance +% between the Earth and the Sun) in SI units with reduced precision. +% Source: IAU~Resolution~B2~2012 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@AstronomicalUnitNumeric}{% +\ensuremath{% +1.50e+11}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@AstronomicalUnitNumeric} +% |\k@SI@full@AstronomicalUnitNumeric| is the astronomical unit (the average distance +% between the Earth and the Sun) in SI units with full precision. +% Source: IAU~Resolution~B2~2012 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@AstronomicalUnitNumeric}{% +\ensuremath{% +1.495978707e+11}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@AstronomicalUnitNumeric} +% |\k@cgs@short@AstronomicalUnitNumeric| is the astronomical unit (the average +% distance between the Earth and the Sun) in cgs units with reduced precision. +% Source: IAU~Resolution~B2~2012 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@AstronomicalUnitNumeric}{% +\ensuremath{% +1.50e+13}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@AstronomicalUnitNumeric} +% |\k@cgs@full@AstronomicalUnitNumeric| is the astronomical unit (the average distance +% between the Earth and the Sun) in cgs units with full precision. +% Source: IAU~Resolution~B2~2012 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@AstronomicalUnitNumeric}{% +\ensuremath{% +1.495978707e+13}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kAstronomicalUnitNumeric} +% |\kAstronomicalUnitNumeric| is the astronomical unit (the average distance between +% the Earth and the Sun). +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kAstronomicalUnitNumeric}{% +\k@SI@short@AstronomicalUnitNumeric} +\else +\DeclareRobustCommand {\kAstronomicalUnitNumeric}{% +\k@SI@full@AstronomicalUnitNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kAstronomicalUnitNumeric}{% +\k@cgs@short@AstronomicalUnitNumeric} +\else +\DeclareRobustCommand {\kAstronomicalUnitNumeric}{% +\k@cgs@full@AstronomicalUnitNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@Parsec} % |\k@SI@short@Parsec| is the length of a parsec ($\frac{648000\au}{\pi}$) in % SI units with reduced precision. @@ -3991,6 +8558,108 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@ParsecNumeric} +% |\k@SI@short@ParsecNumeric| is the length of a parsec ($\frac{648000\au}{\pi}$) in +% SI units with reduced precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@ParsecNumeric}{% +\ensuremath{% +3.09e+16}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@ParsecNumeric} +% |\k@SI@full@ParsecNumeric| is the length of a parsec ($\frac{648000\au}{\pi}$) in SI +% units with full precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@ParsecNumeric}{% +\ensuremath{% +3.085677581e+16}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@ParsecNumeric} +% |\k@cgs@short@ParsecNumeric| is the length of a parsec ($\frac{648000\au}{\pi}$) in +% cgs units with reduced precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@ParsecNumeric}{% +\ensuremath{% +3.09e+18}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@ParsecNumeric} +% |\k@cgs@full@ParsecNumeric| is the length of a parsec ($\frac{648000\au}{\pi}$) in +% cgs units with full precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@ParsecNumeric}{% +\ensuremath{% +3.085677581e+18}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kParsecNumeric} +% |\kParsecNumeric| is the length of a parsec ($\frac{648000\au}{\pi}$). +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kParsecNumeric}{% +\k@SI@short@ParsecNumeric} +\else +\DeclareRobustCommand {\kParsecNumeric}{% +\k@SI@full@ParsecNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kParsecNumeric}{% +\k@cgs@short@ParsecNumeric} +\else +\DeclareRobustCommand {\kParsecNumeric}{% +\k@cgs@full@ParsecNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@RadiusSun} % |\k@SI@short@RadiusSun| is the mean radius of the Sun in SI units with % reduced precision. @@ -4094,6 +8763,342 @@ %\iffalse %</package> %\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@short@RadiusSunNumeric} +% |\k@SI@short@RadiusSunNumeric| is the mean radius of the Sun in SI units with +% reduced precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@RadiusSunNumeric}{% +\ensuremath{% +6.96e+08}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@RadiusSunNumeric} +% |\k@SI@full@RadiusSunNumeric| is the mean radius of the Sun in SI units with full +% precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@RadiusSunNumeric}{% +\ensuremath{% +6.957e+08}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@RadiusSunNumeric} +% |\k@cgs@short@RadiusSunNumeric| is the mean radius of the Sun in cgs units with +% reduced precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@RadiusSunNumeric}{% +\ensuremath{% +6.96e+10}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@RadiusSunNumeric} +% |\k@cgs@full@RadiusSunNumeric| is the mean radius of the Sun in cgs units with full +% precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@RadiusSunNumeric}{% +\ensuremath{% +6.957e+10}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kRadiusSunNumeric} +% |\kRadiusSunNumeric| is the mean radius of the Sun. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kRadiusSunNumeric}{% +\k@SI@short@RadiusSunNumeric} +\else +\DeclareRobustCommand {\kRadiusSunNumeric}{% +\k@SI@full@RadiusSunNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kRadiusSunNumeric}{% +\k@cgs@short@RadiusSunNumeric} +\else +\DeclareRobustCommand {\kRadiusSunNumeric}{% +\k@cgs@full@RadiusSunNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@short@RadiusEarth} +% \changes{v1.1.0}{2020/02/03}{Add radius of Earth} +% |\k@short@RadiusEarth| is the mean radius of the Earth with reduced precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@short@RadiusEarth}{% +\ensuremath{% +6.37% +\times 10^{6}\m}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@full@RadiusEarth} +% \changes{v1.1.0}{2020/02/03}{Add radius of Earth} +% |\k@full@RadiusEarth| is the mean radius of the Earth with full precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@full@RadiusEarth}{% +\ensuremath{% +6.371\expandafter\physconst@decimalsseparator% +0% +\times 10^{6}\m}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kRadiusEarth} +% \changes{v1.1.0}{2020/02/03}{Add radius of Earth} +% |\kRadiusEarth| is the mean radius of the Earth. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\kRadiusEarth}{% +\k@short@RadiusEarth} +\else +\DeclareRobustCommand {\kRadiusEarth}{% +\k@full@RadiusEarth} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@short@RadiusEarthNumeric} +% \changes{v1.1.0}{2020/02/03}{Add radius of Earth} +% |\k@short@RadiusEarthNumeric| is the mean radius of the Earth with reduced precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@short@RadiusEarthNumeric}{% +\ensuremath{% +6.37e+06}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@full@RadiusEarthNumeric} +% \changes{v1.1.0}{2020/02/03}{Add radius of Earth} +% |\k@full@RadiusEarthNumeric| is the mean radius of the Earth with full precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@full@RadiusEarthNumeric}{% +\ensuremath{% +6.3710e+06}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kRadiusEarthNumeric} +% \changes{v1.1.0}{2020/02/03}{Add radius of Earth} +% |\kRadiusEarthNumeric| is the mean radius of the Earth. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\kRadiusEarthNumeric}{% +\k@short@RadiusEarthNumeric} +\else +\DeclareRobustCommand {\kRadiusEarthNumeric}{% +\k@full@RadiusEarthNumeric} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@short@RadiusJupiter} +% \changes{v1.1.0}{2020/02/03}{Add radius of Jupiter} +% |\k@short@RadiusJupiter| is the mean radius of Jupiter with reduced precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@short@RadiusJupiter}{% +\ensuremath{% +6.99% +\times 10^{7}\m}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@full@RadiusJupiter} +% \changes{v1.1.0}{2020/02/03}{Add radius of Jupiter} +% |\k@full@RadiusJupiter| is the mean radius of Jupiter with full precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@full@RadiusJupiter}{% +\ensuremath{% +6.991\expandafter\physconst@decimalsseparator% +1% +\times 10^{7}\m}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kRadiusJupiter} +% \changes{v1.1.0}{2020/02/03}{Add radius of Jupiter} +% |\kRadiusJupiter| is the mean radius of Jupiter. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\kRadiusJupiter}{% +\k@short@RadiusJupiter} +\else +\DeclareRobustCommand {\kRadiusJupiter}{% +\k@full@RadiusJupiter} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@short@RadiusJupiterNumeric} +% \changes{v1.1.0}{2020/02/03}{Add radius of Jupiter} +% |\k@short@RadiusJupiterNumeric| is the mean radius of Jupiter with reduced precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@short@RadiusJupiterNumeric}{% +\ensuremath{% +6.99e+07}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@full@RadiusJupiterNumeric} +% \changes{v1.1.0}{2020/02/03}{Add radius of Jupiter} +% |\k@full@RadiusJupiterNumeric| is the mean radius of Jupiter with full precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@full@RadiusJupiterNumeric}{% +\ensuremath{% +6.9911e+07}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kRadiusJupiterNumeric} +% \changes{v1.1.0}{2020/02/03}{Add radius of Jupiter} +% |\kRadiusJupiterNumeric| is the mean radius of Jupiter. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\kRadiusJupiterNumeric}{% +\k@short@RadiusJupiterNumeric} +\else +\DeclareRobustCommand {\kRadiusJupiterNumeric}{% +\k@full@RadiusJupiterNumeric} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi % %\subsection{Energy, Power, and Luminosity} % @@ -4109,7 +9114,7 @@ \DeclareRobustCommand{\k@SI@short@Rydberg}{% \ensuremath{% 2.18% -\times 10^{-21}\Joule}} +\times 10^{-18}\Joule}} % \end{macrocode} % \end{macro} % @@ -4130,7 +9135,7 @@ 2.179\expandafter\physconst@decimalsseparator% 775\expandafter\physconst@decimalsseparator% 77% -\times 10^{-21}\Joule}} +\times 10^{-18}\Joule}} % \end{macrocode} % \end{macro} % @@ -4149,7 +9154,7 @@ \DeclareRobustCommand{\k@cgs@short@Rydberg}{% \ensuremath{% 2.18% -\times 10^{-14}\erg}} +\times 10^{-11}\erg}} % \end{macrocode} % \end{macro} % @@ -4170,7 +9175,7 @@ 2.179\expandafter\physconst@decimalsseparator% 775\expandafter\physconst@decimalsseparator% 77% -\times 10^{-14}\erg}} +\times 10^{-11}\erg}} % \end{macrocode} % \end{macro} % @@ -4189,7 +9194,7 @@ \DeclareRobustCommand{\k@eV@short@Rydberg}{% \ensuremath{% 1.36% -\times 10^{-2}\eV}} +\times 10^{1}\eV}} % \end{macrocode} % \end{macro} % @@ -4210,7 +9215,7 @@ 1.360\expandafter\physconst@decimalsseparator% 509\expandafter\physconst@decimalsseparator% 03% -\times 10^{-2}\eV}} +\times 10^{1}\eV}} % \end{macrocode} % \end{macro} % @@ -4270,6 +9275,164 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@RydbergNumeric} +% |\k@SI@short@RydbergNumeric| is the Rydberg energy (the binding energy of Hydrogen) +% in SI units with reduced precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@RydbergNumeric}{% +\ensuremath{% +2.18e-18}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@RydbergNumeric} +% |\k@SI@full@RydbergNumeric| is the Rydberg energy (the binding energy of Hydrogen) +% in SI units with full precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@RydbergNumeric}{% +\ensuremath{% +2.17977577e-18}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@RydbergNumeric} +% |\k@cgs@short@RydbergNumeric| is the Rydberg energy (the binding energy of Hydrogen) +% in cgs units with reduced precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@RydbergNumeric}{% +\ensuremath{% +2.18e-11}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@RydbergNumeric} +% |\k@cgs@full@RydbergNumeric| is the Rydberg energy (the binding energy of Hydrogen) +% in cgs units with full precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@RydbergNumeric}{% +\ensuremath{% +2.17977577e-11}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@eV@short@RydbergNumeric} +% |\k@eV@short@RydbergNumeric| is the Rydberg energy (the binding energy of Hydrogen) +% in eV with reduced precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@eV@short@RydbergNumeric}{% +\ensuremath{% +1.36e+01}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@eV@full@RydbergNumeric} +% |\k@eV@full@RydbergNumeric| is the Rydberg energy (the binding energy of Hydrogen) +% in eV with full precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@eV@full@RydbergNumeric}{% +\ensuremath{% +1.36050903e+01}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kRydbergNumeric} +% |\kRydbergNumeric| is the Rydberg energy (the binding energy of Hydrogen). +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kRydbergNumeric}{% +\k@SI@short@RydbergNumeric} +\else +\DeclareRobustCommand {\kRydbergNumeric}{% +\k@SI@full@RydbergNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kRydbergNumeric}{% +\k@cgs@short@RydbergNumeric} +\else +\DeclareRobustCommand {\kRydbergNumeric}{% +\k@cgs@full@RydbergNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\keVRydbergNumeric} +% |\keVRydbergNumeric| is the Rydberg energy (the binding energy of Hydrogen). +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\keVRydbergNumeric}{% +\k@eV@short@RydbergNumeric} +\else +\DeclareRobustCommand {\keVRydbergNumeric}{% +\k@eV@full@RydbergNumeric} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@LuminositySun} % |\k@SI@short@LuminositySun| is the luminosity of the Sun in SI units with % reduced precision. @@ -4373,6 +9536,108 @@ %\iffalse %</package> %\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@short@LuminositySunNumeric} +% |\k@SI@short@LuminositySunNumeric| is the luminosity of the Sun in SI units with +% reduced precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@LuminositySunNumeric}{% +\ensuremath{% +3.83e+26}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@LuminositySunNumeric} +% |\k@SI@full@LuminositySunNumeric| is the luminosity of the Sun in SI units with full +% precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@LuminositySunNumeric}{% +\ensuremath{% +3.828e+26}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@LuminositySunNumeric} +% |\k@cgs@short@LuminositySunNumeric| is the luminosity of the Sun in cgs units with +% reduced precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@LuminositySunNumeric}{% +\ensuremath{% +3.83e+33}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@LuminositySunNumeric} +% |\k@cgs@full@LuminositySunNumeric| is the luminosity of the Sun in cgs units with +% full precision. +% Source: IAU~Resolution~B3~2015 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@LuminositySunNumeric}{% +\ensuremath{% +3.828e+33}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kLuminositySunNumeric} +% |\kLuminositySunNumeric| is the luminosity of the Sun. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kLuminositySunNumeric}{% +\k@SI@short@LuminositySunNumeric} +\else +\DeclareRobustCommand {\kLuminositySunNumeric}{% +\k@SI@full@LuminositySunNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kLuminositySunNumeric}{% +\k@cgs@short@LuminositySunNumeric} +\else +\DeclareRobustCommand {\kLuminositySunNumeric}{% +\k@cgs@full@LuminositySunNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi % %\subsection{Pressure} % @@ -4380,6 +9645,7 @@ %<*package> %\fi % \begin{macro}{\k@SI@short@PressureAtmosphere} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\k@SI@short@PressureAtmosphere| is the standard atmospheric pressure in SI % units with reduced precision. % Source: CODATA~2018 @@ -4399,6 +9665,7 @@ %<*package> %\fi % \begin{macro}{\k@SI@full@PressureAtmosphere} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\k@SI@full@PressureAtmosphere| is the standard atmospheric pressure in SI % units with full precision. % Source: CODATA~2018 @@ -4419,6 +9686,7 @@ %<*package> %\fi % \begin{macro}{\k@cgs@short@PressureAtmosphere} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\k@cgs@short@PressureAtmosphere| is the standard atmospheric pressure in cgs % units with reduced precision. % Source: CODATA~2018 @@ -4426,7 +9694,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@cgs@short@PressureAtmosphere}{% \ensuremath{% -1.01\barP[m]}} +1.01\barP}} % \end{macrocode} % \end{macro} % @@ -4437,6 +9705,7 @@ %<*package> %\fi % \begin{macro}{\k@cgs@full@PressureAtmosphere} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\k@cgs@full@PressureAtmosphere| is the standard atmospheric pressure in cgs % units with full precision. % Source: CODATA~2018 @@ -4445,7 +9714,7 @@ \DeclareRobustCommand{\k@cgs@full@PressureAtmosphere}{% \ensuremath{% 1.013\expandafter\physconst@decimalsseparator% -25\barP[m]}} +25\barP}} % \end{macrocode} % \end{macro} % @@ -4456,6 +9725,7 @@ %<*package> %\fi % \begin{macro}{\kPressureAtmosphere} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\kPressureAtmosphere| is the standard atmospheric pressure. % % \begin{macrocode} @@ -4485,7 +9755,115 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@PressureAtmosphereNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\k@SI@short@PressureAtmosphereNumeric| is the standard atmospheric pressure in SI +% units with reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@PressureAtmosphereNumeric}{% +\ensuremath{% +1.01e+05}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@PressureAtmosphereNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\k@SI@full@PressureAtmosphereNumeric| is the standard atmospheric pressure in SI +% units with full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@PressureAtmosphereNumeric}{% +\ensuremath{% +1.01325e+05}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@PressureAtmosphereNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\k@cgs@short@PressureAtmosphereNumeric| is the standard atmospheric pressure in cgs +% units with reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@PressureAtmosphereNumeric}{% +\ensuremath{% +1.01e+00}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@PressureAtmosphereNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\k@cgs@full@PressureAtmosphereNumeric| is the standard atmospheric pressure in cgs +% units with full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@PressureAtmosphereNumeric}{% +\ensuremath{% +1.01325e+00}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kPressureAtmosphereNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\kPressureAtmosphereNumeric| is the standard atmospheric pressure. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kPressureAtmosphereNumeric}{% +\k@SI@short@PressureAtmosphereNumeric} +\else +\DeclareRobustCommand {\kPressureAtmosphereNumeric}{% +\k@SI@full@PressureAtmosphereNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kPressureAtmosphereNumeric}{% +\k@cgs@short@PressureAtmosphereNumeric} +\else +\DeclareRobustCommand {\kPressureAtmosphereNumeric}{% +\k@cgs@full@PressureAtmosphereNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@PressureStandard} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\k@SI@short@PressureStandard| is the standard atmospheric pressure in SI % units with reduced precision. % Source: CODATA~2018 @@ -4505,6 +9883,7 @@ %<*package> %\fi % \begin{macro}{\k@SI@full@PressureStandard} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\k@SI@full@PressureStandard| is the standard atmospheric pressure in SI % units with full precision. % Source: CODATA~2018 @@ -4525,6 +9904,7 @@ %<*package> %\fi % \begin{macro}{\k@cgs@short@PressureStandard} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\k@cgs@short@PressureStandard| is the standard atmospheric pressure in cgs % units with reduced precision. % Source: CODATA~2018 @@ -4532,7 +9912,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@cgs@short@PressureStandard}{% \ensuremath{% -1.00\barP[m]}} +1.00\barP}} % \end{macrocode} % \end{macro} % @@ -4543,6 +9923,7 @@ %<*package> %\fi % \begin{macro}{\k@cgs@full@PressureStandard} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\k@cgs@full@PressureStandard| is the standard atmospheric pressure in cgs % units with full precision. % Source: CODATA~2018 @@ -4551,7 +9932,7 @@ \DeclareRobustCommand{\k@cgs@full@PressureStandard}{% \ensuremath{% 1.000\expandafter\physconst@decimalsseparator% -00\barP[m]}} +00\barP}} % \end{macrocode} % \end{macro} % @@ -4562,6 +9943,7 @@ %<*package> %\fi % \begin{macro}{\kPressureStandard} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} % |\kPressureStandard| is the standard atmospheric pressure. % % \begin{macrocode} @@ -4588,6 +9970,113 @@ %\iffalse %</package> %\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@short@PressureStandardNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\k@SI@short@PressureStandardNumeric| is the standard atmospheric pressure in SI +% units with reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@PressureStandardNumeric}{% +\ensuremath{% +1.00e+05}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@PressureStandardNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\k@SI@full@PressureStandardNumeric| is the standard atmospheric pressure in SI +% units with full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@PressureStandardNumeric}{% +\ensuremath{% +1.00000e+05}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@PressureStandardNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\k@cgs@short@PressureStandardNumeric| is the standard atmospheric pressure in cgs +% units with reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@PressureStandardNumeric}{% +\ensuremath{% +1.00e+00}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@PressureStandardNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\k@cgs@full@PressureStandardNumeric| is the standard atmospheric pressure in cgs +% units with full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@PressureStandardNumeric}{% +\ensuremath{% +1.00000e+00}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kPressureStandardNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix prefix of units.} +% |\kPressureStandardNumeric| is the standard atmospheric pressure. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kPressureStandardNumeric}{% +\k@SI@short@PressureStandardNumeric} +\else +\DeclareRobustCommand {\kPressureStandardNumeric}{% +\k@SI@full@PressureStandardNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kPressureStandardNumeric}{% +\k@cgs@short@PressureStandardNumeric} +\else +\DeclareRobustCommand {\kPressureStandardNumeric}{% +\k@cgs@full@PressureStandardNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi % %\subsection{Velocity, Speed and Acceleration} % @@ -4703,7 +10192,110 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@SpeedLightNumeric} +% |\k@SI@short@SpeedLightNumeric| is the speed of light in SI units with reduced +% precision. +% Source: CODATA 2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@SpeedLightNumeric}{% +\ensuremath{% +3.00e+08}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@SpeedLightNumeric} +% |\k@SI@full@SpeedLightNumeric| is the speed of light in SI units with full precision. +% Source: CODATA 2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@SpeedLightNumeric}{% +\ensuremath{% +2.99792458e+08}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@SpeedLightNumeric} +% |\k@cgs@short@SpeedLightNumeric| is the speed of light in cgs units with reduced +% precision. +% Source: CODATA 2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@SpeedLightNumeric}{% +\ensuremath{% +3.00e+10}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@SpeedLightNumeric} +% |\k@cgs@full@SpeedLightNumeric| is the speed of light in cgs units with full +% precision. +% Source: CODATA 2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@SpeedLightNumeric}{% +\ensuremath{% +2.99792458e+10}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kSpeedLightNumeric} +% |\kSpeedLightNumeric| is the speed of light. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kSpeedLightNumeric}{% +\k@SI@short@SpeedLightNumeric} +\else +\DeclareRobustCommand {\kSpeedLightNumeric}{% +\k@SI@full@SpeedLightNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kSpeedLightNumeric}{% +\k@cgs@short@SpeedLightNumeric} +\else +\DeclareRobustCommand {\kSpeedLightNumeric}{% +\k@cgs@full@SpeedLightNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@AccelGravity} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} % |\k@SI@short@AccelGravity| is the accelertion due to gravity at the surface % of the Earth in SI units with reduced precision. % Source: CODATA 2018 @@ -4711,8 +10303,7 @@ % \begin{macrocode} \DeclareRobustCommand{\k@SI@short@AccelGravity}{% \ensuremath{% -6.67% -\times 10^{-11}\N\kg^{-2}\m^2}} +9.81\m\Sec^{-2}}} % \end{macrocode} % \end{macro} % @@ -4723,6 +10314,8 @@ %<*package> %\fi % \begin{macro}{\k@SI@full@AccelGravity} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} % |\k@SI@full@AccelGravity| is the accelertion due to gravity at the surface of % the Earth in SI units with full precision. % Source: CODATA 2018 @@ -4730,9 +10323,8 @@ % \begin{macrocode} \DeclareRobustCommand{\k@SI@full@AccelGravity}{% \ensuremath{% -6.674\expandafter\physconst@decimalsseparator% -30% -\times 10^{-11}\N\kg^{-2}\m^2}} +9.806\expandafter\physconst@decimalsseparator% +65\m\Sec^{-2}}} % \end{macrocode} % \end{macro} % @@ -4743,6 +10335,8 @@ %<*package> %\fi % \begin{macro}{\k@cgs@short@AccelGravity} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} % |\k@cgs@short@AccelGravity| is the accelertion due to gravity at the surface % of the Earth in cgs units with reduced precision. % Source: CODATA 2018 @@ -4750,8 +10344,8 @@ % \begin{macrocode} \DeclareRobustCommand{\k@cgs@short@AccelGravity}{% \ensuremath{% -6.67% -\times 10^{-8}\dyne\gm^{-2}\cm^2}} +9.81% +\times 10^{2}\cm\Sec^{-2}}} % \end{macrocode} % \end{macro} % @@ -4762,6 +10356,8 @@ %<*package> %\fi % \begin{macro}{\k@cgs@full@AccelGravity} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} % |\k@cgs@full@AccelGravity| is the accelertion due to gravity at the surface % of the Earth in cgs units with full precision. % Source: CODATA 2018 @@ -4769,9 +10365,9 @@ % \begin{macrocode} \DeclareRobustCommand{\k@cgs@full@AccelGravity}{% \ensuremath{% -6.674\expandafter\physconst@decimalsseparator% -30% -\times 10^{-8}\dyne\gm^{-2}\cm^2}} +9.806\expandafter\physconst@decimalsseparator% +65% +\times 10^{2}\cm\Sec^{-2}}} % \end{macrocode} % \end{macro} % @@ -4782,6 +10378,8 @@ %<*package> %\fi % \begin{macro}{\kAccelGravity} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} % |\kAccelGravity| is the accelertion due to gravity at the surface of the % Earth. % @@ -4809,6 +10407,119 @@ %\iffalse %</package> %\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@short@AccelGravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} +% |\k@SI@short@AccelGravityNumeric| is the accelertion due to gravity at the surface +% of the Earth in SI units with reduced precision. +% Source: CODATA 2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@AccelGravityNumeric}{% +\ensuremath{% +9.81e+00}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@AccelGravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} +% |\k@SI@full@AccelGravityNumeric| is the accelertion due to gravity at the surface of +% the Earth in SI units with full precision. +% Source: CODATA 2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@AccelGravityNumeric}{% +\ensuremath{% +9.80665e+00}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@AccelGravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} +% |\k@cgs@short@AccelGravityNumeric| is the accelertion due to gravity at the surface +% of the Earth in cgs units with reduced precision. +% Source: CODATA 2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@AccelGravityNumeric}{% +\ensuremath{% +9.81e+02}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@AccelGravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} +% |\k@cgs@full@AccelGravityNumeric| is the accelertion due to gravity at the surface +% of the Earth in cgs units with full precision. +% Source: CODATA 2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@AccelGravityNumeric}{% +\ensuremath{% +9.80665e+02}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kAccelGravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Correct value.} +% \changes{v1.1.0}{2020/02/03}{Fix units.} +% |\kAccelGravityNumeric| is the accelertion due to gravity at the surface of the +% Earth. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kAccelGravityNumeric}{% +\k@SI@short@AccelGravityNumeric} +\else +\DeclareRobustCommand {\kAccelGravityNumeric}{% +\k@SI@full@AccelGravityNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kAccelGravityNumeric}{% +\k@cgs@short@AccelGravityNumeric} +\else +\DeclareRobustCommand {\kAccelGravityNumeric}{% +\k@cgs@full@AccelGravityNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi % %\subsection{Other Constants} % @@ -4816,6 +10527,7 @@ %<*package> %\fi % \begin{macro}{\k@SI@short@Coulomb} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@SI@short@Coulomb| is the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$) in % SI units with reduced precision. % Source: Calculated @@ -4824,7 +10536,7 @@ \DeclareRobustCommand{\k@SI@short@Coulomb}{% \ensuremath{% 8.99% -\times 10^{13}\N\m^2\Coulomb^{-2}}} +\times 10^{9}\N\m^2\Coulomb^{-2}}} % \end{macrocode} % \end{macro} % @@ -4835,6 +10547,7 @@ %<*package> %\fi % \begin{macro}{\k@SI@full@Coulomb} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@SI@full@Coulomb| is the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$) in % SI units with full precision. % Source: Calculated @@ -4845,7 +10558,7 @@ 8.987\expandafter\physconst@decimalsseparator% 551\expandafter\physconst@decimalsseparator% 79% -\times 10^{13}\N\m^2\Coulomb^{-2}}} +\times 10^{9}\N\m^2\Coulomb^{-2}}} % \end{macrocode} % \end{macro} % @@ -4856,6 +10569,7 @@ %<*package> %\fi % \begin{macro}{\k@cgs@short@Coulomb} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@cgs@short@Coulomb| is the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$) % in cgs units with reduced precision. % Source: Calculated @@ -4874,6 +10588,7 @@ %<*package> %\fi % \begin{macro}{\k@cgs@full@Coulomb} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@cgs@full@Coulomb| is the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$) in % cgs units with full precision. % Source: Calculated @@ -4894,6 +10609,7 @@ %<*package> %\fi % \begin{macro}{\kCoulomb} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\kCoulomb| is the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$). % % \begin{macrocode} @@ -4923,6 +10639,113 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@CoulombNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@SI@short@CoulombNumeric| is the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$) in +% SI units with reduced precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@CoulombNumeric}{% +\ensuremath{% +8.99e+09}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@CoulombNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@SI@full@CoulombNumeric| is the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$) in +% SI units with full precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@CoulombNumeric}{% +\ensuremath{% +8.98755179e+09}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@CoulombNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@cgs@short@CoulombNumeric| is the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$) +% in cgs units with reduced precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@CoulombNumeric}{% +\ensuremath{% +1.00e+00}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@CoulombNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@cgs@full@CoulombNumeric| is the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$) in +% cgs units with full precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@CoulombNumeric}{% +\ensuremath{% +1.00000000e+00}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kCoulombNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\kCoulombNumeric| is the Coulomb constant ($\frac{1}{4\pi\epsilon_0}$). +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kCoulombNumeric}{% +\k@SI@short@CoulombNumeric} +\else +\DeclareRobustCommand {\kCoulombNumeric}{% +\k@SI@full@CoulombNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kCoulombNumeric}{% +\k@cgs@short@CoulombNumeric} +\else +\DeclareRobustCommand {\kCoulombNumeric}{% +\k@cgs@full@CoulombNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@VacuumPermittivity} % |\k@SI@short@VacuumPermittivity| is the electric permittivity of the vacuum % in SI units with reduced precision. @@ -5035,16 +10858,119 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@VacuumPermittivityNumeric} +% |\k@SI@short@VacuumPermittivityNumeric| is the electric permittivity of the vacuum +% in SI units with reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@VacuumPermittivityNumeric}{% +\ensuremath{% +8.85e-12}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@VacuumPermittivityNumeric} +% |\k@SI@full@VacuumPermittivityNumeric| is the electric permittivity of the vacuum in +% SI units with full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@VacuumPermittivityNumeric}{% +\ensuremath{% +8.8541878128e-12}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@VacuumPermittivityNumeric} +% |\k@cgs@short@VacuumPermittivityNumeric| is the electric permittivity of the vacuum +% in cgs units with reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@VacuumPermittivityNumeric}{% +\ensuremath{% +7.96e-02}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@VacuumPermittivityNumeric} +% |\k@cgs@full@VacuumPermittivityNumeric| is the electric permittivity of the vacuum +% in cgs units with full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@VacuumPermittivityNumeric}{% +\ensuremath{% +7.9577471546e-02}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kVacuumPermittivityNumeric} +% |\kVacuumPermittivityNumeric| is the electric permittivity of the vacuum. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kVacuumPermittivityNumeric}{% +\k@SI@short@VacuumPermittivityNumeric} +\else +\DeclareRobustCommand {\kVacuumPermittivityNumeric}{% +\k@SI@full@VacuumPermittivityNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kVacuumPermittivityNumeric}{% +\k@cgs@short@VacuumPermittivityNumeric} +\else +\DeclareRobustCommand {\kVacuumPermittivityNumeric}{% +\k@cgs@full@VacuumPermittivityNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@VacuumPermeability} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\k@SI@short@VacuumPermeability| is the magnetic permeability of the vacuum % in SI units with reduced precision. -% Source: CODATA~2018 +% Source: Calculated % % \begin{macrocode} \DeclareRobustCommand{\k@SI@short@VacuumPermeability}{% \ensuremath{% -8.85% -\times 10^{-12}\N\Amp^{-2}}} +1.26% +\times 10^{-6}\N\Amp^{-2}}} % \end{macrocode} % \end{macro} % @@ -5055,18 +10981,19 @@ %<*package> %\fi % \begin{macro}{\k@SI@full@VacuumPermeability} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\k@SI@full@VacuumPermeability| is the magnetic permeability of the vacuum in % SI units with full precision. -% Source: CODATA~2018 +% Source: Calculated % % \begin{macrocode} \DeclareRobustCommand{\k@SI@full@VacuumPermeability}{% \ensuremath{% -8.854\expandafter\physconst@decimalsseparator% -187\expandafter\physconst@decimalsseparator% -812\expandafter\physconst@decimalsseparator% -8% -\times 10^{-12}\N\Amp^{-2}}} +1.256\expandafter\physconst@decimalsseparator% +637\expandafter\physconst@decimalsseparator% +062\expandafter\physconst@decimalsseparator% +1% +\times 10^{-6}\N\Amp^{-2}}} % \end{macrocode} % \end{macro} % @@ -5077,9 +11004,10 @@ %<*package> %\fi % \begin{macro}{\k@cgs@short@VacuumPermeability} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\k@cgs@short@VacuumPermeability| is the magnetic permeability of the vacuum % in cgs units with reduced precision. -% Source: CODATA~2018 +% Source: Calculated % % \begin{macrocode} \DeclareRobustCommand{\k@cgs@short@VacuumPermeability}{% @@ -5096,9 +11024,10 @@ %<*package> %\fi % \begin{macro}{\k@cgs@full@VacuumPermeability} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\k@cgs@full@VacuumPermeability| is the magnetic permeability of the vacuum % in cgs units with full precision. -% Source: CODATA~2018 +% Source: Calculated % % \begin{macrocode} \DeclareRobustCommand{\k@cgs@full@VacuumPermeability}{% @@ -5118,6 +11047,7 @@ %<*package> %\fi % \begin{macro}{\kVacuumPermeability} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\kVacuumPermeability| is the magnetic permeability of the vacuum. % % \begin{macrocode} @@ -5147,6 +11077,113 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@VacuumPermeabilityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\k@SI@short@VacuumPermeabilityNumeric| is the magnetic permeability of the vacuum +% in SI units with reduced precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@VacuumPermeabilityNumeric}{% +\ensuremath{% +1.26e-06}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@VacuumPermeabilityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\k@SI@full@VacuumPermeabilityNumeric| is the magnetic permeability of the vacuum in +% SI units with full precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@VacuumPermeabilityNumeric}{% +\ensuremath{% +1.2566370621e-06}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@VacuumPermeabilityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\k@cgs@short@VacuumPermeabilityNumeric| is the magnetic permeability of the vacuum +% in cgs units with reduced precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@VacuumPermeabilityNumeric}{% +\ensuremath{% +1.26e+01}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@VacuumPermeabilityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\k@cgs@full@VacuumPermeabilityNumeric| is the magnetic permeability of the vacuum +% in cgs units with full precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@VacuumPermeabilityNumeric}{% +\ensuremath{% +1.2566370614e+01}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kVacuumPermeabilityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\kVacuumPermeabilityNumeric| is the magnetic permeability of the vacuum. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kVacuumPermeabilityNumeric}{% +\k@SI@short@VacuumPermeabilityNumeric} +\else +\DeclareRobustCommand {\kVacuumPermeabilityNumeric}{% +\k@SI@full@VacuumPermeabilityNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kVacuumPermeabilityNumeric}{% +\k@cgs@short@VacuumPermeabilityNumeric} +\else +\DeclareRobustCommand {\kVacuumPermeabilityNumeric}{% +\k@cgs@full@VacuumPermeabilityNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@short@VacuumImpedance} % |\k@short@VacuumImpedance| is the characteristic impedance of the vacuum with % reduced precision. @@ -5208,6 +11245,62 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@short@VacuumImpedanceNumeric} +% |\k@short@VacuumImpedanceNumeric| is the characteristic impedance of the vacuum with +% reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@short@VacuumImpedanceNumeric}{% +\ensuremath{% +3.77e+02}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@full@VacuumImpedanceNumeric} +% |\k@full@VacuumImpedanceNumeric| is the characteristic impedance of the vacuum with +% full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@full@VacuumImpedanceNumeric}{% +\ensuremath{% +3.76730313668e+02}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kVacuumImpedanceNumeric} +% |\kVacuumImpedanceNumeric| is the characteristic impedance of the vacuum. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\kVacuumImpedanceNumeric}{% +\k@short@VacuumImpedanceNumeric} +\else +\DeclareRobustCommand {\kVacuumImpedanceNumeric}{% +\k@full@VacuumImpedanceNumeric} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@Boltzmann} % |\k@SI@short@Boltzmann| is the Boltzmann constant in SI units with reduced % precision. @@ -5374,7 +11467,165 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@BoltzmannNumeric} +% |\k@SI@short@BoltzmannNumeric| is the Boltzmann constant in SI units with reduced +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@BoltzmannNumeric}{% +\ensuremath{% +1.38e-23}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@BoltzmannNumeric} +% |\k@SI@full@BoltzmannNumeric| is the Boltzmann constant in SI units with full +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@BoltzmannNumeric}{% +\ensuremath{% +1.380649e-23}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@BoltzmannNumeric} +% |\k@cgs@short@BoltzmannNumeric| is the Boltzmann constant in cgs units with reduced +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@BoltzmannNumeric}{% +\ensuremath{% +1.38e-16}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@BoltzmannNumeric} +% |\k@cgs@full@BoltzmannNumeric| is the Boltzmann constant in cgs units with full +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@BoltzmannNumeric}{% +\ensuremath{% +1.380649e-16}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@eV@short@BoltzmannNumeric} +% |\k@eV@short@BoltzmannNumeric| is the Boltzmann constant in eV with reduced +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@eV@short@BoltzmannNumeric}{% +\ensuremath{% +8.62e-05}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@eV@full@BoltzmannNumeric} +% |\k@eV@full@BoltzmannNumeric| is the Boltzmann constant in eV with full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@eV@full@BoltzmannNumeric}{% +\ensuremath{% +8.617333e-05}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kBoltzmannNumeric} +% |\kBoltzmannNumeric| is the Boltzmann constant. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kBoltzmannNumeric}{% +\k@SI@short@BoltzmannNumeric} +\else +\DeclareRobustCommand {\kBoltzmannNumeric}{% +\k@SI@full@BoltzmannNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kBoltzmannNumeric}{% +\k@cgs@short@BoltzmannNumeric} +\else +\DeclareRobustCommand {\kBoltzmannNumeric}{% +\k@cgs@full@BoltzmannNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\keVBoltzmannNumeric} +% |\keVBoltzmannNumeric| is the Boltzmann constant. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\keVBoltzmannNumeric}{% +\k@eV@short@BoltzmannNumeric} +\else +\DeclareRobustCommand {\keVBoltzmannNumeric}{% +\k@eV@full@BoltzmannNumeric} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@Planck} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@SI@short@Planck| is the Planck constant in SI units with reduced % precision. % Source: CODATA~2018 @@ -5394,6 +11645,7 @@ %<*package> %\fi % \begin{macro}{\k@SI@full@Planck} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@SI@full@Planck| is the Planck constant in SI units with full precision. % Source: CODATA~2018 % @@ -5414,6 +11666,7 @@ %<*package> %\fi % \begin{macro}{\k@cgs@short@Planck} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@cgs@short@Planck| is the Planck constant in cgs units with reduced % precision. % Source: CODATA~2018 @@ -5433,6 +11686,7 @@ %<*package> %\fi % \begin{macro}{\k@cgs@full@Planck} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@cgs@full@Planck| is the Planck constant in cgs units with full precision. % Source: CODATA~2018 % @@ -5453,6 +11707,7 @@ %<*package> %\fi % \begin{macro}{\k@eV@short@Planck} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@eV@short@Planck| is the Planck constant in eV with reduced precision. % Source: CODATA~2018 % @@ -5471,6 +11726,7 @@ %<*package> %\fi % \begin{macro}{\k@eV@full@Planck} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@eV@full@Planck| is the Planck constant in eV with full precision. % Source: CODATA~2018 % @@ -5491,6 +11747,7 @@ %<*package> %\fi % \begin{macro}{\kPlanck} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\kPlanck| is the Planck constant. % % \begin{macrocode} @@ -5521,6 +11778,7 @@ %<*package> %\fi % \begin{macro}{\keVPlanck} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\keVPlanck| is the Planck constant. % % \begin{macrocode} @@ -5540,7 +11798,170 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@PlanckNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@SI@short@PlanckNumeric| is the Planck constant in SI units with reduced +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@PlanckNumeric}{% +\ensuremath{% +6.63e-34}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@PlanckNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@SI@full@PlanckNumeric| is the Planck constant in SI units with full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@PlanckNumeric}{% +\ensuremath{% +6.62607015e-34}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@PlanckNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@cgs@short@PlanckNumeric| is the Planck constant in cgs units with reduced +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@PlanckNumeric}{% +\ensuremath{% +6.63e-27}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@PlanckNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@cgs@full@PlanckNumeric| is the Planck constant in cgs units with full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@PlanckNumeric}{% +\ensuremath{% +6.62607015e-27}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@eV@short@PlanckNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@eV@short@PlanckNumeric| is the Planck constant in eV with reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@eV@short@PlanckNumeric}{% +\ensuremath{% +4.14e-15}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@eV@full@PlanckNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@eV@full@PlanckNumeric| is the Planck constant in eV with full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@eV@full@PlanckNumeric}{% +\ensuremath{% +4.13566770e-15}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kPlanckNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\kPlanckNumeric| is the Planck constant. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kPlanckNumeric}{% +\k@SI@short@PlanckNumeric} +\else +\DeclareRobustCommand {\kPlanckNumeric}{% +\k@SI@full@PlanckNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kPlanckNumeric}{% +\k@cgs@short@PlanckNumeric} +\else +\DeclareRobustCommand {\kPlanckNumeric}{% +\k@cgs@full@PlanckNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\keVPlanckNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\keVPlanckNumeric| is the Planck constant. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\keVPlanckNumeric}{% +\k@eV@short@PlanckNumeric} +\else +\DeclareRobustCommand {\keVPlanckNumeric}{% +\k@eV@full@PlanckNumeric} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@PlanckReduced} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@SI@short@PlanckReduced| is the Reduced Planck constant % $\left(\frac{h}{2\pi}\right)$ in SI units with reduced precision. % Source: Calculated @@ -5560,6 +11981,7 @@ %<*package> %\fi % \begin{macro}{\k@SI@full@PlanckReduced} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@SI@full@PlanckReduced| is the Reduced Planck constant % $\left(\frac{h}{2\pi}\right)$ in SI units with full precision. % Source: Calculated @@ -5581,6 +12003,7 @@ %<*package> %\fi % \begin{macro}{\k@cgs@short@PlanckReduced} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@cgs@short@PlanckReduced| is the Reduced Planck constant % $\left(\frac{h}{2\pi}\right)$ in cgs units with reduced precision. % Source: Calculated @@ -5600,6 +12023,7 @@ %<*package> %\fi % \begin{macro}{\k@cgs@full@PlanckReduced} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@cgs@full@PlanckReduced| is the Reduced Planck constant % $\left(\frac{h}{2\pi}\right)$ in cgs units with full precision. % Source: Calculated @@ -5621,6 +12045,7 @@ %<*package> %\fi % \begin{macro}{\k@eV@short@PlanckReduced} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@eV@short@PlanckReduced| is the Reduced Planck constant % $\left(\frac{h}{2\pi}\right)$ in eV with reduced precision. % Source: Calculated @@ -5640,6 +12065,7 @@ %<*package> %\fi % \begin{macro}{\k@eV@full@PlanckReduced} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@eV@full@PlanckReduced| is the Reduced Planck constant % $\left(\frac{h}{2\pi}\right)$ in eV with full precision. % Source: Calculated @@ -5661,6 +12087,7 @@ %<*package> %\fi % \begin{macro}{\kPlanckReduced} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\kPlanckReduced| is the Reduced Planck constant % $\left(\frac{h}{2\pi}\right)$. % @@ -5692,6 +12119,7 @@ %<*package> %\fi % \begin{macro}{\keVPlanckReduced} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\keVPlanckReduced| is the Reduced Planck constant % $\left(\frac{h}{2\pi}\right)$. % @@ -5712,7 +12140,176 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@PlanckReducedNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@SI@short@PlanckReducedNumeric| is the Reduced Planck constant +% $\left(\frac{h}{2\pi}\right)$ in SI units with reduced precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@PlanckReducedNumeric}{% +\ensuremath{% +1.05e-34}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@PlanckReducedNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@SI@full@PlanckReducedNumeric| is the Reduced Planck constant +% $\left(\frac{h}{2\pi}\right)$ in SI units with full precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@PlanckReducedNumeric}{% +\ensuremath{% +1.05457182e-34}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@PlanckReducedNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@cgs@short@PlanckReducedNumeric| is the Reduced Planck constant +% $\left(\frac{h}{2\pi}\right)$ in cgs units with reduced precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@PlanckReducedNumeric}{% +\ensuremath{% +1.05e-27}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@PlanckReducedNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@cgs@full@PlanckReducedNumeric| is the Reduced Planck constant +% $\left(\frac{h}{2\pi}\right)$ in cgs units with full precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@PlanckReducedNumeric}{% +\ensuremath{% +1.05457182e-27}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@eV@short@PlanckReducedNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@eV@short@PlanckReducedNumeric| is the Reduced Planck constant +% $\left(\frac{h}{2\pi}\right)$ in eV with reduced precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@eV@short@PlanckReducedNumeric}{% +\ensuremath{% +6.58e-16}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@eV@full@PlanckReducedNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@eV@full@PlanckReducedNumeric| is the Reduced Planck constant +% $\left(\frac{h}{2\pi}\right)$ in eV with full precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@eV@full@PlanckReducedNumeric}{% +\ensuremath{% +6.58211957e-16}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kPlanckReducedNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\kPlanckReducedNumeric| is the Reduced Planck constant +% $\left(\frac{h}{2\pi}\right)$. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kPlanckReducedNumeric}{% +\k@SI@short@PlanckReducedNumeric} +\else +\DeclareRobustCommand {\kPlanckReducedNumeric}{% +\k@SI@full@PlanckReducedNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kPlanckReducedNumeric}{% +\k@cgs@short@PlanckReducedNumeric} +\else +\DeclareRobustCommand {\kPlanckReducedNumeric}{% +\k@cgs@full@PlanckReducedNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\keVPlanckReducedNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\keVPlanckReducedNumeric| is the Reduced Planck constant +% $\left(\frac{h}{2\pi}\right)$. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\keVPlanckReducedNumeric}{% +\k@eV@short@PlanckReducedNumeric} +\else +\DeclareRobustCommand {\keVPlanckReducedNumeric}{% +\k@eV@full@PlanckReducedNumeric} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@Gravity} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\k@SI@short@Gravity| is Newton's gravitational constant in SI units with % reduced precision. % Source: CODATA~2018 @@ -5721,7 +12318,7 @@ \DeclareRobustCommand{\k@SI@short@Gravity}{% \ensuremath{% 6.67% -\times 10^{-15}\N\kg^{-2}\m^2}} +\times 10^{-11}\N\kg^{-2}\m^2}} % \end{macrocode} % \end{macro} % @@ -5732,6 +12329,7 @@ %<*package> %\fi % \begin{macro}{\k@SI@full@Gravity} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\k@SI@full@Gravity| is Newton's gravitational constant in SI units with full % precision. % Source: CODATA~2018 @@ -5741,7 +12339,7 @@ \ensuremath{% 6.674\expandafter\physconst@decimalsseparator% 30% -\times 10^{-15}\N\kg^{-2}\m^2}} +\times 10^{-11}\N\kg^{-2}\m^2}} % \end{macrocode} % \end{macro} % @@ -5752,6 +12350,7 @@ %<*package> %\fi % \begin{macro}{\k@cgs@short@Gravity} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\k@cgs@short@Gravity| is Newton's gravitational constant in cgs units with % reduced precision. % Source: CODATA~2018 @@ -5771,6 +12370,7 @@ %<*package> %\fi % \begin{macro}{\k@cgs@full@Gravity} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\k@cgs@full@Gravity| is Newton's gravitational constant in cgs units with % full precision. % Source: CODATA~2018 @@ -5791,6 +12391,7 @@ %<*package> %\fi % \begin{macro}{\kGravity} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} % |\kGravity| is Newton's gravitational constant. % % \begin{macrocode} @@ -5820,7 +12421,115 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@GravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\k@SI@short@GravityNumeric| is Newton's gravitational constant in SI units with +% reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@GravityNumeric}{% +\ensuremath{% +6.67e-11}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@GravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\k@SI@full@GravityNumeric| is Newton's gravitational constant in SI units with full +% precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@GravityNumeric}{% +\ensuremath{% +6.67430e-11}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@GravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\k@cgs@short@GravityNumeric| is Newton's gravitational constant in cgs units with +% reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@GravityNumeric}{% +\ensuremath{% +6.67e-08}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@GravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\k@cgs@full@GravityNumeric| is Newton's gravitational constant in cgs units with +% full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@GravityNumeric}{% +\ensuremath{% +6.67430e-08}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kGravityNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix value of constant.} +% |\kGravityNumeric| is Newton's gravitational constant. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kGravityNumeric}{% +\k@SI@short@GravityNumeric} +\else +\DeclareRobustCommand {\kGravityNumeric}{% +\k@SI@full@GravityNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kGravityNumeric}{% +\k@cgs@short@GravityNumeric} +\else +\DeclareRobustCommand {\kGravityNumeric}{% +\k@cgs@full@GravityNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@StefanBoltzmann} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@SI@short@StefanBoltzmann| is the Stefan-Boltzmann blackbody constant % $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$ in SI units with reduced % precision. @@ -5830,7 +12539,7 @@ \DeclareRobustCommand{\k@SI@short@StefanBoltzmann}{% \ensuremath{% 5.67% -\times 10^{-6}\J\Kelvin^{-4}\m^{-2}\Sec^{-1}}} +\times 10^{-8}\J\Kelvin^{-4}\m^{-2}\Sec^{-1}}} % \end{macrocode} % \end{macro} % @@ -5841,6 +12550,7 @@ %<*package> %\fi % \begin{macro}{\k@SI@full@StefanBoltzmann} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@SI@full@StefanBoltzmann| is the Stefan-Boltzmann blackbody constant % $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$ in SI units with full % precision. @@ -5851,7 +12561,7 @@ \ensuremath{% 5.670\expandafter\physconst@decimalsseparator% 374% -\times 10^{-6}\J\Kelvin^{-4}\m^{-2}\Sec^{-1}}} +\times 10^{-8}\J\Kelvin^{-4}\m^{-2}\Sec^{-1}}} % \end{macrocode} % \end{macro} % @@ -5862,6 +12572,7 @@ %<*package> %\fi % \begin{macro}{\k@cgs@short@StefanBoltzmann} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@cgs@short@StefanBoltzmann| is the Stefan-Boltzmann blackbody constant % $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$ in cgs units with reduced % precision. @@ -5882,6 +12593,7 @@ %<*package> %\fi % \begin{macro}{\k@cgs@full@StefanBoltzmann} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\k@cgs@full@StefanBoltzmann| is the Stefan-Boltzmann blackbody constant % $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$ in cgs units with full % precision. @@ -5903,6 +12615,7 @@ %<*package> %\fi % \begin{macro}{\kStefanBoltzmann} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} % |\kStefanBoltzmann| is the Stefan-Boltzmann blackbody constant % $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$. % @@ -5933,6 +12646,118 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@StefanBoltzmannNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@SI@short@StefanBoltzmannNumeric| is the Stefan-Boltzmann blackbody constant +% $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$ in SI units with reduced +% precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@StefanBoltzmannNumeric}{% +\ensuremath{% +5.67e-08}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@StefanBoltzmannNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@SI@full@StefanBoltzmannNumeric| is the Stefan-Boltzmann blackbody constant +% $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$ in SI units with full +% precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@StefanBoltzmannNumeric}{% +\ensuremath{% +5.670374e-08}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@StefanBoltzmannNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@cgs@short@StefanBoltzmannNumeric| is the Stefan-Boltzmann blackbody constant +% $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$ in cgs units with reduced +% precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@StefanBoltzmannNumeric}{% +\ensuremath{% +5.67e-05}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@StefanBoltzmannNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\k@cgs@full@StefanBoltzmannNumeric| is the Stefan-Boltzmann blackbody constant +% $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$ in cgs units with full +% precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@StefanBoltzmannNumeric}{% +\ensuremath{% +5.670374e-05}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kStefanBoltzmannNumeric} +% \changes{v1.1.0}{2020/02/03}{Fix order of magnitude of constant.} +% |\kStefanBoltzmannNumeric| is the Stefan-Boltzmann blackbody constant +% $\left(\frac{2\pi^5k_\mathrm{B}}{15h^3c^2}\right)$. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kStefanBoltzmannNumeric}{% +\k@SI@short@StefanBoltzmannNumeric} +\else +\DeclareRobustCommand {\kStefanBoltzmannNumeric}{% +\k@SI@full@StefanBoltzmannNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kStefanBoltzmannNumeric}{% +\k@cgs@short@StefanBoltzmannNumeric} +\else +\DeclareRobustCommand {\kStefanBoltzmannNumeric}{% +\k@cgs@full@StefanBoltzmannNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@SI@short@Radiation} % |\k@SI@short@Radiation| is the radiation constant, $a % \left(\frac{8\pi^5k_\mathrm{B}^4}{15c^3h^3}\right)$ in SI units with reduced @@ -6046,6 +12871,113 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@SI@short@RadiationNumeric} +% |\k@SI@short@RadiationNumeric| is the radiation constant, $a +% \left(\frac{8\pi^5k_\mathrm{B}^4}{15c^3h^3}\right)$ in SI units with reduced +% precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@short@RadiationNumeric}{% +\ensuremath{% +7.57e-16}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@SI@full@RadiationNumeric} +% |\k@SI@full@RadiationNumeric| is the radiation constant, $a +% \left(\frac{8\pi^5k_\mathrm{B}^4}{15c^3h^3}\right)$ in SI units with full +% precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@SI@full@RadiationNumeric}{% +\ensuremath{% +7.565733e-16}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@short@RadiationNumeric} +% |\k@cgs@short@RadiationNumeric| is the radiation constant, $a +% \left(\frac{8\pi^5k_\mathrm{B}^4}{15c^3h^3}\right)$ in cgs units with reduced +% precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@short@RadiationNumeric}{% +\ensuremath{% +7.57e-15}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@cgs@full@RadiationNumeric} +% |\k@cgs@full@RadiationNumeric| is the radiation constant, $a +% \left(\frac{8\pi^5k_\mathrm{B}^4}{15c^3h^3}\right)$ in cgs units with full +% precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@cgs@full@RadiationNumeric}{% +\ensuremath{% +7.565733e-15}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kRadiationNumeric} +% |\kRadiationNumeric| is the radiation constant, $a +% \left(\frac{8\pi^5k_\mathrm{B}^4}{15c^3h^3}\right)$. +% +% \begin{macrocode} +\ifx\cgsunits\undefined +\ifx\shortconst\undefined +\DeclareRobustCommand {\kRadiationNumeric}{% +\k@SI@short@RadiationNumeric} +\else +\DeclareRobustCommand {\kRadiationNumeric}{% +\k@SI@full@RadiationNumeric} +\fi +\else +\ifx\shortconst\undefined +\DeclareRobustCommand {\kRadiationNumeric}{% +\k@cgs@short@RadiationNumeric} +\else +\DeclareRobustCommand {\kRadiationNumeric}{% +\k@cgs@full@RadiationNumeric} +\fi +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@short@FineStructure} % |\k@short@FineStructure| is the fine structure constant with reduced % precision. @@ -6105,6 +13037,61 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@short@FineStructureNumeric} +% |\k@short@FineStructureNumeric| is the fine structure constant with reduced +% precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@short@FineStructureNumeric}{% +\ensuremath{% +7.30e-03}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@full@FineStructureNumeric} +% |\k@full@FineStructureNumeric| is the fine structure constant with full precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@full@FineStructureNumeric}{% +\ensuremath{% +7.29735257e-03}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kFineStructureNumeric} +% |\kFineStructureNumeric| is the fine structure constant. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\kFineStructureNumeric}{% +\k@short@FineStructureNumeric} +\else +\DeclareRobustCommand {\kFineStructureNumeric}{% +\k@full@FineStructureNumeric} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@short@FineStructureReciprocal} % |\k@short@FineStructureReciprocal| is the reciprocal of the fine structure % constant with reduced precision. @@ -6165,6 +13152,62 @@ %\iffalse %<*package> %\fi +% \begin{macro}{\k@short@FineStructureReciprocalNumeric} +% |\k@short@FineStructureReciprocalNumeric| is the reciprocal of the fine structure +% constant with reduced precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@short@FineStructureReciprocalNumeric}{% +\ensuremath{% +1.37e+02}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@full@FineStructureReciprocalNumeric} +% |\k@full@FineStructureReciprocalNumeric| is the reciprocal of the fine structure +% constant with full precision. +% Source: Calculated +% +% \begin{macrocode} +\DeclareRobustCommand{\k@full@FineStructureReciprocalNumeric}{% +\ensuremath{% +1.37035999e+02}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kFineStructureReciprocalNumeric} +% |\kFineStructureReciprocalNumeric| is the reciprocal of the fine structure constant. +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\kFineStructureReciprocalNumeric}{% +\k@short@FineStructureReciprocalNumeric} +\else +\DeclareRobustCommand {\kFineStructureReciprocalNumeric}{% +\k@full@FineStructureReciprocalNumeric} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi % \begin{macro}{\k@short@Avogadro} % |\k@short@Avogadro| is Avogadro's Number (the number of particles in a mole) % with reduced precision. @@ -6222,6 +13265,62 @@ %\iffalse %</package> %\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@short@AvogadroNumeric} +% |\k@short@AvogadroNumeric| is Avogadro's Number (the number of particles in a mole) +% with reduced precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@short@AvogadroNumeric}{% +\ensuremath{% +6.02e+23}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\k@full@AvogadroNumeric} +% |\k@full@AvogadroNumeric| is Avogadro's Number (the number of particles in a mole) +% with full precision. +% Source: CODATA~2018 +% +% \begin{macrocode} +\DeclareRobustCommand{\k@full@AvogadroNumeric}{% +\ensuremath{% +6.02240760e+23}} +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi +%\iffalse +%<*package> +%\fi +% \begin{macro}{\kAvogadroNumeric} +% |\kAvogadroNumeric| is Avogadro's Number (the number of particles in a mole). +% +% \begin{macrocode} +\ifx\shortconst\undefined +\DeclareRobustCommand {\kAvogadroNumeric}{% +\k@short@AvogadroNumeric} +\else +\DeclareRobustCommand {\kAvogadroNumeric}{% +\k@full@AvogadroNumeric} +\fi +% \end{macrocode} +% \end{macro} +% +%\iffalse +%</package> +%\fi % \CheckSum{0} % \Finale \makeatother diff --git a/macros/latex/contrib/physconst/physconst.pdf b/macros/latex/contrib/physconst/physconst.pdf Binary files differindex 67867850bc..ead2ea8bc7 100644 --- a/macros/latex/contrib/physconst/physconst.pdf +++ b/macros/latex/contrib/physconst/physconst.pdf diff --git a/macros/latex/contrib/thuthesis/README.md b/macros/latex/contrib/thuthesis/README.md index 3691ac56b6..7c09042602 100644 --- a/macros/latex/contrib/thuthesis/README.md +++ b/macros/latex/contrib/thuthesis/README.md @@ -6,15 +6,15 @@ [![CTAN](https://img.shields.io/ctan/v/thuthesis)](https://www.ctan.org/pkg/thuthesis) # What's ThuThesis? -ThuThesis is an abbreviation of <b>T</b>sing<b>h</b>ua <b>U</b>niversity <b>Thesis</b> LaTeX Template. +**ThuThesis** is an abbreviation of **T**sing**h**ua **U**niversity **Thesis** LaTeX Template. This package establishes a simple and easy-to-use LaTeX template for Tsinghua dissertations, including general undergraduate research papers, masters theses, doctoral dissertations, and postdoctoral reports. An English translation of this README follows the Chinese below. -# ThuThesis是什么? -ThuThesis为 <b>T</b>sing<b>h</b>ua <b>U</b>niversity <b>Thesis</b> LaTeX Template之缩写。 +# ThuThesis 是什么? +**ThuThesis** 是 **T**sing**h**ua **U**niversity **Thesis** LaTeX Template 的缩写。 -此宏包旨在建立一个简单易用的清华大学学位论文LaTeX模板,包括本科综合论文训练、硕士论文、博士论文以及博士后出站报告。 +此宏包旨在建立一个简单易用的清华大学学位论文 LaTeX 模板,包括本科综合论文训练、硕士论文、博士论文以及博士后出站报告。 # 文档 请[下载](https://github.com/xueruini/thuthesis/releases)模板,里面包括具体使用说明以及示例文档: @@ -31,9 +31,11 @@ ThuThesis为 <b>T</b>sing<b>h</b>ua <b>U</b>niversity <b>Thesis</b> LaTeX Templa 通过 TeX 发行版工具自动从 [CTAN](https://www.ctan.org/pkg/thuthesis) 更新。 ## 手动更新 -从 [GitHub](https://github.com/xueruini/thuthesis) 下载放入论文目录,执行命令(Windows 用户在文件夹空白处按`Shift+鼠标右键`,点击“在此处打开命令行窗口”): +从 [GitHub](https://github.com/xueruini/thuthesis) 下载放入论文目录,执行命令(Windows 用户在文件夹空白处按 `Shift + 鼠标右键`,点击“在此处打开命令行窗口”): - xetex thuthesis.ins +```shell +xetex thuthesis.ins +``` 即可得到 `thuthesis.cls` 等模板文件。 @@ -58,6 +60,8 @@ make [{all|thesis|spine|doc|clean|cleanall|distclean}] * `make cleanall` 删除示例文件的中间文件和 main.pdf; * `make distclean` 删除示例文件和模板的所有中间文件和 PDF。 +--- + # Documentation Download and unzip the template. Specific usage documentation and examples can be found in the files below. At present, these documents are <b>only available in Chinese</b>: * Template usage (thuthesis.pdf) @@ -69,12 +73,14 @@ Download and unzip the template. Specific usage documentation and examples can b # Updates ## Automatic -Get the most up-to-date published version of the TeX tools from [CTAN](https://www.ctan.org/pkg/thuthesis). +Get the most up-to-date published version with your TeX distribution from [CTAN](https://www.ctan.org/pkg/thuthesis). ## Manual -Download the package from [GitHub](https://github.com/xueruini/thuthesis) to the root directory of your thesis, then execute the command (Windows users `Shift + right click` white area in the file window and click "Open command line window here from the popup menu"): +Download the package from [GitHub](https://github.com/xueruini/thuthesis) to the root directory of your thesis, then execute the command (Windows users `Shift + right click` white area in the file window and click "Open command line window here" from the popup menu): - xetex thuthesis.ins +```shell +xetex thuthesis.ins +``` You'll get `thuthesis.cls` along with other template files. diff --git a/macros/latex/contrib/thuthesis/data/denotation.tex b/macros/latex/contrib/thuthesis/data/denotation.tex index aeefccbf9a..962c6bb444 100644 --- a/macros/latex/contrib/thuthesis/data/denotation.tex +++ b/macros/latex/contrib/thuthesis/data/denotation.tex @@ -12,7 +12,7 @@ \item[MPBI] 聚苯并咪唑模型化合物,N-苯基苯并咪唑 \item[PY] 聚吡咙 \item[PMDA-BDA] 均苯四酸二酐与联苯四胺合成的聚吡咙薄膜 -\item[$\Delta G$] 活化自由能 (Activation Free Energy) +\item[$\increment G$] 活化自由能 (Activation Free Energy) \item[$\chi$] 传输系数 (Transmission Coefficient) \item[$E$] 能量 \item[$m$] 质量 @@ -49,7 +49,7 @@ % \nomenclature{MPBI}{聚苯并咪唑模型化合物,N-苯基苯并咪唑} % \nomenclature{PY}{聚吡咙} % \nomenclature{PMDA-BDA}{均苯四酸二酐与联苯四胺合成的聚吡咙薄膜} -% \nomenclature{$\Delta G$}{活化自由能 (Activation Free Energy)} +% \nomenclature{$\increment G$}{活化自由能 (Activation Free Energy)} % \nomenclature{$\chi$}{传输系数 (Transmission Coefficient)} % \nomenclature{$E$}{能量} % \nomenclature{$m$}{质量} diff --git a/macros/latex/contrib/thuthesis/main.pdf b/macros/latex/contrib/thuthesis/main.pdf Binary files differindex 25ebfc5702..9ed6f02a7a 100644 --- a/macros/latex/contrib/thuthesis/main.pdf +++ b/macros/latex/contrib/thuthesis/main.pdf diff --git a/macros/latex/contrib/thuthesis/main.tex b/macros/latex/contrib/thuthesis/main.tex index aa45220054..a84e0b479e 100644 --- a/macros/latex/contrib/thuthesis/main.tex +++ b/macros/latex/contrib/thuthesis/main.tex @@ -2,7 +2,7 @@ % !TeX program = xelatex % !TeX spellcheck = en_US -\documentclass[fontset=windows,degree=master]{thuthesis} +\documentclass[degree=master,fontset=windows]{thuthesis} % 学位 degree: % doctor | master | bachelor | postdoc % 学位类型 degree-type: diff --git a/macros/latex/contrib/thuthesis/ref/appendix.bib b/macros/latex/contrib/thuthesis/ref/appendix.bib index 4fbfb750fc..1e4cc0daef 100644 --- a/macros/latex/contrib/thuthesis/ref/appendix.bib +++ b/macros/latex/contrib/thuthesis/ref/appendix.bib @@ -1,14 +1,14 @@ @book{abrahams99tex, - author = {Paul W. Abrahams and Karl Berry and Kathryn A. Hargreaves}, - title = {{\TeX} for the Impatient}, - publisher = {Addison-Wesley}, - year = {1990}, + author = {Paul W. Abrahams and Karl Berry and Kathryn A. Hargreaves}, + title = {{\TeX} for the Impatient}, + publisher = {Addison-Wesley}, + year = 1990, } @incollection{salomon1995advanced, - author = {David Salomon}, - title = {The advanced {\TeX}book}, - address = {New York}, - publisher = {Springer}, - year = {1995}, + author = {David Salomon}, + title = {The advanced {\TeX}book}, + address = {New York}, + publisher = {Springer}, + year = 1995, } diff --git a/macros/latex/contrib/thuthesis/ref/refs.bib b/macros/latex/contrib/thuthesis/ref/refs.bib index f9d99381e7..120569caab 100644 --- a/macros/latex/contrib/thuthesis/ref/refs.bib +++ b/macros/latex/contrib/thuthesis/ref/refs.bib @@ -1,113 +1,113 @@ @book{IEEE-1363, - author = {{IEEE Std 1363-2000}}, - title = {{IEEE} Standard Specifications for Public-Key Cryptography}, - address = {New York}, - publisher = {IEEE}, - year = 2000 + author = {{IEEE Std 1363-2000}}, + title = {{IEEE} Standard Specifications for Public-Key Cryptography}, + address = {New York}, + publisher = {IEEE}, + year = 2000 } @inproceedings{kocher99, - author = {C. Kocher and J. Jaffe and B. Jun}, - title = {Differential Power Analysis}, - editor = {M. Wiener}, - booktitle = {Advances in Cryptology ({CRYPTO}~'99)}, - series = {Lecture Notes in Computer Science}, - volume = 1666, - pages = {388-397}, - publisher = {Springer-Verlag}, - address = {Germany}, - month = {August}, - year = 1999 + author = {C. Kocher and J. Jaffe and B. Jun}, + title = {Differential Power Analysis}, + editor = {M. Wiener}, + booktitle = {Advances in Cryptology ({CRYPTO}~'99)}, + series = {Lecture Notes in Computer Science}, + volume = 1666, + pages = {388-397}, + publisher = {Springer-Verlag}, + address = {Germany}, + month = {August}, + year = 1999 } @incollection{Krasnogor2004e, - author = {N. Krasnogor}, - title = {Towards robust memetic algorithms}, - booktitle = {Recent Advances in Memetic Algorithms}, - publisher = {Springer Berlin Heidelberg}, - year = 2004, - pages = {185-207}, - editor = {W.E. Hart and N. Krasnogor and J.E. Smith}, - volume = 166, - series = {Studies in Fuzziness and Soft Computing}, - address = {New York}, + author = {N. Krasnogor}, + title = {Towards robust memetic algorithms}, + booktitle = {Recent Advances in Memetic Algorithms}, + publisher = {Springer Berlin Heidelberg}, + year = 2004, + pages = {185-207}, + editor = {W.E. Hart and N. Krasnogor and J.E. Smith}, + volume = 166, + series = {Studies in Fuzziness and Soft Computing}, + address = {New York}, } @incollection{zjsw, - author = {班固}, - title = {苏武传}, - booktitle = {传记散文英华}, - publisher = {湖北人民出版社}, - year = 1998, - pages = {65-69}, - editor = {郑在瀛 and 汪超宏 and 周文复}, - volume = 2, - series = {新古文观止丛书}, - address = {武汉}, + author = {班固}, + title = {苏武传}, + booktitle = {传记散文英华}, + publisher = {湖北人民出版社}, + year = 1998, + pages = {65-69}, + editor = {郑在瀛 and 汪超宏 and 周文复}, + volume = 2, + series = {新古文观止丛书}, + address = {武汉}, } @inbook{clzs, - author = {阎真}, - title = {沧浪之水}, - chapter = {大人物还是讲人情的}, - pages = {185-207}, - publisher = {人民文学出版社}, - address = {北京}, - year = 2001, + author = {阎真}, + title = {沧浪之水}, + chapter = {大人物还是讲人情的}, + pages = {185-207}, + publisher = {人民文学出版社}, + address = {北京}, + year = 2001, } @book{tex, - author = "Donald E. Knuth", - title = "The {\TeX}book", - publisher = "Addison-Wesley Publishing Company", - address = "Reading, MA", - year = 1989, - edition = "15th", + author = "Donald E. Knuth", + title = "The {\TeX}book", + publisher = "Addison-Wesley Publishing Company", + address = "Reading, MA", + year = 1989, + edition = "15th", } @book{companion, - author = "Michel Goosens and Frank Mittelbach and Alexander Samarin", - title = "The {\LaTeX} Companion", - publisher = "Addison-Wesley Publishing Company", - address = "Reading, MA", - PAGES = "112--125", - year = 1994, + author = "Michel Goosens and Frank Mittelbach and Alexander Samarin", + title = "The {\LaTeX} Companion", + publisher = "Addison-Wesley Publishing Company", + address = "Reading, MA", + PAGES = "112--125", + year = 1994, } @article{ELIDRISSI94, - author = "{Chafik El Idrissi}, M. and {Roney}, A. and {Frigon}, C. and - {Larzilli{\`e}re}, M.", - title = "Measurements of total kinetic-energy released to the {$N=2$} - dissociation limit of {H}$_2$ --- evidence of the dissociation - of very high vibrational {R}ydberg states of {H}$_2$ by - doubly-excited states", - journal = "Chemical Physics Letters", - pages = "260-266", - volume = 224, - number = 10, - year = 1994, + author = "{Chafik El Idrissi}, M. and {Roney}, A. and {Frigon}, C. + and {Larzilli{\`e}re}, M.", + title = "Measurements of total kinetic-energy released to the + {$N=2$} dissociation limit of {H}$_2$ --- evidence of the + dissociation of very high vibrational {R}ydberg states of + {H}$_2$ by doubly-excited states", + journal = "Chemical Physics Letters", + pages = "260-266", + volume = 224, + number = 10, + year = 1994, } @article{MELLINGER96, - author = "Mellinger, A. and Vidal, C. R. and Jungen, Ch.", - title = "Laser reduced fluorescence study of the carbon-monoxide nd + author = "Mellinger, A. and Vidal, C. R. and Jungen, Ch.", + title = "Laser reduced fluorescence study of the carbon-monoxide nd triplet {R}ydberg series-experimental results and multichannel quantum-defect analysis", - journal = "J. Chem. Phys.", - pages = "8913-8921", - volume = 104, - number = 5, - year = 1996, + journal = "J. Chem. Phys.", + pages = "8913-8921", + volume = 104, + number = 5, + year = 1996, } @article{SHELL02, - author = "Michael Shell", - title = "How to Use the {IEEEtran \LaTeX} Class", - journal = "Journal of {\LaTeX} Class Files", - year = 2002, - volume = 12, - number = 4, - pages = "100--120" + author = "Michael Shell", + title = "How to Use the {IEEEtran \LaTeX} Class", + journal = "Journal of {\LaTeX} Class Files", + year = 2002, + volume = 12, + number = 4, + pages = "100--120" } @TechReport{NPB2, @@ -121,35 +121,35 @@ } @inproceedings{DPMG, - author = {Kim, Sangbum and Woo, Namyoon and Yeom, Heon Y. and Park, + author = {Kim, Sangbum and Woo, Namyoon and Yeom, Heon Y. and Park, Taesoon and Park, Hyoungwoo}, - title = {Design and {I}mplementation of {D}ynamic {P}rocess + title = {Design and {I}mplementation of {D}ynamic {P}rocess {M}anagement for {G}rid-enabled {MPICH}}, - booktitle = {the 10th European PVM/MPI Users' Group Conference}, - editor = {Jack Dongarra and Domenico Laforenza and Salvatore Orlando}, - publisher = {Springer-Verlag}, - year = 2003, - address = {Venice, Italy}, - month = sep, + booktitle = {the 10th European PVM/MPI Users' Group Conference}, + editor = {Jack Dongarra and Domenico Laforenza and Salvatore Orlando}, + publisher = {Springer-Verlag}, + year = 2003, + address = {Venice, Italy}, + month = sep, } @inproceedings{cnproceed, - author = {王重阳 and 黄药师 and 欧阳峰 and 洪七公 and 段皇帝}, - publisher = {金大庸}, - title = {武林高手从入门到精通}, - booktitle = {第~$N$~次华山论剑}, - year = 2006, - address = {西安, 中国}, - month = sep, + author = {王重阳 and 黄药师 and 欧阳峰 and 洪七公 and 段皇帝}, + publisher = {金大庸}, + title = {武林高手从入门到精通}, + booktitle = {第~$N$~次华山论剑}, + year = 2006, + address = {西安, 中国}, + month = sep, } @article{cnarticle, - author = "贾宝玉 and 林黛玉 and 薛宝钗 and 贾探春", - title = "论刘姥姥食量大如牛之现实意义", - journal = "红楼梦杂谈", - pages = "260--266", - volume = 224, - year = 1800, + author = "贾宝玉 and 林黛玉 and 薛宝钗 and 贾探春", + title = "论刘姥姥食量大如牛之现实意义", + journal = "红楼梦杂谈", + pages = "260--266", + volume = 224, + year = 1800, } @mastersthesis{zhubajie, @@ -187,37 +187,36 @@ } @inbook{ColdSources, - author = {P. Gr{\"o}ning and L. Nilsson and P. Ruffieux and R. + author = {P. Gr{\"o}ning and L. Nilsson and P. Ruffieux and R. Clergereaux and O. Gr{\"o}ning}, - title = {Encyclopedia of Nanoscience and Nanotechnology}, - pages = {547--579}, - publisher = {American Scientific Publishers}, - year = 2004, - volume = 1, - address = {USA}, + title = {Encyclopedia of Nanoscience and Nanotechnology}, + pages = {547--579}, + publisher = {American Scientific Publishers}, + year = 2004, + volume = 1, + address = {USA}, } @online{chuban2001, - author = {萧钰}, - title = {出版业信息化迈入快车道}, - date = {2001-12-19}, - urldate = {2002-04-15}, - url = {http://www.creader.com/news/200112190019.htm}, + author = {萧钰}, + title = {出版业信息化迈入快车道}, + date = {2001-12-19}, + urldate = {2002-04-15}, + url = {http://www.creader.com/news/200112190019.htm}, } @online{oclc2000, - author = {{Online Computer Library Center, Inc.}}, - title = {History of {OCLC}}, - year = 2000, - urldate = {2000-01-08}, - url = {http://www.oclc.org/about/history/default.htm}, + author = {{Online Computer Library Center, Inc.}}, + title = {History of {OCLC}}, + year = 2000, + urldate = {2000-01-08}, + url = {http://www.oclc.org/about/history/default.htm}, } - @online{thuthesis, - author = {薛瑞尼}, - title = {ThuThesis: 清华大学学位论文模板}, - urldate = {2019-04-27}, - url = {https://github.com/xueruini/thuthesis}, - year = 2017, + author = {薛瑞尼}, + title = {ThuThesis: 清华大学学位论文模板}, + urldate = {2019-04-27}, + url = {https://github.com/xueruini/thuthesis}, + year = 2017, } diff --git a/macros/latex/contrib/thuthesis/spine.pdf b/macros/latex/contrib/thuthesis/spine.pdf Binary files differindex 714858ee1d..c8f7d1468c 100644 --- a/macros/latex/contrib/thuthesis/spine.pdf +++ b/macros/latex/contrib/thuthesis/spine.pdf diff --git a/macros/latex/contrib/thuthesis/thuthesis.dtx b/macros/latex/contrib/thuthesis/thuthesis.dtx index 231655c9da..df09334781 100644 --- a/macros/latex/contrib/thuthesis/thuthesis.dtx +++ b/macros/latex/contrib/thuthesis/thuthesis.dtx @@ -16,7 +16,7 @@ % % \iffalse %<*driver> -\ProvidesFile{thuthesis.dtx}[2020/01/06 6.0.0 Tsinghua University Thesis Template] +\ProvidesFile{thuthesis.dtx}[2020/02/03 6.0.1 Tsinghua University Thesis Template] \documentclass{ltxdoc} \usepackage{dtx-style} @@ -150,6 +150,7 @@ % thuthesis.cls & 模板类文件\\ % thuthesis-numeric.bst & 参考文献样式文件\\ % thuthesis-author-year.bst & 参考文献样式文件\\ +% thuthesis-bachelor.bst & 参考文献样式文件\\ % tsinghua.pdf & 校名 logo,系统无隶书字体时使用 \\\midrule % main.tex & 示例文档主文件\\ % spine.tex & 书脊示例文档\\ @@ -929,7 +930,7 @@ % \begin{macrocode} %<cls>\NeedsTeXFormat{LaTeX2e} %<cls>\ProvidesClass{thuthesis} -%<cls>[2020/01/06 6.0.0 Tsinghua University Thesis Template] +%<cls>[2020/02/03 6.0.1 Tsinghua University Thesis Template] % \end{macrocode} % % 检查编译引擎,要求使用 \XeLaTeX。 @@ -945,7 +946,7 @@ %<*cls> \hyphenation{Thu-Thesis} \def\thuthesis{ThuThesis} -\def\version{6.0.0} +\def\version{6.0.1} \RequirePackage{kvdefinekeys} \RequirePackage{kvsetkeys} \RequirePackage{kvoptions} @@ -2071,6 +2072,7 @@ % 正体会到 \TeX{} macro 的力量! % \begin{macrocode} \newcommand\thu@pdfbookmark[2]{} +\newcommand\thu@phantomsection{} \NewDocumentCommand\thu@chapter{s o m o}{ \IfBooleanF{#1}{% \ClassError{thuthesis}{You have to use the star form: \string\thu@chapter*}{} @@ -2080,21 +2082,25 @@ \ifthenelse{\equal{#2}{}}{% \thu@pdfbookmark{0}{#3}% }{% - \addcontentsline{toc}{chapter}{#3} - } + \thu@phantomsection + \addcontentsline{toc}{chapter}{#3}% + }% }{% - \addcontentsline{toc}{chapter}{#3} + \thu@phantomsection + \addcontentsline{toc}{chapter}{#3}% }% - \ifthu@degree@bachelor \ctexset{chapter/beforeskip=25bp} \fi + \ifthu@degree@bachelor\ctexset{chapter/beforeskip=25bp}\fi \chapter*{#3}% - \ifthu@degree@bachelor \ctexset{chapter/beforeskip=15bp} \fi + \ifthu@degree@bachelor\ctexset{chapter/beforeskip=15bp}\fi \IfValueTF{#4}{% - \ifthenelse{\equal{#4}{}} - {\@mkboth{}{}} - {\@mkboth{#4}{#4}} + \ifthenelse{\equal{#4}{}}{% + \@mkboth{}{}% + }{% + \@mkboth{#4}{#4}% + }% }{% - \@mkboth{#3}{#3} - } + \@mkboth{#3}{#3}% + }% } % \end{macrocode} % \end{macro} @@ -3378,6 +3384,7 @@ \thu@atendpackage{hyperref}{ \hypersetup{ linktoc = all, + bookmarksdepth = 2, bookmarksnumbered = true, bookmarksopen = true, bookmarksopenlevel = 1, @@ -3393,6 +3400,9 @@ \stepcounter{thu@bookmark}% \pdfbookmark[#1]{#2}{thuchapter.\thethu@bookmark}% } + \renewcommand\thu@phantomsection{% + \phantomsection + } \pdfstringdefDisableCommands{ \let\\\@empty \let\hspace\@gobble diff --git a/macros/latex/contrib/thuthesis/thuthesis.pdf b/macros/latex/contrib/thuthesis/thuthesis.pdf Binary files differindex 6be654adc5..7e7cf172cc 100644 --- a/macros/latex/contrib/thuthesis/thuthesis.pdf +++ b/macros/latex/contrib/thuthesis/thuthesis.pdf diff --git a/macros/latex/required/babel/base/README.md b/macros/latex/required/babel/base/README.md index f312923fba..897bbee2be 100644 --- a/macros/latex/required/babel/base/README.md +++ b/macros/latex/required/babel/base/README.md @@ -1,4 +1,4 @@ -## Babel 3.38 +## Babel 3.39 This package manages culturally-determined typographical (and other) rules, and hyphenation patterns for a wide range of languages. Many @@ -7,22 +7,15 @@ lualatex out of the box. A few even work with plain formats. The latest stable version is available on <https://ctan.org/pkg/babel>. -Languages are not part of the Babel core any more; in particular, it -shall be no longer necessary to synchronize Babel core releases with -releases of Babel language files. See CONTRIB for further details -about contributing a language. You may also create an ini file or -improve the existing ones -- it's a trivial task (no programming -skills required at all), but don't hesitate to ask for help. +Changes in version 3.39 are described in: + +https://github.com/latex3/babel/wiki/What's-new-in-babel-3.39 Included is a set of ini files for about 200 languages. The best way to install and/or update it is with the help of package managers. -Changes are described in babel.pdf with the label "New <version>". The -manual has been expanded to include some tips and tricks, but it will -be improved in next releases. - ### Reporting Bugs If you wish to report a problem or bug in any of these packages please @@ -51,14 +44,27 @@ respective authors. ### Latest changes ``` +3.39 2020-02-03 + - Languages can now be loaded on the fly (via \babelprovide). + - With \babelposthyphenation captured chars can now be mapped in + the replacement (lua). + - \babelcharproperty can be used to assign specific chars to a + locale (lua). + - Fixes: + - Sichuan Yi: line breaking was not activated (lua). + - Hyphenation was not always applied with onchar (lua). + - bidi=basic-l/basic-r where not activated correctly (xe). + - Thai and turkish raised and error without import in + \babelprovide. + - Cleaned up some ini/tex locale files (de, zh, sa). + 3.38 2020-01-15 - Automatic switching of ids (\language and \localeid), and fonts - based on script blocks (lua).s + based on script blocks (lua). - New macro - \localeinfo, to access the basic data in the ini file loaded by languages. See https://github.com/latex3/babel/wiki/What's-new-in-babel-3.38 - - + 3.37 2019-12-08 - Preliminary code for non-standard hyphenation, like ff -> ff-f (lua). diff --git a/macros/latex/required/babel/base/babel.dtx b/macros/latex/required/babel/base/babel.dtx index 0d4360f493..d0a6314f27 100644 --- a/macros/latex/required/babel/base/babel.dtx +++ b/macros/latex/required/babel/base/babel.dtx @@ -1,7 +1,7 @@ % \iffalse % This document requires lualatex %% -%% Copyright (C) 2012-2019 Javier Bezos and Johannes L. Braams. +%% Copyright (C) 2012-2020 Javier Bezos and Johannes L. Braams. %% Copyright (C) 1989-2012 Johannes L. Braams and %% any individual authors listed elsewhere in this file. %% All rights reserved. @@ -31,7 +31,7 @@ % % \iffalse %<*filedriver> -\ProvidesFile{babel.dtx}[2020/01/15 v3.38 The Babel package] +\ProvidesFile{babel.dtx}[2020/02/03 v3.39 The Babel package] \documentclass{ltxdoc} \GetFileInfo{babel.dtx} \usepackage{fontspec} @@ -235,21 +235,25 @@ Xe\largetex \part{User guide} \begin{itemize} -\item This user guide focuses on \LaTeX. There are also some notes on - its use with Plain \TeX. +\item This user guide focuses on internationalization and localization + with \LaTeX. There are also some notes on its use with Plain \TeX. \item Changes and new features with relation to version 3.8 are - highlighted with \New{X.XX}\hspace{-.5em}. The most recent features + highlighted with \New{X.XX}\hspace{-.5em}, and there are some notes + for the latest versions in + \href{https://github.com/latex3/babel/wiki}{the \babel{} wiki}. + The most recent features could be still unstable. Please, report any issues you find in - \texttt{https://github.com/latex3/babel/issues}, which is better + \href{https://github.com/latex3/babel/issues}{GitHub}, which is better than just complaining on an e-mail list or a web forum. \item If you are interested in the \TeX{} multilingual support, please - join the \textsf{kadingira} list on - \texttt{http://tug.org/mailman/listinfo/kadingira}. You can follow + join the \href{http://tug.org/mailman/listinfo/kadingira}{kadingira + mail list}. You can follow the development of \babel{} in - \texttt{https://github.com/latex3/babel} (which provides some sample - files, too). + \href{https://github.com/latex3/babel}{GitHub} (which provides many + \href{https://github.com/latex3/babel/tree/master/samples}{sample + files}, too). \item See section \ref{contribute} for contributing a language. @@ -492,6 +496,40 @@ _\usepackage[vietnamese,danish]{babel}_ \end{verbatim} \end{example} +\subsection{Mostly monolingual documents} + +\New{3.39} Very often, multilingual documents consist of a main +language with small pieces of text in another languages (words, idioms, +short sentences). Typically, all you need is to set the line breaking +rules and, perhaps, the font. In such a case, \babel{} now does not +require declaring these secondary languages explicitly, because the +basic settings are loaded on the fly when the language is selected (and +also when provided in the optional argument of |\babelfont|, if used.) + +This is particularly useful, too, when there are short texts of this +kind coming from an external source whose contents are not known on +beforehand (for example, titles in a bibliography). At this regard, it +is worth remembering that |\babelfont| does not load any font until +required, so that it can be used just in case. + +\begin{example} + A trivial document is: +\setengine{luatex/xetex} +\begin{verbatim} +\documentclass{article} +\usepackage[english]{babel} + +\babelfont[russian]{rm}{FreeSerif} + +\begin{document} + +English. \foreignlanguage{russian}{Русский}. +\foreignlanguage{spanish}{Español} + +\end{document} +\end{verbatim} +\end{example} + \subsection{Modifiers} \New{3.9c} The basic behavior of some languages can be modified when @@ -541,6 +579,7 @@ modifiers are a more general mechanism. cases, the error vanishes when the document is typeset again, but in more severe ones you will need to remove the |aux| file. \end{itemize} + \subsection{Plain} In Plain, load languages styles with |\input| and then use @@ -1188,9 +1227,17 @@ be the same as the option name as set in |\usepackage|!). \subsection{\texttt{ini} files} -An alternative approach to define a language is by means of an -\texttt{ini} file. Currently \babel{} provides about 200 of these -files containing the basic data required for a language. +An alternative approach to define a language (or, more precisely, a +\textit{locale}) is by means of an \texttt{ini} file. Currently +\babel{} provides about 200 of these files containing the basic data +required for a locale. + +|ini| files are not meant only for \babel, and they has been devised as +a resource for other packages. To easy interoperability between \TeX{} +and other systems, they are identified with the BCP 47 codes as +preferred by the Unicode Common Language Data Repository, which was +used as source for most of the data provided by these files, too (the +main exception being the |\...name| strings). Most of them set the date, and many also the captions (Unicode and LICR). They will be evolving with the time to add more features @@ -1280,6 +1327,19 @@ loads \textsf{luatexja}: \end{description} \end{note} +\begin{note} + Wikipedia defines a \textit{locale} as follows: “In computing, a + locale is a set of parameters that defines the user’s language, + region and any special variant preferences that the user wants to see + in their user interface. Usually a locale identifier consists of at + least a language code and a country/region code.” \Babel{} is moving + gradually from the old and fuzzy concept of \textit{language} to the + more modern of \textit{locale}. Note each locale is by itself a + separate “language”, which explains why there are so many files. This + is on purpose, so that possible variants can be created and/or + redefined easily. +\end{note} + Here is the list (u means Unicode captions, and l means LICR captions): @@ -1891,6 +1951,26 @@ zulu \endgroup \hrule +\bigskip + +\textbf{Modifying and adding values to |ini| files} + +\New{3.39} There is a way to modify the values of |ini| files when they +get loaded with |\babelprovide| and |import|. To set, say, +|digits.native| in the |numbers| section, use something like +|numbers/digits.native=abcdefghij|. Keys may be added, too. Without +|import| you may modify the identification keys. + +This can be used to create private variants easily. All you need is to +import the same |ini| file with a different locale name and different +parameters. + +% \begin{example} +% Let's assume you need only the basic features of `spanish`, so that +% the |ini| file is enough, and also a variant with your own +% hyphenation with +% \end{example} + \subsection{Selecting fonts} \New{3.15} Babel provides a high level interface on top of |fontspec| @@ -1988,22 +2068,18 @@ to select fonts in addition to the three basic families. \babelfont[hindi]{rm}{Shobhika} \end{verbatim} This makes sure the OpenType script for Devanagari is |deva| and not - |dev2| (\luatex{} does not detect automatically the correct - script\footnote{And even with the correct code some fonts could be - rendered incorrectly by \textsf{fontspec}, so double-check the - results. \xetex{} fares better, but some fonts are still - problematic.}). You may also pass some options to \textsf{fontspec}: - with |silent|, the warnings about unavailable scripts or languages - are not shown (they are only really useful when the document format - is being set up). + |dev2|, in case it is not detected correctly. You may also pass some + options to \textsf{fontspec}: with |silent|, the warnings about + unavailable scripts or languages are not shown (they are only really + useful when the document format is being set up). \end{note} \begin{note} Directionality is a property affecting margins, indentation, column - order, etc., not just text. Therefore, it is under the direct - control of the language, which applies both the script and the - direction to the text. As a consequence, there is no need to set - \texttt{Script} when declaring a font (nor \texttt{Language}). In + order, etc., not just text. Therefore, it is under the direct control + of the language, which applies both the script and the direction to + the text. As a consequence, there is no need to set \texttt{Script} + when declaring a font with |\babelfont| (nor \texttt{Language}). In fact, it is even discouraged. \end{note} @@ -2012,10 +2088,10 @@ to select fonts in addition to the three basic families. (|rm|, |sf|, |tt|, and the like). If a language is switched when an \textit{ad hoc} font is active, or you select the font with this command, neither the script nor the language is passed. You must - add them by hand. This is by design, for several reasons (for + add them by hand. This is by design, for several reasons —for example, each font has its own set of features and a generic setting for several of them could be problematic, and also a “lower-level” - font selection is useful). + font selection is useful. \end{note} \begin{note} @@ -2028,53 +2104,45 @@ to select fonts in addition to the three basic families. \end{note} \begin{warning} - Do not use |\set|\textit{xxxx}|font| and |\babelfont| at the same - time. |\babelfont| follows the standard \LaTeX{} conventions to set - the basic families -- define |\|\textit{xx}|default|, and activate - it with |\|\textit{xx}|family|. On the other hand, - |\set|\textit{xxxx}|font| in \textsf{fontspec} takes a different - approach, because |\|\textit{xx}|family| is redefined with the - family name hardcoded (so that |\|\textit{xx}|default| becomes - no-op). Of course, both methods are incompatible, and if you use - |\set|\textit{xxxx}|font|, font switching with |\babelfont| just - does \textit{not} work (nor the standard |\|\textit{xx}|default|, - for that matter). As of \New{3.34} there is an attempt to make them - compatible, but the language system will not be set by \babel and - should be set with |fontspec| if necessary. + Using |\set|\textit{xxxx}|font| and |\babelfont| at the same time is + discouraged, but very often works as expected. However, be aware with + |\set|\textit{xxxx}|font| the language system will not be set by + \babel{} and should be set with |fontspec| if necessary. \end{warning} \begin{troubleshooting} -\trouble{Package fontspec Warning: 'Language 'LANG' not available for -font 'FONT' with script 'SCRIPT' 'Default' language used instead'} -\textit{Package fontspec Warning: 'Language 'LANG' not available for -font 'FONT' with script 'SCRIPT' 'Default' language used instead'}. -\textbf{This is \textit{not} and error.} -This warning is shown by \textsf{fontspec}, not by \babel. It could be -irrelevant for English, but not for many other languages, including -Urdu and Turkish. This is a useful and harmless warning, and if -everything is fine with your document the best thing you can do is just -to ignore it altogether. + \trouble{Package fontspec Warning: 'Language 'LANG' not available for + font 'FONT' with script 'SCRIPT' 'Default' language used instead'} + \textit{Package fontspec Warning: 'Language 'LANG' not available for + font 'FONT' with script 'SCRIPT' 'Default' language used instead'}. + + \textbf{This is \textit{not} and error.} This warning is shown by + \textsf{fontspec}, not by \babel. It could be irrelevant for English, + but not for many other languages, including Urdu and Turkish. This is + a useful and harmless warning, and if everything is fine with your + document the best thing you can do is just to ignore it altogether. \end{troubleshooting} \begin{troubleshooting} -\trouble{Package babel Info: The following fonts are not babel standard families} -\textit{Package babel Info: The following fonts are not babel -standard families}. - -\textbf{This is \textit{not} and error.} \babel{} assumes that if you -are using |\babelfont| for a family, very likely you want to define the -rest of them. If you don't, you can find some inconsistencies between -families. This checking is done at the beginning of the document, at a -point where we cannot know which families will be used. - -Actually, there is no real need to use |\babelfont| in a monolingual -document, if you set the language system in |\setmainfont| (or not, -depending on what you want). - -As the message explains, \textit{there is nothing intrinsically wrong} -with not defining all the families. In fact, there is nothing -intrinsically wrong with not using |\babelfont| at all. But you must be -aware that this may lead to some problems. + \trouble{Package babel Info: The following fonts are not babel + standard families} \textit{Package babel Info: The following fonts + are not babel standard families}. + + \textbf{This is \textit{not} and error.} \babel{} assumes that if you + are using |\babelfont| for a family, very likely you want to define + the rest of them. If you don't, you can find some inconsistencies + between families. This checking is done at the beginning of the + document, at a point where we cannot know which families will be + used. + + Actually, there is no real need to use |\babelfont| in a monolingual + document, if you set the language system in |\setmainfont| (or not, + depending on what you want). + + As the message explains, \textit{there is nothing intrinsically + wrong} with not defining all the families. In fact, there is nothing + intrinsically wrong with not using |\babelfont| at all. But you must + be aware that this may lead to some problems. \end{troubleshooting} \subsection{Modifying a language} @@ -2090,7 +2158,7 @@ sometimes necessary, but not always trivial. } \end{verbatim} As of 3.15, there is no need to hide spaces with \texttt{\%% -} (\babel{} removes them), but it is advisable to do it. +} (\babel{} removes them), but it is advisable to do so. \item The new way, which is found in |bulgarian|, |azerbaijani|, |spanish|, |french|, |turkish|, |icelandic|, |vietnamese| and a few more, as well as in languages created with |\babelprovide| and its @@ -2177,6 +2245,17 @@ In most cases, you will only need to define a few macros. \end{verbatim} \end{example} +\begin{example} + Locales with names based on BCP 47 codes can be created with + something like: +\begin{verbatim} + \babelprovide[import=en-US]{enUS} +\end{verbatim} + Note, however, mixing ways to identify locales can lead to problems. + For example, is \verb|yi| the name of the language spoken by the Yi + people or is it the code for Yiddish? +\end{example} + The main language is not changed (\texttt{danish} in this example). So, you must add |\selectlanguage{arhinish}| or other selectors where necessary. @@ -2206,8 +2285,7 @@ There are about 200 |ini| files, with data taken from the |ldf| files and the CLDR provided by Unicode. Not all languages in the latter are complete, and therefore neither are the |ini| files. A few languages will show a warning about the current lack of suitability of the date -format (\textsf{hindi}, \textsf{french}, \textsf{breton}, and -\textsf{occitan}). +format (\textsf{french}, \textsf{breton}, and \textsf{occitan}). Besides |\today|, this option defines an additional command for dates: |\<language>date|, which takes three arguments, namely, year, month and @@ -2267,23 +2345,25 @@ the script, no matter which language is active. Although somewhat inconsistent, this makes setting a language up easier in most typical cases. +\Describe{onchar=}{\texttt{ids} $\string|$ \texttt{fonts}} +\New{3.38} This option is much like an ‘event’ called with a character +belonging to the script of this locale is found. There are currently +two ‘actions’, which can be used at the same time (separated by a +space): with |ids| the |\language| and the |\localeid| are set to the +values of this locale; with |fonts|, the fonts are changed to those of +the this locale (as set with |\babelfont|). This option is not +compatible with |mapfont|. Characters can be added with +|\babelcharproperty|. + \Describe{mapfont=}{\texttt{direction}} Assigns the font for the writing direction of this language (only with -|bidi=basic|). More precisely, what |mapfont=direction| means is, ‘when -a character has the same direction as the script for the “provided” -language, then change its font to that set for this language’. There -are 3 directions, following the bidi Unicode algorithm, namely, -Arabic-like, Hebrew-like and left to right. So, there should be at most -3 directives of this kind. - -\Describe{onchar=}{\texttt{ids} $\string|$ \texttt{fonts}} -\New{3.38} This options is much like an ‘event’ called with a character -belonging to the script of the current locale is found. There are two -action, which can be used at the same time (separated by a space): with -|ids| the |\language| and the |\localeid| are set to the values of this -locale; with |fonts|, the fonts are changed to those of the current -locale (as set with |\babelfont|). This option is not compatible with -|mapfont|. +|bidi=basic|). Whenever possible, instead of this option use |onchar|, +based on the script, which usually makes more sense. More precisely, +what |mapfont=direction| means is, ‘when a character has the same +direction as the script for the “provided” language, then change its +font to that set for this language’. There are 3 directions, following +the bidi Unicode algorithm, namely, Arabic-like, Hebrew-like and left +to right. So, there should be at most 3 directives of this kind. \Describe{intraspace=}{\meta{base} \meta{shrink} \meta{stretch}} Sets the interword space for the writing system of the language, in em @@ -2393,6 +2473,12 @@ conditions are not met, write |\BabelEnsureInfo|. \subsection{Hyphenation and line breaking} +\Babel{} deals with three kinds of line breaking rules: Western, +typically the LGC group, South East Asian, like Thai, and CJK, but +support depends on the engine: \textsf{pdftex} only deals with the +former, \xetex{} also with the second one, while \luatex{} provides +basic rules for the latter, too. + \Describe{\babelhyphen}{% \colorbox{thegrey}{\ttfamily\hskip-.2em*\hskip-.2em}\marg{type}} \DescribeOther\babelhyphen{% @@ -2515,6 +2601,55 @@ Unicode engines, spacing is based on the ``current'' em unit (the size of the previous char in \luatex, and the font size set by the last |\selectfont| in \xetex). +\Describe{\babelposthyphenation}{\marg{hyphenrules-name}% + \marg{lua-pattern}\marg{replacement}} + +\New{3.37-3.39} With \luatex{} it is now possible to define +non-standard hyphenation rules, like |f-f| $\to$ |ff-f|, repeated +hyphens, ranked ruled (or more precisely, ‘penalized’ hyphenation +points), and so on. No rules are currently provided by default, but +they can be defined as shown in the following example, where |{1}| is +the first captured char (between |()| in the pattern): +\begin{verbatim} +\babelposthyphenation{german}{([fmtrp]) | {1}} +{ + { no = {1}, pre = {1}{1}- }, % Replace first char with disc + remove, % Remove automatic disc (2nd node) + {} % Keep last char, untouched +} +\end{verbatim} + +In the replacements, a captured char may be mapped to another, too. For +example, if the first capture reads |([ΐΰ])|, the replacement could be +\verb+{1|ΐΰ|ίύ}+, which maps \textit{ΐ} to \textit{ί}, and \textit{ΰ} +to \textit{ύ}, so that the diaeresis is removed. + +This feature is activated with the first |\babelposthyphenation|. + +See the \href{https://github.com/latex3/babel/wiki}{\babel\ wiki} for a +more detailed description and some examples. It also describes an +additional replacement type with the key |string|. + +\begin{example} + Although the main purpose of this command is non-standard + hyphenation, it may actually be used for other transformations (after + hyphenation is applied, so you must take discretionaries into + account). For example, you can use the |string| replacement to + replace a character (or series of them) by another character (or + series of them). Thus, to enter \textit{ž} as |zh| and \textit{š} as + |sh| in a newly created locale for transliterated Russian: +\begin{verbatim} +\babelprovide[hyphenrules=+]{russian-latin} % Create locale +\babelposthyphenation{russian-latin}{([sz])h} % Create rule +{ + { string = {1|sz|šž} }, + remove +} +\end{verbatim} + In other words, it is a quite general tool. (A counterpart + |\babelprehyphenation| is on the way.) +\end{example} + \subsection{Selecting scripts} Currently \babel{} provides no standard interface to select @@ -2589,6 +2724,14 @@ differ in the way `weak' numeric characters are ordered (eg, Arabic options described below). \end{warning} +\begin{warning} + If characters to be mirrored are shown without changes with \luatex, + try with the following line: +\begin{verbatim} +\babeladjust{bidi.mirroring=off} +\end{verbatim} +\end{warning} + There are some package options controlling bidi writing. \Describe{bidi=}{\texttt{default} $\string|$ \texttt{basic} @@ -2612,20 +2755,13 @@ consider the intrinsic direction of scripts and weak directionality.) tentative, but it mostly works. For RL documents use the former, and for LR ones use the latter. -\New{3.37} There is some experimental support for \textsf{luahbtex} -(with |lualatex-dev|) and the latest releases of \textsf{luaotfload} -(3.11), with |Renderer = Harfbuzz| in \textsf{fontspec}. Since it is -based on \luatex, the option |basic| mostly works (You may need -deactivate the |rtlm| or the |rtla| font features, or alternatively -deactive mirroring in \babel{} with |\babeladjust|.) - There are samples on GitHub, under \texttt{/required/babel/samples}. See particularly |lua-bidibasic.tex| and |lua-secenum.tex|. \begin{example} The following text comes from the Arabic Wikipedia (article about Arabia). Copy-pasting some text from the Wikipedia is a good way to - test this feature. Remember |basic-r| is available in \luatex{} + test this feature. Remember |basic| is available in \luatex{} only. \begingroup % If you are looking at the code to see how it has been written, you @@ -2638,7 +2774,7 @@ See particularly |lua-bidibasic.tex| and |lua-secenum.tex|. \begin{verbatim} \documentclass{article} -\usepackage[_bidi=basic-r_]{babel} +\usepackage[_bidi=basic_]{babel} _\babelprovide[import, main]{arabic}_ @@ -2676,7 +2812,7 @@ _\babelprovide[import, main]{arabic}_ \usepackage[english, _bidi=basic_]{babel} -\babelprovide[_mapfont=direction_]{arabic} +\babelprovide[_onchar=ids fonts_]{arabic} \babelfont{rm}{Crimson} \babelfont[*arabic]{rm}{FreeSerif} @@ -2691,7 +2827,7 @@ Arabic as @1فصحى العصر@0 \textit{fuṣḥā l-ʻaṣr} (MSA) and \end{document} \end{verbatim} \endgroup - In this example, and thanks to |mapfont=direction|, any Arabic letter + In this example, and thanks to |onchar=ids fonts|, any Arabic letter (because the language is |arabic|) changes its font to that set for this language (here defined via |*arabic|, because Crimson does not provide Arabic letters). @@ -2892,6 +3028,7 @@ command is available always in bidi documents, even without \subsection{Language attributes} \DescribeMacro{\languageattribute} + This is a user-level command, to be used in the preamble of a document (after |\usepackage[...]{babel}|), that declares which attributes are to be used for a given language. It takes two @@ -3088,12 +3225,14 @@ tables, which you can modify with the following macro (for example, to set them for glyphs in the PUA). \Describe{\babelcharproperty}{\marg{char-code}\oarg{to-char-code}% - \marg{propertry}\marg{value}} + \marg{property}\marg{value}} \New{3.32} Here, \marg{char-code} is a number (with \TeX{} syntax). With the optional argument, you can set a range of values. There are three properties (with a short name, taken from Unicode): |direction| -(|bc|), |mirror| (|bmg|), |linebreak| (|lb|). The settings are global. +(|bc|), |mirror| (|bmg|), |linebreak| (|lb|). The settings are global, +and this command is allowed only in vertical mode (the preamble or +between paragraphs). For example: \begin{verbatim} @@ -3102,8 +3241,12 @@ For example: \babelcharproperty{`)}{linebreak}{cl} % or id, op, cl, ns, ex, in, hy \end{verbatim} -This command is allowed only in vertical mode (the preamble or between -paragraphs). +\New{3.39} Another property is |locale|, which adds characters to the +list used by |onchar| in |\babelprovide|, or, if the last argument is +empty, removes them. The last argument is the locale name: +\begin{verbatim} +\babelcharproperty{`,}{locale}{english} +\end{verbatim} \subsection{Tweaking some features} @@ -3243,41 +3386,6 @@ See the code section for |\foreignlanguage*| (a new starred version of |\foreignlanguage|). \medskip -\textbf{Modifying, and adding, values of |ini| files} - -\New{3.37} There is a way to modify the values of |ini| files when they -get loaded with |\babelprovide|. To set, say, |digits.native| in the -|numbers| section, use something like -|numbers..digits.native=abcdefghij| (note the double dot between the -section and the key name). New keys may be added, too. - -\medskip -\textbf{Non-standard hyphenation} - -\New{3.37} With \luatex{} it is now possible to define non-standard -hyohenation rules, like |f-f| $\to$ |ff-f|. No rules are currently -provided by default, but they can be defined as shown in the following -example: -\begin{verbatim} -\babelposthyphenation{ngerman}{([fmtrp]) | {1}} -{ - { no = {1}, pre = {1}{1}-}, % Replace first char with disc - remove, % Remove automatic disc - {} % Keep last char, untouched -} -\end{verbatim} - -This feature must be explicitly activated with: -\begin{verbatim} -\babeladjust{ hyphenation.extra = on } -\end{verbatim} - -See the \babel{} wiki for a more detailed description and some examples: -\begin{verbatim} -https://github.com/latex3/babel/wiki -\end{verbatim} - -\medskip \textbf{Old and deprecated stuff} A couple of tentative macros were provided by \babel{} ($\ge$3.9g) with @@ -4222,8 +4330,8 @@ help from Bernd Raichle, for which I am grateful. % \section{Tools} % % \begin{macrocode} -%<<version=3.38>> -%<<date=2020/01/15>> +%<<version=3.39>> +%<<date=2020/02/03>> % \end{macrocode} % % \textbf{Do not use the following macros in \texttt{ldf} files. They @@ -4715,7 +4823,6 @@ help from Bernd Raichle, for which I am grateful. % % \changes{babel~3.30}{2019/04/22}{Callbacks aren't specific to % bidi any more, so they are moved.} -% \changes{babel~3.32}{2019/05/30}{Consider Harf.} % % \begin{macrocode} \ifx\bbl@languages\@undefined\else @@ -4737,8 +4844,6 @@ help from Bernd Raichle, for which I am grateful. \bbl@languages \fi \ifodd\bbl@engine - % Harftex is evolving, so the callback is not harcoded, just in case - \def\bbl@harfpreline{Harf pre_linebreak_filter callback}% \def\bbl@activate@preotf{% \let\bbl@activate@preotf\relax % only once \directlua{ @@ -4768,23 +4873,14 @@ help from Bernd Raichle, for which I am grateful. Babel.pre_otfload_v, 'Babel.pre_otfload_v', luatexbase.priority_in_callback('pre_linebreak_filter', - '\bbl@harfpreline') - or luatexbase.priority_in_callback('pre_linebreak_filter', - 'luaotfload.node_processor') - or nil) + 'luaotfload.node_processor') or nil) % luatexbase.add_to_callback('hpack_filter', Babel.pre_otfload_h, 'Babel.pre_otfload_h', luatexbase.priority_in_callback('hpack_filter', - '\bbl@harfpreline') - or luatexbase.priority_in_callback('hpack_filter', - 'luaotfload.node_processor') - or nil) - }% - \@ifpackageloaded{harfload}% - {\directlua{ Babel.mirroring_enabled = false }}% - {}} + 'luaotfload.node_processor') or nil) + }} \let\bbl@tempa\relax \@ifpackagewith{babel}{bidi=basic}% {\def\bbl@tempa{basic}}% @@ -6771,20 +6867,8 @@ help from Bernd Raichle, for which I am grateful. \ifx\bbl@known@attribs\@undefined \in@false \else -% \end{macrocode} -% -% Now we need to see if the attribute occurs in the list of -% already selected attributes. -% -% \begin{macrocode} \bbl@xin@{,\bbl@tempc-##1,}{,\bbl@known@attribs,}% \fi -% \end{macrocode} -% -% When the attribute was in the list we issue a warning; this might -% not be the users intention. -% -% \begin{macrocode} \ifin@ \bbl@warning{% You have more than once selected the attribute '##1'\\% @@ -7349,6 +7433,7 @@ help from Bernd Raichle, for which I am grateful. \edef\bbl@L{\zap@space#1 \@empty}% \edef\bbl@G{\zap@space#2 \@empty}% \bbl@startcmds@ii} +\let\bbl@startcommands\StartBabelCommands % \end{macrocode} % % Parse the encoding info to get the label, input, and font parts. @@ -7474,6 +7559,7 @@ help from Bernd Raichle, for which I am grateful. \endgroup \endgroup \bbl@scafter} +\let\bbl@endcommands\EndBabelCommands % \end{macrocode} % % Now we define commands to be used inside |\StartBabelCommands|. @@ -7602,7 +7688,7 @@ help from Bernd Raichle, for which I am grateful. \newcommand\SetHyphenMap[1]{% \bbl@forlang\bbl@tempa{% \expandafter\bbl@stringdef - \csname\bbl@tempa @bbl@hyphenmap\endcsname{##1}}} + \csname\bbl@tempa @bbl@hyphenmap\endcsname{##1}}}% %<</Macros local to BabelCommands>> % \end{macrocode} % @@ -8213,7 +8299,7 @@ help from Bernd Raichle, for which I am grateful. \let\bbl@savelangname\languagename \edef\bbl@savelocaleid{\the\localeid}% % Set name and locale id - \def\languagename{#2}% + \edef\languagename{#2}% % \global\@namedef{bbl@lcname@#2}{#2}% \bbl@id@assign \let\bbl@KVP@captions\@nil @@ -8230,7 +8316,7 @@ help from Bernd Raichle, for which I am grateful. \let\bbl@KVP@onchar\@nil \let\bbl@KVP@chargroups\@nil \bbl@forkv{#1}{% TODO - error handling - \in@{..}{##1}% + \in@{/}{##1}% \ifin@ \bbl@renewinikey##1\@@{##2}% \else @@ -8279,8 +8365,10 @@ help from Bernd Raichle, for which I am grateful. \bbl@read@ini{##1}{basic data}% \bbl@exportkey{chrng}{characters.ranges}{}% \bbl@exportkey{dgnat}{numbers.digits.native}{}% + \bbl@exportkey{lnbrk}{typography.linebreaking}{h}% \bbl@exportkey{hyphr}{typography.hyphenrules}{}% \bbl@exportkey{intsp}{typography.intraspace}{}% + \endinput \endgroup}% boxed, to avoid extra spaces: {\setbox\z@\hbox{\InputIfFileExists{babel-#2.tex}{}{}}}}% {}% @@ -8301,10 +8389,15 @@ help from Bernd Raichle, for which I am grateful. Babel.locale_mapped = true Babel.linebreaking.add_before(Babel.locale_map) Babel.loc_to_scr = {} - Babel.chr_to_loc = {} + Babel.chr_to_loc = Babel.chr_to_loc or {} end}% \bbl@xin@{ ids }{ \bbl@KVP@onchar\space}% \ifin@ + \ifx\bbl@starthyphens\@undefined % Needed if no explicit selection + \AddBabelHook{babel-onchar}{beforestart}{{\bbl@starthyphens}}% + \fi + \bbl@exp{\\\bbl@add\\\bbl@starthyphens + {\\\bbl@patterns@lua{\languagename}}}% % TODO - error/warning if no script \directlua{ if Babel.script_blocks['\bbl@cs{sbcp@\languagename}'] then @@ -8323,7 +8416,7 @@ help from Bernd Raichle, for which I am grateful. if Babel.script_blocks['\bbl@cs{sbcp@\languagename}'] then Babel.loc_to_scr[\the\localeid] = Babel.script_blocks['\bbl@cs{sbcp@\languagename}'] - end} + end}% \ifx\bbl@mapselect\@undefined \AtBeginDocument{% \expandafter\bbl@add\csname selectfont \endcsname{{\bbl@mapselect}}% @@ -8343,9 +8436,6 @@ help from Bernd Raichle, for which I am grateful. \fi % TODO - catch non-valid values \fi -% \ifx\bbl@KVP@chargroups\@nil\else -% \bbl@chargroups -% \fi % == mapfont == % For bidi texts, to switch the font based on direction \ifx\bbl@KVP@mapfont\@nil\else @@ -8430,7 +8520,7 @@ help from Bernd Raichle, for which I am grateful. return head end end - }} + }}% \fi \fi % == require.babel in ini == @@ -8497,7 +8587,7 @@ help from Bernd Raichle, for which I am grateful. \@namedef{date#1}{}% marks lang exists - required by \StartBabelCommands \@namedef{extras#1}{}% \@namedef{noextras#1}{}% - \StartBabelCommands*{#1}{captions}% + \bbl@startcommands*{#1}{captions}% \ifx\bbl@KVP@captions\@nil % and also if import, implicit \def\bbl@tempb##1{% elt for \bbl@captionslist \ifx##1\@empty\else @@ -8520,7 +8610,7 @@ help from Bernd Raichle, for which I am grateful. \bbl@savetoday \bbl@savedate \fi - \EndBabelCommands + \bbl@endcommands \bbl@exp{% \def\<#1hyphenmins>{% {\bbl@ifunset{bbl@lfthm@#1}{2}{\@nameuse{bbl@lfthm@#1}}}% @@ -8620,7 +8710,7 @@ help from Bernd Raichle, for which I am grateful. \def\bbl@inipreread##1=##2\@@{% \bbl@trim@def\bbl@tempa{##1}% Redundant below !! % Move trims here ?? - \bbl@ifunset{bbl@KVP@\bbl@section..\bbl@tempa}% + \bbl@ifunset{bbl@KVP@\bbl@section/\bbl@tempa}% {\expandafter\bbl@inireader\bbl@tempa=##2\@@}% {}}% \let\bbl@inireader\bbl@iniskip @@ -8643,6 +8733,7 @@ help from Bernd Raichle, for which I am grateful. \@nameuse{bbl@renew@\bbl@section}% \global\bbl@csarg\let{renew@\bbl@section}\relax \@nameuse{bbl@secpost@\bbl@section}% +% \bbl@csarg\bbl@toglobal{inikeys@\languagename}% \fi} \def\bbl@iniline#1\bbl@iniline{% \@ifnextchar[\bbl@inisec{\@ifnextchar;\bbl@iniskip\bbl@inipreread}#1\@@}% ] @@ -8665,14 +8756,14 @@ help from Bernd Raichle, for which I am grateful. \@nameuse{bbl@secpost@\bbl@section}% ends previous section \def\bbl@section{#1}% starts current section \def\bbl@elt##1##2{% - \@namedef{bbl@KVP@#1..##1}{}}% + \@namedef{bbl@KVP@#1/##1}{}}% \@nameuse{bbl@renew@#1}% \@nameuse{bbl@secpre@#1}% pre-section `hook' \bbl@ifunset{bbl@inikv@#1}% {\let\bbl@inireader\bbl@iniskip}% {\bbl@exp{\let\\\bbl@inireader\<bbl@inikv@#1>}}} \let\bbl@renewlist\@empty -\def\bbl@renewinikey#1..#2\@@#3{% +\def\bbl@renewinikey#1/#2\@@#3{% \bbl@ifunset{bbl@renew@#1}% {\bbl@add@list\bbl@renewlist{#1}}% {}% @@ -8732,6 +8823,7 @@ help from Bernd Raichle, for which I am grateful. \bbl@exportkey{lfthm}{typography.lefthyphenmin}{2}% \bbl@exportkey{rgthm}{typography.righthyphenmin}{3}% \bbl@exportkey{prehc}{typography.prehyphenchar}{}% + \bbl@exportkey{lnbrk}{typography.linebreaking}{h}% \bbl@exportkey{hyphr}{typography.hyphenrules}{}% \bbl@exportkey{intsp}{typography.intraspace}{}% \bbl@exportkey{jstfy}{typography.justify}{w}% @@ -9016,9 +9108,7 @@ help from Bernd Raichle, for which I am grateful. \@namedef{bbl@ADJ@layout.lists@on}{% \bbl@adjust@layout{\let\list\bbl@OL@list}} \@namedef{bbl@ADJ@hyphenation.extra@on}{% - \directlua{ - Babel.linebreaking.add_after(Babel.post_hyphenate_replace) - }} + \bbl@activateposthyphen} % \end{macrocode} % % \section{The kernel of Babel (\texttt{babel.def} for \LaTeX only)} @@ -9851,11 +9941,7 @@ help from Bernd Raichle, for which I am grateful. % and so on, but bidi text does not work out of the box and some % development is necessary. It also provides tools to properly % set left-to-right and right-to-left page layouts. As Lua\TeX-ja -% shows, vertical typesetting is possible, too. Its main drawback -% is font handling is often considered to be less mature than -% \xetex{}, mainly in Indic scripts (but there are steps to make -% HarfBuzz, the \xetex{} font engine, available in \luatex{}; see -% <https://github.com/tatzetwerk/luatex-harfbuzz>). +% shows, vertical typesetting is possible, too. % \end{itemize} % % \changes{babel~3.15}{2017/10/30}{Use an attribute instead of tex language @@ -10014,18 +10100,20 @@ help from Bernd Raichle, for which I am grateful. \newtoks\everypar \everypar=\bbl@severypar \bbl@severypar{\bbl@xeeverypar\the\everypar}} - \@ifpackagewith{babel}{bidi=bidi}% - {\let\bbl@textdir@i\@gobbletwo - \let\bbl@xebidipar\@empty - \AddBabelHook{bidi}{foreign}{% - \def\bbl@tempa{\def\BabelText####1}% - \ifcase\bbl@thetextdir - \expandafter\bbl@tempa\expandafter{\BabelText{\LR{##1}}}% - \else - \expandafter\bbl@tempa\expandafter{\BabelText{\RL{##1}}}% - \fi} - \def\bbl@pardir#1{\ifcase#1\relax\setLR\else\setRL\fi}} - {}% + \def\bbl@tempb{% + \let\bbl@textdir@i\@gobbletwo + \let\bbl@xebidipar\@empty + \AddBabelHook{bidi}{foreign}{% + \def\bbl@tempa{\def\BabelText########1}% + \ifcase\bbl@thetextdir + \expandafter\bbl@tempa\expandafter{\BabelText{\LR{####1}}}% + \else + \expandafter\bbl@tempa\expandafter{\BabelText{\RL{####1}}}% + \fi} + \def\bbl@pardir##1{\ifcase##1\relax\setLR\else\setRL\fi}} + \@ifpackagewith{babel}{bidi=bidi}{\bbl@tempb}{}% + \@ifpackagewith{babel}{bidi=bidi-l}{\bbl@tempb}{}% + \@ifpackagewith{babel}{bidi=bidi-r}{\bbl@tempb}{}% \fi % \end{macrocode} % @@ -10406,7 +10494,6 @@ help from Bernd Raichle, for which I am grateful. \edef\languagename{% \ifnum\escapechar=\expandafter`\string#1\@empty \else\string#1\@empty\fi}% - % \@namedef{bbl@lcname@#1}{#1}% \select@language{\languagename}% % write to auxs \expandafter\ifx\csname date\languagename\endcsname\relax\else @@ -10423,8 +10510,13 @@ help from Bernd Raichle, for which I am grateful. % set name \edef\languagename{#1}% \bbl@fixname\languagename + \expandafter\ifx\csname date\languagename\endcsname\relax + \IfFileExists{babel-\languagename.tex}% + {\babelprovide{\languagename}}% + {}% + \fi \bbl@iflanguage\languagename{% - \expandafter\ifx\csname date\languagename\endcsname\relax + \expandafter\ifx\csname date\languagename\endcsname\relax \bbl@error {Unknown language `#1'. Either you have\\% misspelled its name, it has not been installed,\\% @@ -10725,8 +10817,12 @@ help from Bernd Raichle, for which I am grateful. \def\foreign@language#1{% % set name \edef\languagename{#1}% - % \@namedef{bbl@lcname@#1}{#1}% \bbl@fixname\languagename + \expandafter\ifx\csname date\languagename\endcsname\relax + \IfFileExists{babel-\languagename.tex}% + {\babelprovide{\languagename}}% + {}% + \fi \bbl@iflanguage\languagename{% \expandafter\ifx\csname date\languagename\endcsname\relax \bbl@warning % TODO - why a warning, not an error? @@ -10945,6 +11041,7 @@ help from Bernd Raichle, for which I am grateful. \let\uselocale\setlocale \let\locale\setlocale \let\selectlocale\setlocale +\let\localename\setlocale \let\textlocale\setlocale \let\textlanguage\setlocale \let\languagetext\setlocale @@ -11570,6 +11667,12 @@ help from Bernd Raichle, for which I am grateful. \bbl@trace{Font handling with fontspec} \@onlypreamble\babelfont \newcommand\babelfont[2][]{% 1=langs/scripts 2=fam + \bbl@foreach{#1}{% + \expandafter\ifx\csname date##1\endcsname\relax + \IfFileExists{babel-##1.tex}% + {\babelprovide{##1}}% + {}% + \fi}% \edef\bbl@tempa{#1}% \def\bbl@tempb{#2}% Used by \bbl@bblfont \ifx\fontspec\@undefined @@ -12457,6 +12560,9 @@ help from Bernd Raichle, for which I am grateful. % \changes{babel~3.37}{2019/12/07}{Added code for non-standard % hyphenation.} % +% First, some general code for line breaking, used by +% |\babelposthyphenation|. +% % \textit{In progress.} Replace regular (ie, implicit) discretionaries % by spaceskips, based on the previous glyph (which I think makes % sense, because the hyphen and the previous char go always together). @@ -12641,7 +12747,7 @@ help from Bernd Raichle, for which I am grateful. \def\bbl@provide@intraspace{% \bbl@ifunset{bbl@intsp@\languagename}{}% {\expandafter\ifx\csname bbl@intsp@\languagename\endcsname\@empty\else - \bbl@xin@{\bbl@cs{sbcp@\languagename}}{Hant,Hans,Jpan,Kore,Kana}% + \bbl@xin@{\bbl@cs{lnbrk@\languagename}}{c}% \ifin@ % cjk \bbl@cjkintraspace \directlua{ @@ -12738,7 +12844,7 @@ Babel.script_blocks = { {0x2B740, 0x2B81F}, {0x2B820, 0x2CEAF}, {0x2CEB0, 0x2EBEF}, {0x2F800, 0x2FA1F}}, ['Hebr'] = {{0x0590, 0x05FF}}, - ['Japa'] = {{0x3000, 0x303F}, {0x3040, 0x309F}, {0x30A0, 0x30FF}, + ['Jpan'] = {{0x3000, 0x303F}, {0x3040, 0x309F}, {0x30A0, 0x30FF}, {0x4E00, 0x9FAF}, {0xFF00, 0xFFEF}}, ['Khmr'] = {{0x1780, 0x17FF}, {0x19E0, 0x19FF}}, ['Knda'] = {{0x0C80, 0x0CFF}}, @@ -12760,10 +12866,11 @@ Babel.script_blocks = { ['Thai'] = {{0x0E00, 0x0E7F}}, ['Tibt'] = {{0x0F00, 0x0FFF}}, ['Vaii'] = {{0xA500, 0xA63F}}, - ['Yiii']= {{0xA490, 0xA4CF}, {0xA000, 0xA48F}} + ['Yiii'] = {{0xA000, 0xA48F}, {0xA490, 0xA4CF}} } Babel.script_blocks.Hant = Babel.script_blocks.Hans +Babel.script_blocks.Kana = Babel.script_blocks.Jpan function Babel.locale_map(head) if not Babel.locale_mapped then return head end @@ -12789,7 +12896,7 @@ function Babel.locale_map(head) end end % Now, take action - if toloc then + if toloc and toloc > -1 then if Babel.locale_props[toloc].lg then item.lang = Babel.locale_props[toloc].lg node.set_attribute(item, LOCALE, toloc) @@ -12856,6 +12963,12 @@ end Babel.Babel.cjk_characters[\the\count@]['c'] = '#1' }} \let\bbl@chprop@lb\bbl@chprop@linebreak +\def\bbl@chprop@locale#1{% + \directlua{ + Babel.chr_to_loc = Babel.chr_to_loc or {} + Babel.chr_to_loc[\the\count@] = + \bbl@ifblank{#1}{-1000}{\the\@nameuse{bbl@id@@#1}}\space + }} % \end{macrocode} % % Post-handling hyphenation patterns for non-standard rules, like |ff| @@ -13050,13 +13163,40 @@ end return head end - &% Used below + &% The following functions belong to the next macro + + &% This table stores capture maps, numbered consecutively + Babel.capture_maps = {} + function Babel.capture_func(key, cap) local ret = "[[" .. cap:gsub('{([0-9])}', "]]..m[%1]..[[") .. "]]" + ret = ret:gsub('{([0-9])|([^|]+)|(.-)}', Babel.capture_func_map) ret = ret:gsub("%[%[%]%]%.%.", '') ret = ret:gsub("%.%.%[%[%]%]", '') return key .. [[=function(m) return ]] .. ret .. [[ end]] end + + function Babel.capt_map(from, mapno) + return Babel.capture_maps[mapno][from] or from + end + + &% Handle the {n|abc|ABC} syntax in captures + function Babel.capture_func_map(capno, from, to) + local froms = {} + for s in string.utfcharacters(from) do + table.insert(froms, s) + end + local cnt = 1 + table.insert(Babel.capture_maps, {}) + local mlen = table.getn(Babel.capture_maps) + for s in string.utfcharacters(to) do + Babel.capture_maps[mlen][froms[cnt]] = s + cnt = cnt + 1 + end + return "]]..Babel.capt_map(m[" .. capno .. "]," .. + (mlen) .. ").." .. "[[" + end + } % \end{macrocode} % @@ -13064,7 +13204,10 @@ end % defined above for converting strings to functions returning a string. % These functions handle the |{|\textit{n}|}| syntax. For example, % |pre={1}{1}-| becomes |function(m) return m[1]..m[1]..'-' end|, where -% |m| are the matches returned after applying the pattern. The way it +% |m| are the matches returned after applying the pattern. With a +% mapped capture the functions are similar to +% |function(m) return Babel.capt_map(m[1],1) end|, where the last +% argument identifies the mapping to be applied to |m[1]|. The way it % is carried out is somewhat tricky, but the effect in not dissimilar % to lua |load| – save the code as string in a TeX macro, and expand % this macro at the appropriate place. As |\directlua| does not take @@ -13074,6 +13217,7 @@ end % \begin{macrocode} \catcode`\#=6 \gdef\babelposthyphenation#1#2#3{&% + \bbl@activateposthyphen \begingroup \def\babeltempa{\bbl@add@list\babeltempb}&% \let\babeltempb\@empty @@ -13106,6 +13250,11 @@ end }&% \endgroup} \endgroup +\def\bbl@activateposthyphen{% + \let\bbl@activateposthyphen\relax + \directlua{ + Babel.linebreaking.add_after(Babel.post_hyphenate_replace) + }} % \end{macrocode} % % \subsection{Layout} @@ -19714,12 +19863,6 @@ Babel.fontmap[2] = {} -- al/an Babel.bidi_enabled = true Babel.mirroring_enabled = true --- Temporary: - -if harf then - Babel.mirroring_enabled = false -end - require('babel-data-bidi.lua') local characters = Babel.characters @@ -20010,7 +20153,10 @@ function Babel.bidi(head, ispar, hdir) item = nodes[r][1] -- MIRRORING if Babel.mirroring_enabled and item.id == GLYPH and temp == 'r' and characters[item.char] then - item.char = characters[item.char].m or item.char + local font_mode = font.fonts[item.font].properties.mode + if font_mode ~= 'harf' and font_mode ~= 'plug' then + item.char = characters[item.char].m or item.char + end end end first_on = nil @@ -20321,6 +20467,8 @@ Babel.cjk_class = setmetatable ( Babel.cjk_characters, { __index = function(_, k) if (k >= 0xAC00 and k <= 0xD7A3) -- H2/H3 or (k >= 0x2E80 and k <= 0x9FFF) + or (k >= 0xA000 and k <= 0xA48F) -- Yi + or (k >= 0xA490 and k <= 0xA4CF) -- Yi or (k >= 0xF900 and k <= 0xFAFF) or (k >= 0xFE10 and k <= 0xFE1F) or (k >= 0xFE30 and k <= 0xFE6F) diff --git a/macros/latex/required/babel/base/babel.ins b/macros/latex/required/babel/base/babel.ins index dc9587f35c..86e70a5fc6 100644 --- a/macros/latex/required/babel/base/babel.ins +++ b/macros/latex/required/babel/base/babel.ins @@ -26,7 +26,7 @@ %% and covered by LPPL is defined by the unpacking scripts (with %% extension .ins) which are part of the distribution. %% -\def\filedate{2020/01/15} +\def\filedate{2020/02/03} \def\batchfile{babel.ins} \input docstrip.tex diff --git a/macros/latex/required/babel/base/babel.pdf b/macros/latex/required/babel/base/babel.pdf Binary files differindex ee377662eb..fd66d129fc 100644 --- a/macros/latex/required/babel/base/babel.pdf +++ b/macros/latex/required/babel/base/babel.pdf diff --git a/macros/latex/required/babel/base/bbcompat.dtx b/macros/latex/required/babel/base/bbcompat.dtx index b9ca5b9d88..610eb84045 100644 --- a/macros/latex/required/babel/base/bbcompat.dtx +++ b/macros/latex/required/babel/base/bbcompat.dtx @@ -30,7 +30,7 @@ % % \iffalse %<*dtx> -\ProvidesFile{bbcompat.dtx}[2020/01/15 v3.38] +\ProvidesFile{bbcompat.dtx}[2020/02/03 v3.39] %</dtx> % %% File 'bbcompat.dtx' |