diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-12 21:19:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-12 21:19:05 +0000 |
commit | b26d1f7306f1afd49a759cd871668673a54b056a (patch) | |
tree | ea24fd02dc817f030649e7d185beee1ba2ab4d37 /Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx | |
parent | af7d5a5d640c2683428a0d0024f32fb6ac8f71f2 (diff) |
siunitx (12jan22)
git-svn-id: svn://tug.org/texlive/trunk@61585 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx b/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx index 386e4970523..45b6689f667 100644 --- a/Master/texmf-dist/source/latex/siunitx/siunitx-table.dtx +++ b/Master/texmf-dist/source/latex/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: |