diff options
author | Karl Berry <karl@freefriends.org> | 2023-05-25 20:37:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-05-25 20:37:34 +0000 |
commit | fc9be1452149628b5de8cb5cc924e10115b523a6 (patch) | |
tree | 4d649370f84f1eef828d8f50fbd4dff9a638a0d8 /Master/texmf-dist/tex/latex | |
parent | 99ca1c9e484208d10d4172dfcbcc1ba2dc79d781 (diff) |
nicematrix (25may23)
git-svn-id: svn://tug.org/texlive/trunk@67216 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty b/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty index e49a5c7964f..d3e036baeb9 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.19} -\def\myfiledate{2023/05/15} +\def\myfileversion{6.19a} +\def\myfiledate{2023/05/25} \RequirePackage{pgfcore} \usepgfmodule{shapes} \RequirePackage{l3keys2e} @@ -548,7 +548,10 @@ \seq_map_indexed_inline:Nn \g__nicematrix_notes_seq { \tl_if_eq:nnT { { #1 } { #2 } } { ##2 } - { \int_set:Nn \l_tmpa_int { ##1 } \seq_map_break: } + { + \int_set:Nn \l_tmpa_int { ##1 } + \seq_map_break: + } } \int_compare:nNnF \l_tmpa_int = \c_zero_int { \int_add:Nn \l_tmpa_int \g__nicematrix_notes_caption_int } @@ -601,17 +604,11 @@ \int_compare:nNnT \c@tabularnote = \g__nicematrix_notes_caption_int { \int_gzero:N \c@tabularnote } - \bool_set_false:N \l_tmpa_bool - \seq_map_inline:Nn \g__nicematrix_notes_in_caption_seq - { \__nicematrix_if_eq_two_three:nnn ##1 { #2 } } - \bool_if:NF \l_tmpa_bool + \seq_if_in:NnF \g__nicematrix_notes_in_caption_seq { { #1 } { #2 } } { \__nicematrix_error:n { Identical~notes~in~caption } } } { - \bool_set_false:N \l_tmpa_bool - \seq_map_inline:Nn \g__nicematrix_notes_in_caption_seq - { \__nicematrix_if_eq_two_three:nnn ##1 { #2 } } - \bool_if:NTF \l_tmpa_bool + \seq_if_in:NnTF \g__nicematrix_notes_in_caption_seq { { #1 } { #2 } } { \bool_gset_true:N \g__nicematrix_caption_finished_bool \int_gset_eq:NN \g__nicematrix_notes_caption_int \c@tabularnote @@ -633,14 +630,6 @@ \seq_clear:N \l__nicematrix_notes_labels_seq } } -\cs_new_protected:Npn \__nicematrix_if_eq_two_three:nnn #1 #2 #3 - { - \tl_if_eq:nnT { #2 } { #3 } - { - \bool_set_true:N \l_tmpa_bool - \seq_map_break: - } - } \cs_new_protected:Npn \__nicematrix_count_novalue_first:nn #1 #2 { \tl_if_novalue:nT { #1 } { \int_gincr:N \g__nicematrix_notes_caption_int } } \cs_new_protected:Npn \__nicematrix_pgf_rect_node:nnnnn #1 #2 #3 #4 #5 @@ -4898,7 +4887,7 @@ { \__nicematrix_error:nnn { unknown~cell~for~line~in~CodeAfter } { #1 } { #2 } } - { \__nicematrix_draw_line_ii:nn { #1 } { #2 } } + { \legacy_if:nF { measuring@ } { \__nicematrix_draw_line_ii:nn { #1 } { #2 } } } } \hook_gput_code:nnn { begindocument } { . } { |