summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty')
-rw-r--r--Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty74
1 files changed, 3 insertions, 71 deletions
diff --git a/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty b/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty
index 8f101bdf920..ea4ffccbb1e 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.26c}
-\def\myfiledate{2024/01/02}
+\def\myfileversion{6.26d}
+\def\myfiledate{2024/01/25}
\RequirePackage{pgfcore}
\usepgfmodule{shapes}
\RequirePackage{l3keys2e}
@@ -327,71 +327,6 @@
}
#1
}
-\cs_set_eq:NN \__nicematrix_old_mkpream: \@mkpream
-\cs_set_protected:Npn \__nicematrix_mkpream: #1
- {
- \__nicematrix_mkpream_colortbl:
- \gdef\@preamble{} \@lastchclass 4 \@firstamptrue
- \let\@sharp\relax
- \def\@startpbox##1{\unexpanded\expandafter{\expandafter
- \@startpbox\expandafter{##1}}}\let\@endpbox\relax
- \let\do@row@strut\relax
- \let\ar@align@mcell\relax
- \@temptokena{#1} % \@tempswatrue
- % \@whilesw\if@tempswa\fi{\@tempswafalse\the\NC@list}%
- \count@\m@ne
- \let\the@toks\relax
- \prepnext@tok
- \exp_args:NV \tl_map_variable:NNn \@temptokena \@nextchar
- {\@testpach
- \ifcase \@chclass \@classz \or \@classi \or \@classii
- \or \save@decl \or \or \@classv \or \@classvi
- \or \@classvii \or \@classviii
- \or \@classx
- \or \@classx \fi
- \@lastchclass\@chclass}%
- \ifcase\@lastchclass
- \@acol \or
- \or
- \@acol \or
- \@preamerr \thr__nicematrix \or
- \@preamerr \tw@ \@addtopreamble\@sharp \or
- \or
- \else \@preamerr \@ne \fi
- \def\the@toks{\the\toks}
- \cs_gset_eq:NN \@mkpream \__nicematrix_old_mkpream:
- }
-\hook_gput_code:nnn { begindocument } { . }
- {
- \bool_if:NTF \c__nicematrix_revtex_bool
- { \cs_set_eq:NN \__nicematrix_redefine_mkpream: \prg_do_nothing: }
- {
- \IfPackageLoadedTF { arydshln }
- { \cs_set_eq:NN \__nicematrix_redefine_mkpream: \prg_do_nothing: }
- {
- \cs_new_protected:Npn \__nicematrix_redefine_mkpream:
- { \cs_set_eq:NN \@mkpream \__nicematrix_mkpream: }
- }
- }
- }
-\cs_new_protected:Npn \__nicematrix_mkpream_colortbl: { }
-\hook_gput_code:nnn { begindocument } { . }
- {
- \IfPackageLoadedTF { colortbl }
- {
- \cs_set_protected:Npn \__nicematrix_mkpream_colortbl:
- {
- \cs_set_eq:NN \CT@setup \relax
- \cs_set_eq:NN \CT@color \relax
- \cs_set_eq:NN \CT@do@color \relax
- \cs_set_eq:NN \color \relax
- \cs_set_eq:NN \CT@column@color \relax
- \cs_set_eq:NN \CT@row@color \relax
- \cs_set_eq:NN \CT@cell@color \relax
- }
- }
- { }
- }
\int_new:N \g__nicematrix_env_int
\cs_new:Npn \__nicematrix_env: { nm - \int_use:N \g__nicematrix_env_int }
\NewExpandableDocumentCommand \NiceMatrixLastEnv { }
@@ -1492,7 +1427,6 @@
}
\cs_new_protected:Npn \__nicematrix_array:
{
- \__nicematrix_redefine_mkpream:
\dim_set:Nn \col@sep
{ \bool_if:NTF \l__nicematrix_tabular_bool \tabcolsep \arraycolsep }
\dim_compare:nNnTF \l__nicematrix_tabular_width_dim = \c_zero_dim
@@ -2401,7 +2335,6 @@
\cs_new_protected:Npn \__nicematrix_make_preamble_ii_iii:nn #1 #2
{
\str_set_eq:NN \l__nicematrix_hpos_col_str \c__nicematrix_j_str
- % \tl_set:Nn \l_tmpa_tl { #1 }
\__nicematrix_keys_p_column:n { #1 }
\__nicematrix_make_preamble_ii_iv:nnn { #2 } { minipage } { }
}
@@ -8436,11 +8369,10 @@
\pgf@y
+ ( \box_ht:N \strutbox + \extrarowheight ) * \arraystretch
}
- } % modified 6.13c
+ }
\__nicematrix_qpoint:n { row - \l__nicematrix_last_i_tl - base }
\dim_set:Nn \l__nicematrix_y_final_dim
{ \fp_to_dim:n { \pgf@y - ( \box_dp:N \strutbox ) * \arraystretch } }
- % modified 6.13c
\int_step_inline:nnn \l__nicematrix_first_col_int \g__nicematrix_col_total_int
{
\cs_if_exist:cT