summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/siunitx/siunitx-symbol.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-05-29 03:01:39 +0000
committerNorbert Preining <norbert@preining.info>2021-05-29 03:01:39 +0000
commitc735cad430ba6a619963ad7248020b781a0a45f3 (patch)
treeea6084fa9eea4a658d4f3eb9f2495cf269c7f790 /macros/latex/contrib/siunitx/siunitx-symbol.dtx
parentfd03eb3aab9edb9b15484a1130509cebe187d8bd (diff)
CTAN sync 202105290301
Diffstat (limited to 'macros/latex/contrib/siunitx/siunitx-symbol.dtx')
-rw-r--r--macros/latex/contrib/siunitx/siunitx-symbol.dtx56
1 files changed, 0 insertions, 56 deletions
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