From c735cad430ba6a619963ad7248020b781a0a45f3 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 29 May 2021 03:01:39 +0000 Subject: CTAN sync 202105290301 --- macros/latex/contrib/siunitx/siunitx-symbol.dtx | 56 ------------------------- 1 file changed, 56 deletions(-) (limited to 'macros/latex/contrib/siunitx/siunitx-symbol.dtx') diff --git a/macros/latex/contrib/siunitx/siunitx-symbol.dtx b/macros/latex/contrib/siunitx/siunitx-symbol.dtx index a517c4e34f..8ba65fc417 100644 --- a/macros/latex/contrib/siunitx/siunitx-symbol.dtx +++ b/macros/latex/contrib/siunitx/siunitx-symbol.dtx @@ -253,62 +253,6 @@ } % \end{macrocode} % -% For the times symbol, only \LuaTeX{} allows us to use the math mode symbol -% directly. However, that likely won't follow the surrounding font appearance, -% so in all cases we use the |TS1| version for text. Otherwise much the -% same as |\textmu| support. It's hard to check for the product symbol, so -% we just go with it an hope for the best! -% \begin{macrocode} -\keys_set:nn { siunitx } - { product-symbol = \ifmmode \times \else \texttimes \fi } -\AtBeginDocument - { - \group_begin: - \tl_set:Nn \l_@@_tmpa_tl - { { } { } { 2 } { } { } { } { 1 } } - \tl_set:Nx \l_@@_tmpa_tl - { \siunitx_number_output:N \l_@@_tmpa_tl } - \tl_set:Nn \l_@@_tmpb_tl { 2 \times 10 ^ { 1 } } - \tl_if_eq:NNTF \l_@@_tmpa_tl \l_@@_tmpb_tl - { - \group_end: - \keys_set:nn { siunitx } - { - exponent-product = - \ifmmode \times \else \texttimes \fi - } - } - { - \tl_set:Nn \l_@@_tmpb_tl { 2 \cdot 10 ^ { 1 } } - \tl_if_eq:NNTF \l_@@_tmpa_tl \l_@@_tmpb_tl - { - \group_end: - \keys_set:nn { siunitx } - { - exponent-product = - \ifmmode \cdot \else \textperiodcentered \fi - } - } - { \group_end: } - } - \group_begin: - \keys_set:nn { siunitx } { forbid-literal-units = false } - \tl_set:Nn \l_@@_tmpa_tl { \mathrm { m } \cdot \mathrm { s } } - \tl_set:Nn \l_siunitx_unit_font_tl { \mathrm } - \siunitx_unit_format:nN { m . s } \l_@@_tmpb_tl - \tl_if_eq:NNTF \l_@@_tmpa_tl \l_@@_tmpb_tl - { - \group_end: - \keys_set:nn { siunitx } - { - inter-unit-product = - \ifmmode \cdot \else \textperiodcentered \fi - } - } - { \group_end: } - } -% \end{macrocode} -% % \subsection{Bookmark definitions} % % Inside PDF strings we disable the text printing function. The definition of -- cgit v1.2.3