summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/physunits
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-03-28 03:00:55 +0000
committerNorbert Preining <norbert@preining.info>2021-03-28 03:00:55 +0000
commitddd501183c3e68b7a98bdeb023d0b98ef84dae22 (patch)
treec36e981b83bb2591db85285af29b4d468ac671cb /macros/latex/contrib/physunits
parent178fc96a7be703f91ea55832bd42b07eaf9f1ac5 (diff)
CTAN sync 202103280300
Diffstat (limited to 'macros/latex/contrib/physunits')
-rw-r--r--macros/latex/contrib/physunits/CHANGELOG.md9
-rw-r--r--macros/latex/contrib/physunits/physunits.dtx29
-rw-r--r--macros/latex/contrib/physunits/physunits.pdfbin105018 -> 105873 bytes
3 files changed, 28 insertions, 10 deletions
diff --git a/macros/latex/contrib/physunits/CHANGELOG.md b/macros/latex/contrib/physunits/CHANGELOG.md
index d61164e263..468d7a0f61 100644
--- a/macros/latex/contrib/physunits/CHANGELOG.md
+++ b/macros/latex/contrib/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/macros/latex/contrib/physunits/physunits.dtx b/macros/latex/contrib/physunits/physunits.dtx
index 5bb71b3fa6..6ef6160e9b 100644
--- a/macros/latex/contrib/physunits/physunits.dtx
+++ b/macros/latex/contrib/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/macros/latex/contrib/physunits/physunits.pdf b/macros/latex/contrib/physunits/physunits.pdf
index e6f2ad825a..84895ce2c8 100644
--- a/macros/latex/contrib/physunits/physunits.pdf
+++ b/macros/latex/contrib/physunits/physunits.pdf
Binary files differ