summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/physunits/physunits.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/physunits/physunits.dtx')
-rw-r--r--macros/latex/contrib/physunits/physunits.dtx29
1 files changed, 19 insertions, 10 deletions
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