diff options
author | Karl Berry <karl@freefriends.org> | 2022-05-08 20:24:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-05-08 20:24:31 +0000 |
commit | e980f86aff14b9d5d5f03c6974cad0070d5194e5 (patch) | |
tree | 46d3b32ce329fc4f50c377b27d7c2d29b607d608 /Master/texmf-dist/tex | |
parent | b8c04c2a38f558ec2e6c19e11405a86b285ea4ac (diff) |
nicematrix (8may22)
git-svn-id: svn://tug.org/texlive/trunk@63262 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty b/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty index 354ff649e86..f1e3f087970 100644 --- a/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty +++ b/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty @@ -18,8 +18,8 @@ %% and version 1.3 or later is part of all distributions of %% LaTeX version 2005/12/01 or later. %% -\def\myfileversion{6.8} -\def\myfiledate{2022/03/11} +\def\myfileversion{6.8a} +\def\myfiledate{2022/05/08} \RequirePackage{pgfcore} \usepgfmodule{shapes} \RequirePackage{l3keys2e} @@ -2614,8 +2614,12 @@ } \NewDocumentEnvironment { __nicematrix-normal-syntax } { } { - \peek_meaning_ignore_spaces:NTF \end \__nicematrix_analyze_end:Nn - { \exp_args:NV \__nicematrix_array: \g__nicematrix_preamble_tl } + \peek_remove_spaces:n + { + \peek_meaning:NTF \end + \__nicematrix_analyze_end:Nn + { \exp_args:NV \__nicematrix_array: \g__nicematrix_preamble_tl } + } } { \__nicematrix_create_col_nodes: @@ -4378,6 +4382,7 @@ } \NewDocumentCommand \__nicematrix_RowStyle:n { O { } m } { + \tl_clear:N \l_tmpa_tl \keys_set:nn { NiceMatrix / RowStyle } { #1 } \tl_if_empty:NF \l__nicematrix_tmpc_tl { @@ -5203,9 +5208,12 @@ \cs_set:Npn \__nicematrix_Hline: { \noalign { \ifnum 0 = `} \fi \__nicematrix_Hline_i:n { 1 } } \cs_set:Npn \__nicematrix_Hline_i:n #1 { - \peek_meaning_ignore_spaces:NTF \Hline - { \__nicematrix_Hline_ii:nn { #1 + 1 } } - { \__nicematrix_Hline_iii:n { #1 } } + \peek_remove_spaces:n + { + \peek_meaning:NTF \Hline + { \__nicematrix_Hline_ii:nn { #1 + 1 } } + { \__nicematrix_Hline_iii:n { #1 } } + } } \cs_set:Npn \__nicematrix_Hline_ii:nn #1 #2 { \__nicematrix_Hline_i:n { #1 } } \cs_set:Npn \__nicematrix_Hline_iii:n #1 |