diff options
author | Norbert Preining <preining@logic.at> | 2021-04-04 02:16:00 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2021-04-04 02:16:00 +0000 |
commit | 3d8fba297bf1e089206fc988114b0f6ca170ce71 (patch) | |
tree | af4a93033a464718b0e0a8bdb36e7a49d88536b7 | |
parent | 42c224418f317ba690216bed4479b7bcf678c41c (diff) |
physunits (4apr21)
git-svn-id: svn://tug.org/texlive/trunk@58728 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/physunits/CHANGELOG.md | 9 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/physunits/physunits.pdf | bin | 105018 -> 105873 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/physunits/physunits.dtx | 29 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/physunits/physunits.sty | 6 |
4 files changed, 32 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/physunits/CHANGELOG.md b/Master/texmf-dist/doc/latex/physunits/CHANGELOG.md index d61164e2633..468d7a0f61b 100644 --- a/Master/texmf-dist/doc/latex/physunits/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/physunits/CHANGELOG.md @@ -56,4 +56,13 @@ with the unit instead of with the number. Correct both of these issues. - Add bug reporting section to documentation - Add prerequisites section to documentation - Give some explanation of differences to siunitx in introduction +## [1.1.0] - 2020/11/02 +### Added +- Added Celsius macro (correct spelling of Celcius). Retained incorrect +spelling for backward compatability. +## [1.2.0] - 2021/03/26 +### Added +- Added centigrade macro. +### Changes +- Fixed some versioning comments diff --git a/Master/texmf-dist/doc/latex/physunits/physunits.pdf b/Master/texmf-dist/doc/latex/physunits/physunits.pdf Binary files differindex e6f2ad825a1..84895ce2c80 100644 --- a/Master/texmf-dist/doc/latex/physunits/physunits.pdf +++ b/Master/texmf-dist/doc/latex/physunits/physunits.pdf diff --git a/Master/texmf-dist/source/latex/physunits/physunits.dtx b/Master/texmf-dist/source/latex/physunits/physunits.dtx index 5bb71b3fa62..6ef6160e9ba 100644 --- a/Master/texmf-dist/source/latex/physunits/physunits.dtx +++ b/Master/texmf-dist/source/latex/physunits/physunits.dtx @@ -22,7 +22,7 @@ %<package>\NeedsTeXFormat{LaTeX2e}[1994/06/01] %<package> \ProvidesPackage{physunits} %<*package> - [2020/03/26 v1.0.4 Physical units package] + [2020/03/26 v1.2.0 Physical units package] %</package> %<package>\ProcessOptions\relax %<*driver> @@ -41,7 +41,7 @@ %</driver> % \fi % -% \CheckSum{490} +% \CheckSum{496} % % \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 @@ -65,10 +65,12 @@ % \changes{v1.0.3}{2020/01/26}{External changes in makefile} % \changes{v1.0.4}{2020/03/26}{Corrected version number and date in % documentation} +% \changes{v1.1.0}{2020/11/02}{Corrected spelling of Celsius} +% \changes{v1.2.0}{2020/03/26}{Added centigrade} % % \GetFileInfo{physunits.dtx} -% \DeclareRobustCommand{\fileversion}{v1.0.4} -% \DeclareRobustCommand{\filedate}{2020/03/26} +% \DeclareRobustCommand{\fileversion}{v1.2.0} +% \DeclareRobustCommand{\filedate}{2021/03/26} % % \DoNotIndex{\DeclareRobustCommand,\newenvironment,\DeclareRobustCommand, % \left,\right,\textbf,\mathrm,\ensuremath,\units@separator,\expandafter,\,} @@ -514,9 +516,12 @@ % This macro accepts an optional argument for a prefix. If no option is % supplied, no prefix will be prepended. % -% \DescribeMacro{\Celcius} -% \index{Temperature>Celcius|usage} -% |\Celcius| is a macro for degrees Celcius $(\Celcius)$. +% \changes{v1.1.0}{2020/11/02}{Corrected spelling of Celsius.} +% \changes{v1.2.0}{2020/03/26}{Added centigrade.} +% \DescribeMacro{\Celsius} +% \index{Temperature>Celsius|usage} +% |\Celsius| is a macro for degrees Celsius $(\Celsius)$. +% |\Celcius| and |\centigrade| are identical macros $(\Celsius)$. % % \DescribeMacro{\Rankine} % \index{Temperature>Rankine|usage} @@ -1662,16 +1667,20 @@ %\iffalse %<*package> %\fi -% \begin{macro}{\Celcius} +% \begin{macro}{\Celsius} % \changes{v1.0.4}{2020/03/26}{had ${}^\circ$ outside of % ensuremath, causing problems for text mode. It is also more common to typeset % the $^\circ$ with the unit instead of the number. Corrects both of these % issues} -% |\Celcius| is a macro for degrees Celcius $(\Celcius)$. +% \changes{v1.1.0}{2020/11/02}{corrected spelling of Celsius and added +% duplicate macro with incorrect spelling (``Celcius'')} +% \changes{v1.2.0}{2021/03/26}{Added centigrade} % % \begin{macrocode} -\DeclareRobustCommand{\Celcius}{\ensuremath{\expandafter\units@separator{}% +\DeclareRobustCommand{\Celsius}{\ensuremath{\expandafter\units@separator{}% ^\circ\mathrm{C}}} +\DeclareRobustCommand{\Celcius}{\Celsius} +\DeclareRobustCommand{\centigrade}{\Celsius} % \end{macrocode} % \end{macro} %\iffalse diff --git a/Master/texmf-dist/tex/latex/physunits/physunits.sty b/Master/texmf-dist/tex/latex/physunits/physunits.sty index b463bcb81fa..99a4dd3415f 100644 --- a/Master/texmf-dist/tex/latex/physunits/physunits.sty +++ b/Master/texmf-dist/tex/latex/physunits/physunits.sty @@ -22,7 +22,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1994/06/01] \ProvidesPackage{physunits} - [2020/03/26 v1.0.4 Physical units package] + [2020/03/26 v1.2.0 Physical units package] \ProcessOptions\relax @@ -163,8 +163,10 @@ \expandafter\units@separator\mathrm{#1K}}} \DeclareRobustCommand{\Kelvin}[1][ ]{\ensuremath{% \expandafter\units@separator\mathrm{#1K}}} -\DeclareRobustCommand{\Celcius}{\ensuremath{\expandafter\units@separator{}% +\DeclareRobustCommand{\Celsius}{\ensuremath{\expandafter\units@separator{}% ^\circ\mathrm{C}}} +\DeclareRobustCommand{\Celcius}{\Celsius} +\DeclareRobustCommand{\centigrade}{\Celsius} \DeclareRobustCommand{\Rankine}{\ensuremath{% \expandafter\units@separator{}^\circ\mathrm{R}}} \DeclareRobustCommand{\Fahrenheit}{\ensuremath{% |