diff options
Diffstat (limited to 'tex/context/base/mkxl/phys-dim.mkxl')
-rw-r--r-- | tex/context/base/mkxl/phys-dim.mkxl | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/tex/context/base/mkxl/phys-dim.mkxl b/tex/context/base/mkxl/phys-dim.mkxl index 90475f5b8..8277ba231 100644 --- a/tex/context/base/mkxl/phys-dim.mkxl +++ b/tex/context/base/mkxl/phys-dim.mkxl @@ -168,7 +168,7 @@ % \definesymbol[units][times][\ifmmode\cdot\else\kern.2\emwidth\cdot\kern.2\emwidth\fi] \permanent\protected\def\digitstextbinop#1% assumes preceding - {\ifmmode#1\else\fourperemspace\nobreak#1\fourperemspace\fi} + {\ifmmode\mathord{#1}\else\nobreak#1\fi} \frozen\def\digitstimessymbol{\digitstextbinop\times} @@ -389,9 +389,9 @@ {\defcsname\??unitseparator#1\endcsname{#2}} \protected\def\phys_units_separator - {\ifcsname\??unitseparator\unitparameter\c!separator\endcsname\lastnamedcs\else\cdot\fi} + {\ifcsname\??unitseparator\unitparameter\c!separator\endcsname\lastnamedcs\else\ifmmode\mathord\cdot\else\cdot\fi\fi} % Made \cdot an "ord" in math mode -GP -\installunitsseparator\v!normal{\cdot} +\installunitsseparator\v!normal{\ifmmode\mathord\cdot\else\cdot\fi} % Made \cdot an "ord" in math mode -GP \installunitsseparator\v!big {\unitsbigspace} \installunitsseparator\v!medium{\unitsmediumspace} \installunitsseparator\v!small {\unitssmallspace} @@ -507,9 +507,6 @@ {\edef\p_order{\unitparameter\c!order}% \ifx\p_order\v!reverse\expandafter\clf_unit_reverse\else\expandafter\clf_unit_normal\fi{\detokenize{#1}}} -\permanent\protected\def\digitstextbinnop#1% - {\ifmmode#1\else#1\fourperemspace\fi} - \permanent\protected\def\unitsPUS#1#2#3{\phys_units_next\prefixtext{#1}\unittext{#2}\unitsraise{\suffixtext{#3}}\c_phys_units_state\plusone} % suffix \permanent\protected\def\unitsPU #1#2{\phys_units_next\prefixtext{#1}\unittext{#2}\c_phys_units_state\plusthree} % unit \permanent\protected\def\unitsPS #1#2{\phys_units_next\prefixtext{#1}\unitsraise{\suffixtext{#2}}\c_phys_units_state\plusone} % suffix @@ -685,7 +682,7 @@ \setfalse\c_phys_units_dospace \phys_units_start} -\permanent\protected\def\unitsTIMES +\permanent\protected\def\unitsTIMES % GP: Does this do anything? HH: yes "times" {\ifnum\c_phys_units_state=\plusone % suffix \else \unitssmallspace |