summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/siunitx/siunitx-emulation.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/siunitx/siunitx-emulation.dtx')
-rw-r--r--macros/latex/contrib/siunitx/siunitx-emulation.dtx23
1 files changed, 18 insertions, 5 deletions
diff --git a/macros/latex/contrib/siunitx/siunitx-emulation.dtx b/macros/latex/contrib/siunitx/siunitx-emulation.dtx
index cc60aa85e8..9d0133affb 100644
--- a/macros/latex/contrib/siunitx/siunitx-emulation.dtx
+++ b/macros/latex/contrib/siunitx/siunitx-emulation.dtx
@@ -776,6 +776,13 @@
{ quantity-product }
\l_keys_value_tl
} ,
+ number-unit-separator .code:n =
+ {
+ \@@_option_deprecated:nnV
+ { number-unit-separator }
+ { quantity-product }
+ \l_keys_value_tl
+ } ,
prefixes-as-symbols .choice: ,
prefixes-as-symbols / false . code:n =
{
@@ -1044,25 +1051,31 @@
\bar { bar }
\barn { b }
\bohr
- { \text { \ensuremath { a } } \char_generate:nn { `\_ } { 8 } { 0 } }
+ {
+ \exp_not:N \text
+ { \exp_not:N \ensuremath { a } } \char_generate:nn { `\_ } { 8 } { 0 }
+ }
\clight
- { \text { \ensuremath { c } } \char_generate:nn { `\_ } { 8 } { 0 } }
+ {
+ \exp_not:N \text
+ { \exp_not:N \ensuremath { c } } \char_generate:nn { `\_ } { 8 } { 0 }
+ }
\electronmass
{
- \text { \ensuremath { m } }
+ \exp_not:N \text { \exp_not:N \ensuremath { m } }
\char_generate:nn { `\_ } { 8 } { \exp_not:N \mathrm { e } }
}
\elementarycharge { \text { \ensuremath { e } } }
\hartree
{
- \text { \ensuremath { E } }
+ \exp_not:N \text { \exp_not:N \ensuremath { E } }
\char_generate:nn { `\_ } { 8 } { \exp_not:N \mathrm { h } }
}
\knot { kn }
\mmHg { mmHg }
\nauticalmile { M }
\planckbar
- { \text { \ensuremath { \exp_not:N \hbar } } }
+ { \exp_not:N \text { \exp_not:N \ensuremath { \exp_not:N \hbar } } }
\q_recursion_tail { }
\q_recursion_stop
\@ifpackageloaded { fontspec }