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.sty13
1 files changed, 6 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty b/Master/texmf-dist/tex/latex/nicematrix/nicematrix.sty
index c7c622f016a..81f4976f7a4 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{5.17}
-\def\myfiledate{2021/07/01}
+\def\myfileversion{5.17a}
+\def\myfiledate{2021/07/04}
\RequirePackage{pgfcore}
\usepgfmodule{shapes}
\RequirePackage{l3keys2e}
@@ -1954,12 +1954,15 @@
{
\multispan { #1 }
\begingroup
+ \cs_set:Npn \@addamp { \if@firstamp \@firstampfalse \else \@preamerr 5 \fi }
\@temptokena = { #2 }
\@tempswatrue
\@whilesw \if@tempswa \fi { \@tempswafalse \the \NC@list }
\tl_gclear:N \g__nicematrix_preamble_tl
\exp_after:wN \__nicematrix_patch_m_preamble:n \the \@temptokena \q_stop
\exp_args:NV \@mkpream \g__nicematrix_preamble_tl
+ \@addtopreamble \@empty
+ \endgroup
\int_compare:nNnT { #1 } > 1
{
\seq_gput_left:Nx \g__nicematrix_multicolumn_cells_seq
@@ -1974,13 +1977,9 @@
}
}
\cs_set:Npn \@sharp { #3 }
- \set@typeset@protect
- \cs_set_eq:NN \@startpbox \__nicematrixstartpbox
- \cs_set_eq:NN \@endpbox \__nicematrixendpbox
\@arstrut
\@preamble
- \hbox { }
- \endgroup
+ \null
\int_gadd:Nn \c@jCol { #1 - 1 }
\int_compare:nNnT \c@jCol > \g__nicematrix_col_total_int
{ \int_gset_eq:NN \g__nicematrix_col_total_int \c@jCol }