summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/physunits
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-27 21:14:17 +0000
committerKarl Berry <karl@freefriends.org>2020-03-27 21:14:17 +0000
commit95bcc37793c60b5e75659e1d951af49532980b7e (patch)
treea5eced6fe6abf4b4c925aab2f1888a8253728498 /Master/texmf-dist/tex/latex/physunits
parentb540e4fd9d325f16fecb2c001e314b7e20883a63 (diff)
physunits (27mar20)
git-svn-id: svn://tug.org/texlive/trunk@54588 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/physunits')
-rw-r--r--Master/texmf-dist/tex/latex/physunits/physunits.sty18
1 files changed, 10 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/physunits/physunits.sty b/Master/texmf-dist/tex/latex/physunits/physunits.sty
index c84b78b9d9b..b463bcb81fa 100644
--- a/Master/texmf-dist/tex/latex/physunits/physunits.sty
+++ b/Master/texmf-dist/tex/latex/physunits/physunits.sty
@@ -22,14 +22,16 @@
%%
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{physunits}
- [2020/01/26 v1.0.3 Physical units package]
+ [2020/03/26 v1.0.4 Physical units package]
\ProcessOptions\relax
\makeatletter
\DeclareRobustCommand{\units@separator}{\,}
+\ifx\micro\undefined
\DeclareRobustCommand{\micro}{\ensuremath{%
\mu}}
+\fi
\DeclareRobustCommand{\V}[1][ ]{\ensuremath{%
\expandafter\units@separator\mathrm{#1V}}}
\DeclareRobustCommand{\Volt}[1][ ]{\ensuremath{%
@@ -62,7 +64,7 @@
\expandafter\units@separator\mathrm{#1J}}}
\DeclareRobustCommand{\erg}{\ensuremath{%
\expandafter\units@separator\mathrm{erg}}}
-\DeclareRobustCommand{\kcal}[1]{\ensuremath{%
+\DeclareRobustCommand{\kcal}{\ensuremath{%
\expandafter\units@separator\mathrm{kcal}}}
\DeclareRobustCommand{\Cal}{\ensuremath{%
\expandafter\units@separator\mathrm{Cal}}}
@@ -161,12 +163,12 @@
\expandafter\units@separator\mathrm{#1K}}}
\DeclareRobustCommand{\Kelvin}[1][ ]{\ensuremath{%
\expandafter\units@separator\mathrm{#1K}}}
-\DeclareRobustCommand{\Celcius}{^\circ\ensuremath{%
-\expandafter\units@separator\mathrm{C}}}
-\DeclareRobustCommand{\Rankine}{^\circ\ensuremath{%
-\expandafter\units@separator\mathrm{R}}}
-\DeclareRobustCommand{\Fahrenheit}{^\circ\ensuremath{%
-\expandafter\units@separator\mathrm{F}}}
+\DeclareRobustCommand{\Celcius}{\ensuremath{\expandafter\units@separator{}%
+^\circ\mathrm{C}}}
+\DeclareRobustCommand{\Rankine}{\ensuremath{%
+\expandafter\units@separator{}^\circ\mathrm{R}}}
+\DeclareRobustCommand{\Fahrenheit}{\ensuremath{%
+\expandafter\units@separator{}^\circ\mathrm{F}}}
\DeclareRobustCommand{\rpm}{\ensuremath{%
\expandafter\units@separator\mathrm{rev}%