diff options
author | Norbert Preining <norbert@preining.info> | 2022-01-13 03:01:10 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-01-13 03:01:10 +0000 |
commit | ee3f9ca89b21a2174f7e427d9d48247b1912e130 (patch) | |
tree | f5d80e1343bcf96a0e16a7d4412526b8182b7525 /macros/latex/contrib/siunitx/siunitx-table.dtx | |
parent | 1f69e7b43c51a713b615b5ce4ed8adbcdaf9080e (diff) |
CTAN sync 202201130301
Diffstat (limited to 'macros/latex/contrib/siunitx/siunitx-table.dtx')
-rw-r--r-- | macros/latex/contrib/siunitx/siunitx-table.dtx | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/macros/latex/contrib/siunitx/siunitx-table.dtx b/macros/latex/contrib/siunitx/siunitx-table.dtx index 386e497052..45b6689f66 100644 --- a/macros/latex/contrib/siunitx/siunitx-table.dtx +++ b/macros/latex/contrib/siunitx/siunitx-table.dtx @@ -332,9 +332,12 @@ % \begin{macrocode} \cs_new_protected:Npn \@@_collect_loop: { - \peek_catcode_ignore_spaces:NTF \c_group_begin_token - { \@@_collect_group:n } - { \@@_collect_token:N } + \peek_remove_spaces:n + { + \peek_catcode:NTF \c_group_begin_token + { \@@_collect_group:n } + { \@@_collect_token:N } + } } \cs_new_protected:Npn \@@_collect_group:n #1 { @@ -493,9 +496,12 @@ } \cs_new_protected:Npn \@@_split_loop:NNN #1#2#3 { - \peek_catcode_ignore_spaces:NTF \c_group_begin_token - { \@@_split_group:NNNn #1#2#3 } - { \@@_split_token:NNNN #1#2#3 } + \peek_remove_spaces:n + { + \peek_catcode:NTF \c_group_begin_token + { \@@_split_group:NNNn #1#2#3 } + { \@@_split_token:NNNN #1#2#3 } + } } \cs_new_protected:Npn \@@_split_group:NNNn #1#2#3#4 { @@ -956,11 +962,14 @@ \cs_new_protected:Npn \@@_direct_begin:w #1 \ignorespaces { #1 - \peek_catcode_ignore_spaces:NTF \c_group_begin_token - { \@@_print_text:n } + \peek_remove_spaces:n { - \m@th - \use:c { @@_direct_ \l_@@_align_mode_tl : } + \peek_catcode:NTF \c_group_begin_token + { \@@_print_text:n } + { + \m@th + \use:c { @@_direct_ \l_@@_align_mode_tl : } + } } } \cs_new_protected:Npn \@@_direct_end: |