texlive[58728] Master/texmf-dist: physunits (4apr21)
commits+preining at tug.org
commits+preining at tug.org
Sun Apr 4 04:16:00 CEST 2021
Revision: 58728
http://tug.org/svn/texlive?view=revision&revision=58728
Author: preining
Date: 2021-04-04 04:16:00 +0200 (Sun, 04 Apr 2021)
Log Message:
-----------
physunits (4apr21)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/physunits/CHANGELOG.md
trunk/Master/texmf-dist/doc/latex/physunits/physunits.pdf
trunk/Master/texmf-dist/source/latex/physunits/physunits.dtx
trunk/Master/texmf-dist/tex/latex/physunits/physunits.sty
Modified: trunk/Master/texmf-dist/doc/latex/physunits/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/physunits/CHANGELOG.md 2021-04-04 02:15:12 UTC (rev 58727)
+++ trunk/Master/texmf-dist/doc/latex/physunits/CHANGELOG.md 2021-04-04 02:16:00 UTC (rev 58728)
@@ -56,4 +56,13 @@
- 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
Modified: trunk/Master/texmf-dist/doc/latex/physunits/physunits.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/physunits/physunits.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/physunits/physunits.dtx 2021-04-04 02:15:12 UTC (rev 58727)
+++ trunk/Master/texmf-dist/source/latex/physunits/physunits.dtx 2021-04-04 02:16:00 UTC (rev 58728)
@@ -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 at 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 at separator{}%
+\DeclareRobustCommand{\Celsius}{\ensuremath{\expandafter\units at separator{}%
^\circ\mathrm{C}}}
+\DeclareRobustCommand{\Celcius}{\Celsius}
+\DeclareRobustCommand{\centigrade}{\Celsius}
% \end{macrocode}
% \end{macro}
%\iffalse
Modified: trunk/Master/texmf-dist/tex/latex/physunits/physunits.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/physunits/physunits.sty 2021-04-04 02:15:12 UTC (rev 58727)
+++ trunk/Master/texmf-dist/tex/latex/physunits/physunits.sty 2021-04-04 02:16:00 UTC (rev 58728)
@@ -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 at separator\mathrm{#1K}}}
\DeclareRobustCommand{\Kelvin}[1][ ]{\ensuremath{%
\expandafter\units at separator\mathrm{#1K}}}
-\DeclareRobustCommand{\Celcius}{\ensuremath{\expandafter\units at separator{}%
+\DeclareRobustCommand{\Celsius}{\ensuremath{\expandafter\units at separator{}%
^\circ\mathrm{C}}}
+\DeclareRobustCommand{\Celcius}{\Celsius}
+\DeclareRobustCommand{\centigrade}{\Celsius}
\DeclareRobustCommand{\Rankine}{\ensuremath{%
\expandafter\units at separator{}^\circ\mathrm{R}}}
\DeclareRobustCommand{\Fahrenheit}{\ensuremath{%
More information about the tex-live-commits
mailing list.