summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-12-12 21:01:24 +0000
committerKarl Berry <karl@freefriends.org>2022-12-12 21:01:24 +0000
commit6e0497d6022990ec4996db6c0a1fe6c146cea34d (patch)
tree51aaa82be15052434f6183e4ed6a900132d12da5 /Master/texmf-dist/tex
parentd644d960ee6ff7ce0d1e3fdd57a57a7021f2b1da (diff)
nicematrix (12dec22)
git-svn-id: svn://tug.org/texlive/trunk@65253 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty36
1 files changed, 24 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty b/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty
index 7ee3bd52e78..ef9357348a4 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.13d}
-\def\myfiledate{2022/11/20}
+\def\myfileversion{6.13e}
+\def\myfiledate{2022/12/12}
\RequirePackage{pgfcore}
\usepgfmodule{shapes}
@@ -102,16 +102,20 @@
\@ifpackageloaded { mdwtab }
{ \__nicematrix_fatal:n { mdwtab~loaded } }
{
- \bool_if:NF \c__nicematrix_no_test_for_array_bool
+ \@ifpackageloaded { fontspec }
+ { }
{
- \group_begin:
- \hbox_set:Nn \l_tmpa_box
- {
- \begin { tabular } { c > { \__nicematrix_security_test:n } c c }
- text & & text
- \end { tabular }
- }
- \group_end:
+ \bool_if:NF \c__nicematrix_no_test_for_array_bool
+ {
+ \group_begin:
+ \hbox_set:Nn \l_tmpa_box
+ {
+ \begin { tabular } { c > { \__nicematrix_security_test:n } c c }
+ text & & text
+ \end { tabular }
+ }
+ \group_end:
+ }
}
}
}
@@ -6310,11 +6314,19 @@
{
\tl_if_blank:nTF { #2 }
{ \__nicematrix_Block_i 1-1 \q_stop }
- { \__nicematrix_Block_i #2 \q_stop }
+ {
+ \int_compare:nNnTF { \char_value_catcode:n { 45 } } = { 13 }
+ \__nicematrix_Block_i_czech \__nicematrix_Block_i
+ #2 \q_stop
+ }
{ #1 } { #3 } { #4 }
}
}
\cs_new:Npn \__nicematrix_Block_i #1-#2 \q_stop { \__nicematrix_Block_ii:nnnnn { #1 } { #2 } }
+{
+ \char_set_catcode_active:N -
+ \cs_new:Npn \__nicematrix_Block_i_czech #1-#2 \q_stop { \__nicematrix_Block_ii:nnnnn { #1 } { #2 } }
+}
\cs_new_protected:Npn \__nicematrix_Block_ii:nnnnn #1 #2 #3 #4 #5
{
\bool_lazy_or:nnTF