From 2f80535c778eacefb7c73b39d2cb4f877f3d3341 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 27 Jun 2022 03:04:10 +0000 Subject: CTAN sync 202206270304 --- macros/latex/contrib/nicematrix/nicematrix.dtx | 40 ++++++++++++-------------- 1 file changed, 19 insertions(+), 21 deletions(-) (limited to 'macros/latex/contrib/nicematrix/nicematrix.dtx') diff --git a/macros/latex/contrib/nicematrix/nicematrix.dtx b/macros/latex/contrib/nicematrix/nicematrix.dtx index 6a73a5d7fd..e7db4b0a3f 100644 --- a/macros/latex/contrib/nicematrix/nicematrix.dtx +++ b/macros/latex/contrib/nicematrix/nicematrix.dtx @@ -15,8 +15,8 @@ % % \fi % \iffalse -\def\myfileversion{6.10} -\def\myfiledate{2022/06/25} +\def\myfileversion{6.10a} +\def\myfiledate{2022/06/26} % % %<*batchfile> @@ -429,8 +429,8 @@ version 2005/12/01 or later. % \smallskip % \begin{BVerbatim}[baseline=c,boxwidth=9cm] % $A=\begin{pNiceArray}{cc|cc}~emphase#[baseline=line-3]@ -% \dfrac1A & \dfrac1B & 0 & 0 \\ -% \dfrac1C & \dfrac1D & 0 & 0 \\ +% \dfrac{1}{A} & \dfrac{1}{B} & 0 & 0 \\ +% \dfrac{1}{C} & \dfrac{1}{D} & 0 & 0 \\ % \hline % 0 & 0 & A & B \\ % 0 & 0 & D & D \\ @@ -439,8 +439,8 @@ version 2005/12/01 or later. % \begin{scope} % \NiceMatrixOptions{cell-space-limits=1pt} % \raisebox{-5mm}{$A=\begin{pNiceArray}{cc|cc}[baseline=line-3] -% \dfrac1A & \dfrac1B & 0 & 0 \\ -% \dfrac1C & \dfrac1D & 0 & 0 \\ +% \dfrac{1}{A} & \dfrac{1}{B} & 0 & 0 \\ +% \dfrac{1}{C} & \dfrac{1}{D} & 0 & 0 \\ % \hline % 0 & 0 & A & B \\ % 0 & 0 & D & D \\ @@ -564,16 +564,17 @@ version 2005/12/01 or later. % the rules of the array); % \item the key |color| takes in as value a color and apply that color the % content of the block but draws also the frame of the block with that color; -% \item the key |line-width| is the width (thickness) of the frame (this key -% should be used only when the key |draw| or the key |hvlines| is in force); +% \item the keys |hlines|, |vlines| and |hvlines| draw all the corresponding +% rules in the block; +% \item the key |line-width| is the width of the rules (this key +% is meaningful only when one of the keys |draw|, |hvlines|, |vlines| and +% |hlines| is used); % \item the key |rounded-corners| requires rounded corners (for the frame drawn % by |draw| and the shape drawn by |fill|) with a radius equal to the value of % that key (the default value is 4~pt\footnote{This value is the initial value % of the \emph{rounded corners} of Tikz.}); % \item the keys |t| and |b| fix the base line that will be given to the block % when it has a multi-line content (the lines are separated by |\\|); -% \item the keys |hlines|, |vlines| and |hvlines| draw all the corresponding -% rules in the block; % \item when the key |tikz| is used, the Tikz path corresponding of the % rectangle which delimits the block is executed with Tikz\footnote{Tikz should % be loaded (by default, \pkg{nicematrix} only loads \textsc{pgf}) and, if it's @@ -587,12 +588,11 @@ version 2005/12/01 or later. % to $1$ at the beginning of the block (which is the behaviour by default) ; % \item the key |borders| provides the ability to draw only some borders of the % blocks; the value of that key is a (comma-separated) list of elements covered -% by |left|, |right|, |top| and |bottom|;\newline -% \colorbox{yellow!50}{\textbf{Nouveau 6.7}}\enskip it's possible, in fact, in -% the list which is the value of the key |borders|, to add an entry of the form +% by |left|, |right|, |top| and |bottom|; it's possible, in fact, in the list +% which is the value of the key |borders|, to add an entry of the form % |tikz={|\textsl{list}|}| where \textsl{list} is a list of couples % \textsl{key=value} of Tikz specifying the graphical characteristics of the -% lines that will be drawn (for an example, see p.~\pageref{dashed}). +% lines that will be drawn (for an example, see p.~\pageref{dashed}). % \end{itemize} % % \interitem @@ -1242,8 +1242,7 @@ version 2005/12/01 or later. % % % \bigskip -% \item \colorbox{yellow!50}{\textbf{New 6.6}}\enskip \emph{Second -% possibility}\par\nobreak +% \item \emph{Second possibility}\par\nobreak % % It's possible to use the key |tikz| (if Tikz is loaded). In that case, the % rule is drawn directly with Tikz by using as parameters the value of the key @@ -3243,8 +3242,7 @@ version 2005/12/01 or later. % % \item |yshift|, which shifts vertically the brace (and its label) ; % -% \item \colorbox{yellow!50}{\textbf{New 6.7}}\enskip |color|, which sets the -% color of the brace (and its label). +% \item |color|, which sets the color of the brace (and its label). % \end{itemize} % % \bigskip @@ -7961,7 +7959,7 @@ version 2005/12/01 or later. \tl_gclear:N \g_@@_post_action_cell_tl % \end{macrocode} % At the beginning of the cell, we link |\CodeAfter| to a command which do -% begins with |\\| (whereas the standard version of |\CodeAfter| does +% begin with |\\| (whereas the standard version of |\CodeAfter| does % not). % \begin{macrocode} \cs_set_eq:NN \CodeAfter \@@_CodeAfter_i: @@ -8540,7 +8538,7 @@ version 2005/12/01 or later. % \footnote{cf. |\nicematrix@redefine@check@rerun|}. % \begin{macrocode} \bool_if:NT \c_@@_booktabs_loaded_bool - { \tl_put_left:Nn \@BTnormal \@@_create_row_node: } + { \tl_put_left:Nn \@BTnormal \@@_create_row_node_i: } % modified in 6.10a \box_clear_new:N \l_@@_cell_box \normalbaselines % \end{macrocode} @@ -8814,7 +8812,7 @@ version 2005/12/01 or later. % \bigskip % The command |\create_row_node:| will create a row-node (and not a row of % nodes!). However, at the end of the array we construct a ``false row'' (for -% the the col-nodes) and it interfers with the construction of the last row-node +% the col-nodes) and it interfers with the construction of the last row-node % of the array. We don't want to create such row-node twice (to avaid warnings % or, maybe, errors). That's why the command |\@@_create_row_node:| will use the % following counter to avoid such construction. -- cgit v1.2.3