summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-07-28 20:48:28 +0000
committerKarl Berry <karl@freefriends.org>2021-07-28 20:48:28 +0000
commit8d926a39de2bc76c0488c7ae02fe3665a543399f (patch)
tree6d75ffb83ed815e70c1cd84ce8c4673dc32f3f68
parent308bb1108f05d9f3b498559bb2037cbd8cefb156 (diff)
siunitx (28jul21)
git-svn-id: svn://tug.org/texlive/trunk@60105 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md8
-rw-r--r--Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdfbin1497883 -> 1498511 bytes
-rw-r--r--Master/texmf-dist/doc/latex/siunitx/siunitx.pdfbin636251 -> 636249 bytes
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.dtx2
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.ins2
-rw-r--r--Master/texmf-dist/source/latex/siunitx/siunitx.tex2
-rw-r--r--Master/texmf-dist/tex/latex/siunitx/siunitx.sty490
7 files changed, 255 insertions, 249 deletions
diff --git a/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md b/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md
index 0c0c7545fa8..2c92c252dd7 100644
--- a/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md
+++ b/Master/texmf-dist/doc/latex/siunitx/CHANGELOG.md
@@ -7,6 +7,11 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
## [Unreleased]
+## [v3.0.23]
+
+### Fixed
+- Load order of `xparse` (issue #518)
+
## [v3.0.22]
### Changed
@@ -1449,7 +1454,8 @@ Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
### Added
- First public testing release (as `si`)
-[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.0.22...HEAD
+[Unreleased]: https://github.com/josephwright/siunitx/compare/v3.0.23...HEAD
+[v3.0.23]: https://github.com/josephwright/siunitx/compare/v3.0.22...v3.0.23
[v3.0.22]: https://github.com/josephwright/siunitx/compare/v3.0.21...v3.0.22
[v3.0.21]: https://github.com/josephwright/siunitx/compare/v3.0.20...v3.0.21
[v3.0.20]: https://github.com/josephwright/siunitx/compare/v3.0.19...v3.0.20
diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf
index 4327acc11e7..7a4b9ba7093 100644
--- a/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf
+++ b/Master/texmf-dist/doc/latex/siunitx/siunitx-code.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
index 0d5c442a746..0bca76872a2 100644
--- a/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
+++ b/Master/texmf-dist/doc/latex/siunitx/siunitx.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
index 73f54d71eba..9a53dd6c880 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx.dtx
@@ -121,7 +121,7 @@
%
% Identify the package and give the over all version information.
% \begin{macrocode}
-\ProvidesExplPackage {siunitx} {2021-07-22} {3.0.22}
+\ProvidesExplPackage {siunitx} {2021-07-26} {3.0.23}
{A comprehensive (SI) units package}
% \end{macrocode}
%
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.ins b/Master/texmf-dist/source/latex/siunitx/siunitx.ins
index 32ef6f900a7..e6d4dae7f6e 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx.ins
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx.ins
@@ -96,8 +96,8 @@ This work consists of the files siunitx.dtx,
\from{siunitx-command.dtx} {package}
\from{siunitx-emulation.dtx} {package,options}
\from{siunitx.dtx} {package,options}
- \from{siunitx-emulation.dtx} {package,interfaces}
\from{siunitx.dtx} {package,interfaces}
+ \from{siunitx-emulation.dtx} {package,interfaces}
}%
}
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx.tex b/Master/texmf-dist/source/latex/siunitx/siunitx.tex
index c37e3682e0a..735ab2d0d8c 100644
--- a/Master/texmf-dist/source/latex/siunitx/siunitx.tex
+++ b/Master/texmf-dist/source/latex/siunitx/siunitx.tex
@@ -1191,7 +1191,7 @@ example all sanserif math.
\DescribeOption{text-family-to-math}
\DescribeOption{text-series-to-math}
-The options \opt{text-family-to-math} and \opt{text-family-to-math} can be
+The options \opt{text-family-to-math} and \opt{text-series-to-math} can be
used to match (as far as possible) math mode output to the surrounding text.
These options work by detecting the current text settings and making the
appropriate choice in math mode.
diff --git a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
index 8af08eb1376..d0b6477cb1a 100644
--- a/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
+++ b/Master/texmf-dist/tex/latex/siunitx/siunitx.sty
@@ -20,8 +20,8 @@
%% siunitx-command.dtx (with options: `package')
%% siunitx-emulation.dtx (with options: `package,options')
%% siunitx.dtx (with options: `package,options')
-%% siunitx-emulation.dtx (with options: `package,interfaces')
%% siunitx.dtx (with options: `package,interfaces')
+%% siunitx-emulation.dtx (with options: `package,interfaces')
%%
\providecommand\DeclareRelease[3]{}
\providecommand\DeclareCurrentRelease[2]{}
@@ -42,7 +42,7 @@
}%
\endinput
}%
-\ProvidesExplPackage {siunitx} {2021-07-22} {3.0.22}
+\ProvidesExplPackage {siunitx} {2021-07-26} {3.0.23}
{A comprehensive (SI) units package}
\msg_new:nnnn { siunitx } { incompatible-package }
{ Package~'#1'~incompatible. }
@@ -7087,249 +7087,6 @@
}
\RequirePackage { l3keys2e }
\ProcessKeysOptions { siunitx }
-\NewDocumentCommand \DeclareBinaryPrefix { +m m m }
- {
- \siunitx_declare_prefix:Nn #1 {#2}
- }
-\NewDocumentCommand \DeclareSIPrePower { +m m }
- {
- \siunitx_declare_power:NNn #1 \__siunitx_tmp:w {#2}
- \seq_remove_all:Nn \l_siunitx_unit_symbolic_seq { \__siunitx_tmp:w }
- }
-\NewDocumentCommand \DeclareSIPostPower { +m m }
- {
- \siunitx_declare_power:NNn \__siunitx_tmp:w #1 {#2}
- \seq_remove_all:Nn \l_siunitx_unit_symbolic_seq { \__siunitx_tmp:w }
- }
-\NewDocumentCommand \si { O { } m }
- {
- \mode_leave_vertical:
- \group_begin:
- \keys_set:nn { siunitx } {#1}
- \siunitx_unit_format:nN {#2} \l__siunitx_tmp_tl
- \siunitx_print_unit:V \l__siunitx_tmp_tl
- \group_end:
- }
-\NewDocumentCommand \SI { O { } m o m }
- {
- \mode_leave_vertical:
- \group_begin:
- \keys_set:nn { siunitx } {#1}
- \IfNoValueF {#3}
- {
- \siunitx_unit_format:nN {#3} \l__siunitx_tmp_tl
- \siunitx_print_unit:V \l__siunitx_tmp_tl
- \nobreak
- }
- \siunitx_quantity:nn {#2} {#4}
- \group_end:
- }
-\NewDocumentCommand \SIlist
- { O { } > { \SplitList { ; } } m > { \TrimSpaces } m }
- {
- \mode_leave_vertical:
- \group_begin:
- \siunitx_unit_options_apply:n {#3}
- \keys_set:nn { siunitx } {#1}
- \siunitx_quantity_list:nn {#2} {#3}
- \group_end:
- }
-\NewDocumentCommand \SIrange { O { } m m > { \TrimSpaces } m }
- {
- \mode_leave_vertical:
- \group_begin:
- \siunitx_unit_options_apply:n {#4}
- \keys_set:nn { siunitx } {#1}
- \siunitx_quantity_range:nnn {#2} {#3} {#4}
- \group_end:
- }
-\bool_lazy_or:nnTF
- { \sys_if_engine_luatex_p: }
- { \sys_if_engine_xetex_p: }
- {
- \cs_new:Npn \__siunitx_emulation_non_latin:n #1
- { \char_generate:nn {#1} { \char_value_catcode:n {#1} } }
- }
- {
- \cs_new:Npn \__siunitx_emulation_non_latin:n #1
- {
- \exp_last_unbraced:Nf \__siunitx_emulation_non_latin:nnnn
- { \char_to_utfviii_bytes:n {#1} }
- }
- \cs_new:Npn \__siunitx_emulation_non_latin:nnnn #1#2#3#4
- {
- \exp_after:wN \exp_after:wN \exp_after:wN
- \exp_not:N \char_generate:nn {#1} { 13 }
- \exp_after:wN \exp_after:wN \exp_after:wN
- \exp_not:N \char_generate:nn {#2} { 13 }
- }
- }
-\AtBeginDocument
- {
- \cs_new_protected:Npn \SIUnitSymbolArcminute
- { \ensuremath { { } ' } }
- \cs_new_protected:Npn \SIUnitSymbolArcsecond
- { \ensuremath { { } '' } }
- \@ifpackageloaded { fontspec }
- {
- \cs_new_protected:Npx \SIUnitSymbolAngstrom
- { \__siunitx_emulation_non_latin:n { "00C5 } }
- \cs_new_protected:Npx \SIUnitSymbolDegree
- { \__siunitx_emulation_non_latin:n { "00B0 } }
- \cs_new_protected:Npx \SIUnitSymbolCelsius
- { \__siunitx_emulation_non_latin:n { "00B0 } C }
- }
- {
- \cs_new_protected:Npx \SIUnitSymbolAngstrom
- {
- \siunitx_print_text:n
- { \__siunitx_emulation_non_latin:n { "00C5 } }
- }
- \cs_new_protected:Npx \SIUnitSymbolCelsius
- {
- \siunitx_print_text:n
- { \__siunitx_emulation_non_latin:n { "00B0 } } C
- }
- \cs_new_protected:Npx \SIUnitSymbolDegree
- {
- \siunitx_print_text:n
- { \__siunitx_emulation_non_latin:n { "00B0 } }
- }
- }
- \cs_new_protected:Npx \SIUnitSymbolMicro
- {
- \siunitx_print_text:n
- {
- \bool_lazy_or:nnTF
- { \sys_if_engine_luatex_p: }
- { \sys_if_engine_xetex_p: }
- { \__siunitx_emulation_non_latin:n { "00B5 } }
- { \exp_not:N \textmu }
- }
- }
- \cs_new_protected:Npx \SIUnitSymbolOhm
- {
- \exp_not:N \ifmmode
- \cs_if_exist:NTF \upOmega
- { \exp_not:N \upOmega }
- { \exp_not:N \Omega }
- \exp_not:N \else
- \siunitx_print_text:n
- {
- \bool_lazy_or:nnTF
- { \sys_if_engine_luatex_p: }
- { \sys_if_engine_xetex_p: }
- { \__siunitx_emulation_non_latin:n { "03A9 } }
- { \exp_not:N \textohm }
- }
- \exp_not:N \fi
- }
- }
-\siunitx_declare_unit:Nn \celsius { \degreeCelsius }
-\msg_new:nnn { siunitx } { unit-deprecated }
- {
- Unit~macro~#1~has~been~deprecated~in~this~release. \\ \\
- The~BIPM~have~removed~this~unit~from~the~SI~Brochure.~
- You~should~define~it~yourself~using~\token_to_str:N \DeclareSIUnit\ %
- in~your~source.~The~current~definition~is\\ \\
- \token_to_str:N \DeclareSIUnit #1 \{ #2 \}
- }
-\cs_gset_protected:Npn \__siunitx_emulation_tmp:w #1#2
- {
- \quark_if_recursion_tail_stop:N #1
- \bool_new:c { g__siunitx_emulation_unit_warning_ \token_to_str:N #1 _bool }
- \siunitx_declare_unit:Nx #1
- {
- \exp_not:N \bool_if:NF
- \exp_not:c { g__siunitx_emulation_unit_warning_ \token_to_str:N #1 _bool }
- {
- \exp_not:N \bool_gset_true:N
- \exp_not:c { g__siunitx_emulation_unit_warning_ \token_to_str:N #1 _bool }
- \msg_warning:nnnn { siunitx } { unit-deprecated }
- { \token_to_str:N #1 } {#2}
- }
- #2
- }
- \__siunitx_emulation_tmp:w
- }
-\__siunitx_emulation_tmp:w
- \atomicmassunit { u }
- \bar { bar }
- \barn { b }
- \bohr
- {
- \exp_not:N \text
- { \exp_not:N \ensuremath { a } } \char_generate:nn { `\_ } { 8 } { 0 }
- }
- \clight
- {
- \exp_not:N \text
- { \exp_not:N \ensuremath { c } } \char_generate:nn { `\_ } { 8 } { 0 }
- }
- \electronmass
- {
- \exp_not:N \text { \exp_not:N \ensuremath { m } }
- \char_generate:nn { `\_ } { 8 } { \exp_not:N \mathrm { e } }
- }
- \elementarycharge { \text { \ensuremath { e } } }
- \hartree
- {
- \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
- { \exp_not:N \text { \exp_not:N \ensuremath { \exp_not:N \hbar } } }
- \q_recursion_tail { }
- \q_recursion_stop
-\@ifpackageloaded { fontspec }
- {
- \__siunitx_emulation_tmp:w \angstrom { \__siunitx_emulation_non_latin:n { "00C5 } }
- }
- {
- \__siunitx_emulation_tmp:w \angstrom
- { \exp_not:N \text { \__siunitx_emulation_non_latin:n { "00C5 } } }
- }
- \q_recursion_tail { }
- \q_recursion_stop
-\NewDocumentCommand \SendSettingsToPgf { }
- {
- \use:x
- {
- \exp_not:N \pgfqkeys { /pgf/number~format }
- {
- \str_if_eq:VnT \l__siunitx_number_round_mode_tl { figures }
- {
- fixed ,
- fixed~zerofill = true ,
- }
- precision = \int_use:N \l__siunitx_number_round_precision_int ,
- set~decimal~separator =
- \str_if_eq:VnTF \l_siunitx_number_output_decimal_tl { , }
- { \exp_not:N \mathord }
- { \use:n }
- { \exp_not:V \l_siunitx_number_output_decimal_tl } ,
- set~thousands~separator =
- set~decimal~separator =
- \str_if_eq:VnTF \l__siunitx_number_group_separator_tl { , }
- { \exp_not:N \mathord }
- { \use:n }
- { \exp_not:V \l__siunitx_number_group_separator_tl } ,
- min~exponent~for~1000~sep =
- \int_eval:n { \l__siunitx_number_group_minimum_int - 1 } ,
- \bool_lazy_or:nnF
- { \l__siunitx_number_group_decimal_bool }
- { \l__siunitx_number_group_integer_bool }
- { min~exponent~for~1000~sep = 999 , }
- showpos =
- \bool_if:NTF \l__siunitx_number_implicit_plus_bool
- { true }
- { false }
- }
- }
- }
\IfFormatAtLeastTF { 2020-10-01 }
{ }
{ \RequirePackage { xparse } }
@@ -7691,6 +7448,249 @@
\exp_not:N \tl_if_blank:nF {#1} { + 1 }
\exp_not:N \__siunitx_list_count:w \c_space_tl
}
+\NewDocumentCommand \DeclareBinaryPrefix { +m m m }
+ {
+ \siunitx_declare_prefix:Nn #1 {#2}
+ }
+\NewDocumentCommand \DeclareSIPrePower { +m m }
+ {
+ \siunitx_declare_power:NNn #1 \__siunitx_tmp:w {#2}
+ \seq_remove_all:Nn \l_siunitx_unit_symbolic_seq { \__siunitx_tmp:w }
+ }
+\NewDocumentCommand \DeclareSIPostPower { +m m }
+ {
+ \siunitx_declare_power:NNn \__siunitx_tmp:w #1 {#2}
+ \seq_remove_all:Nn \l_siunitx_unit_symbolic_seq { \__siunitx_tmp:w }
+ }
+\NewDocumentCommand \si { O { } m }
+ {
+ \mode_leave_vertical:
+ \group_begin:
+ \keys_set:nn { siunitx } {#1}
+ \siunitx_unit_format:nN {#2} \l__siunitx_tmp_tl
+ \siunitx_print_unit:V \l__siunitx_tmp_tl
+ \group_end:
+ }
+\NewDocumentCommand \SI { O { } m o m }
+ {
+ \mode_leave_vertical:
+ \group_begin:
+ \keys_set:nn { siunitx } {#1}
+ \IfNoValueF {#3}
+ {
+ \siunitx_unit_format:nN {#3} \l__siunitx_tmp_tl
+ \siunitx_print_unit:V \l__siunitx_tmp_tl
+ \nobreak
+ }
+ \siunitx_quantity:nn {#2} {#4}
+ \group_end:
+ }
+\NewDocumentCommand \SIlist
+ { O { } > { \SplitList { ; } } m > { \TrimSpaces } m }
+ {
+ \mode_leave_vertical:
+ \group_begin:
+ \siunitx_unit_options_apply:n {#3}
+ \keys_set:nn { siunitx } {#1}
+ \siunitx_quantity_list:nn {#2} {#3}
+ \group_end:
+ }
+\NewDocumentCommand \SIrange { O { } m m > { \TrimSpaces } m }
+ {
+ \mode_leave_vertical:
+ \group_begin:
+ \siunitx_unit_options_apply:n {#4}
+ \keys_set:nn { siunitx } {#1}
+ \siunitx_quantity_range:nnn {#2} {#3} {#4}
+ \group_end:
+ }
+\bool_lazy_or:nnTF
+ { \sys_if_engine_luatex_p: }
+ { \sys_if_engine_xetex_p: }
+ {
+ \cs_new:Npn \__siunitx_emulation_non_latin:n #1
+ { \char_generate:nn {#1} { \char_value_catcode:n {#1} } }
+ }
+ {
+ \cs_new:Npn \__siunitx_emulation_non_latin:n #1
+ {
+ \exp_last_unbraced:Nf \__siunitx_emulation_non_latin:nnnn
+ { \char_to_utfviii_bytes:n {#1} }
+ }
+ \cs_new:Npn \__siunitx_emulation_non_latin:nnnn #1#2#3#4
+ {
+ \exp_after:wN \exp_after:wN \exp_after:wN
+ \exp_not:N \char_generate:nn {#1} { 13 }
+ \exp_after:wN \exp_after:wN \exp_after:wN
+ \exp_not:N \char_generate:nn {#2} { 13 }
+ }
+ }
+\AtBeginDocument
+ {
+ \cs_new_protected:Npn \SIUnitSymbolArcminute
+ { \ensuremath { { } ' } }
+ \cs_new_protected:Npn \SIUnitSymbolArcsecond
+ { \ensuremath { { } '' } }
+ \@ifpackageloaded { fontspec }
+ {
+ \cs_new_protected:Npx \SIUnitSymbolAngstrom
+ { \__siunitx_emulation_non_latin:n { "00C5 } }
+ \cs_new_protected:Npx \SIUnitSymbolDegree
+ { \__siunitx_emulation_non_latin:n { "00B0 } }
+ \cs_new_protected:Npx \SIUnitSymbolCelsius
+ { \__siunitx_emulation_non_latin:n { "00B0 } C }
+ }
+ {
+ \cs_new_protected:Npx \SIUnitSymbolAngstrom
+ {
+ \siunitx_print_text:n
+ { \__siunitx_emulation_non_latin:n { "00C5 } }
+ }
+ \cs_new_protected:Npx \SIUnitSymbolCelsius
+ {
+ \siunitx_print_text:n
+ { \__siunitx_emulation_non_latin:n { "00B0 } } C
+ }
+ \cs_new_protected:Npx \SIUnitSymbolDegree
+ {
+ \siunitx_print_text:n
+ { \__siunitx_emulation_non_latin:n { "00B0 } }
+ }
+ }
+ \cs_new_protected:Npx \SIUnitSymbolMicro
+ {
+ \siunitx_print_text:n
+ {
+ \bool_lazy_or:nnTF
+ { \sys_if_engine_luatex_p: }
+ { \sys_if_engine_xetex_p: }
+ { \__siunitx_emulation_non_latin:n { "00B5 } }
+ { \exp_not:N \textmu }
+ }
+ }
+ \cs_new_protected:Npx \SIUnitSymbolOhm
+ {
+ \exp_not:N \ifmmode
+ \cs_if_exist:NTF \upOmega
+ { \exp_not:N \upOmega }
+ { \exp_not:N \Omega }
+ \exp_not:N \else
+ \siunitx_print_text:n
+ {
+ \bool_lazy_or:nnTF
+ { \sys_if_engine_luatex_p: }
+ { \sys_if_engine_xetex_p: }
+ { \__siunitx_emulation_non_latin:n { "03A9 } }
+ { \exp_not:N \textohm }
+ }
+ \exp_not:N \fi
+ }
+ }
+\siunitx_declare_unit:Nn \celsius { \degreeCelsius }
+\msg_new:nnn { siunitx } { unit-deprecated }
+ {
+ Unit~macro~#1~has~been~deprecated~in~this~release. \\ \\
+ The~BIPM~have~removed~this~unit~from~the~SI~Brochure.~
+ You~should~define~it~yourself~using~\token_to_str:N \DeclareSIUnit\ %
+ in~your~source.~The~current~definition~is\\ \\
+ \token_to_str:N \DeclareSIUnit #1 \{ #2 \}
+ }
+\cs_gset_protected:Npn \__siunitx_emulation_tmp:w #1#2
+ {
+ \quark_if_recursion_tail_stop:N #1
+ \bool_new:c { g__siunitx_emulation_unit_warning_ \token_to_str:N #1 _bool }
+ \siunitx_declare_unit:Nx #1
+ {
+ \exp_not:N \bool_if:NF
+ \exp_not:c { g__siunitx_emulation_unit_warning_ \token_to_str:N #1 _bool }
+ {
+ \exp_not:N \bool_gset_true:N
+ \exp_not:c { g__siunitx_emulation_unit_warning_ \token_to_str:N #1 _bool }
+ \msg_warning:nnnn { siunitx } { unit-deprecated }
+ { \token_to_str:N #1 } {#2}
+ }
+ #2
+ }
+ \__siunitx_emulation_tmp:w
+ }
+\__siunitx_emulation_tmp:w
+ \atomicmassunit { u }
+ \bar { bar }
+ \barn { b }
+ \bohr
+ {
+ \exp_not:N \text
+ { \exp_not:N \ensuremath { a } } \char_generate:nn { `\_ } { 8 } { 0 }
+ }
+ \clight
+ {
+ \exp_not:N \text
+ { \exp_not:N \ensuremath { c } } \char_generate:nn { `\_ } { 8 } { 0 }
+ }
+ \electronmass
+ {
+ \exp_not:N \text { \exp_not:N \ensuremath { m } }
+ \char_generate:nn { `\_ } { 8 } { \exp_not:N \mathrm { e } }
+ }
+ \elementarycharge { \text { \ensuremath { e } } }
+ \hartree
+ {
+ \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
+ { \exp_not:N \text { \exp_not:N \ensuremath { \exp_not:N \hbar } } }
+ \q_recursion_tail { }
+ \q_recursion_stop
+\@ifpackageloaded { fontspec }
+ {
+ \__siunitx_emulation_tmp:w \angstrom { \__siunitx_emulation_non_latin:n { "00C5 } }
+ }
+ {
+ \__siunitx_emulation_tmp:w \angstrom
+ { \exp_not:N \text { \__siunitx_emulation_non_latin:n { "00C5 } } }
+ }
+ \q_recursion_tail { }
+ \q_recursion_stop
+\NewDocumentCommand \SendSettingsToPgf { }
+ {
+ \use:x
+ {
+ \exp_not:N \pgfqkeys { /pgf/number~format }
+ {
+ \str_if_eq:VnT \l__siunitx_number_round_mode_tl { figures }
+ {
+ fixed ,
+ fixed~zerofill = true ,
+ }
+ precision = \int_use:N \l__siunitx_number_round_precision_int ,
+ set~decimal~separator =
+ \str_if_eq:VnTF \l_siunitx_number_output_decimal_tl { , }
+ { \exp_not:N \mathord }
+ { \use:n }
+ { \exp_not:V \l_siunitx_number_output_decimal_tl } ,
+ set~thousands~separator =
+ set~decimal~separator =
+ \str_if_eq:VnTF \l__siunitx_number_group_separator_tl { , }
+ { \exp_not:N \mathord }
+ { \use:n }
+ { \exp_not:V \l__siunitx_number_group_separator_tl } ,
+ min~exponent~for~1000~sep =
+ \int_eval:n { \l__siunitx_number_group_minimum_int - 1 } ,
+ \bool_lazy_or:nnF
+ { \l__siunitx_number_group_decimal_bool }
+ { \l__siunitx_number_group_integer_bool }
+ { min~exponent~for~1000~sep = 999 , }
+ showpos =
+ \bool_if:NTF \l__siunitx_number_implicit_plus_bool
+ { true }
+ { false }
+ }
+ }
+ }
%% Copyright (C) 2008-2021 by
%% Joseph Wright <joseph.wright@morningstar2.co.uk>
%%