From 94b0aea54634a3d04d70edb84500ecc3199c0637 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 20 Jun 2021 19:57:12 +0000 Subject: nicematrix (20jun21) git-svn-id: svn://tug.org/texlive/trunk@59657 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/nicematrix/nicematrix-french.pdf | Bin 462567 -> 461406 bytes .../doc/latex/nicematrix/nicematrix-french.tex | 421 ++++++++++----------- .../texmf-dist/doc/latex/nicematrix/nicematrix.pdf | Bin 1305091 -> 1300431 bytes 3 files changed, 195 insertions(+), 226 deletions(-) (limited to 'Master/texmf-dist/doc/latex/nicematrix') diff --git a/Master/texmf-dist/doc/latex/nicematrix/nicematrix-french.pdf b/Master/texmf-dist/doc/latex/nicematrix/nicematrix-french.pdf index 646ec7e301a..55b39da0c40 100644 Binary files a/Master/texmf-dist/doc/latex/nicematrix/nicematrix-french.pdf and b/Master/texmf-dist/doc/latex/nicematrix/nicematrix-french.pdf differ diff --git a/Master/texmf-dist/doc/latex/nicematrix/nicematrix-french.tex b/Master/texmf-dist/doc/latex/nicematrix/nicematrix-french.tex index c80c13f352d..5339ea7ac87 100644 --- a/Master/texmf-dist/doc/latex/nicematrix/nicematrix-french.tex +++ b/Master/texmf-dist/doc/latex/nicematrix/nicematrix-french.tex @@ -531,11 +531,10 @@ cette clé (la valeur par défaut est 4~pt\footnote{Cette valeur par défaut est \item la clé |borders| permet de ne tracer que certaines des bordures du bloc : cette clé prend comme valeur une liste d'éléments parmi les suivants : |left|, |right|, |top| et |bottom| ; +\item les clés |t| et |b| réglent la ligne de base qui sera donnée au bloc quand +celui-ci est constitué de plusieurs lignes (séparées par la commande |\\|) ; \item \colorbox{yellow!50}{\bfseries Nouveau 5.15}\enskip la clé |hvlines| trace -tous les filets horizontaux et verticaux dans le bloc ; -\item \colorbox{yellow!50}{\bfseries Nouveau 5.14}\enskip les clés |t| et |b| -réglent la ligne de base qui sera donnée au bloc quand celui-ci est constitué de -plusieurs lignes (séparées par la commande |\\|). +tous les filets horizontaux et verticaux dans le bloc. \end{itemize} @@ -1050,12 +1049,11 @@ A & A & A & A & A & A \\ \bigskip -\colorbox{yellow!50}{\textbf{Nouveau 5.14}}\enskip Quand la clé |corners| est -utilisée, \pkg{nicematrix} calcule les coins vides et ces coins sont alors pris -en compte par les outils de tracés de filets (les filets ne seront pas tracés -dans ces coins vides). \emph{Remarque} : Dans les versions précédentes de -\pkg{nicematrix}, il n'y avait qu'une clé |hvlines-except-corners| (maintenant -considérée comme obsolète). +Quand la clé |corners| est utilisée, \pkg{nicematrix} calcule les coins vides et +ces coins sont alors pris en compte par les outils de tracés de filets (les +filets ne seront pas tracés dans ces coins vides). \emph{Remarque} : Dans les +versions précédentes de \pkg{nicematrix}, il n'y avait qu'une clé +|hvlines-except-corners| (maintenant considérée comme obsolète). \bigskip \begin{BVerbatim}[boxwidth=11cm,baseline=c] @@ -3538,28 +3536,23 @@ Dans l'exemple suivant, nous avons surligné tous les nœuds de la matrice (on explique plus loin la technique utilisée : cf. p. \pageref{highlight}). \[\begin{pNiceMatrix} +\CodeBefore [create-cell-nodes] + \begin{tikzpicture}% + [every node/.style = { inner sep = 0 pt , fill = red!15 }] + \node [fit = (1-1)] {} ; + \node [fit = (1-3)] {} ; + \node [fit = (2-2)] {} ; + \node [fit = (3-1)] {} ; + \node [fit = (3-3)] {} ; + \node [fit = (1-2)] {} ; + \node [fit = (2-1)] {} ; + \node [fit = (2-3)] {} ; + \node [fit = (3-2)] {} ; + \end{tikzpicture} +\Body a & a + b & a + b + c \\ a & a & a + b \\ a & a & a -\CodeAfter -\begin{tikzpicture}[ - every node/.style = - { - blend mode = multiply, - inner sep = 0 pt , - fill = red!15 - } - ] -\node [fit = (1-1)] {} ; -\node [fit = (1-3)] {} ; -\node [fit = (2-2)] {} ; -\node [fit = (3-1)] {} ; -\node [fit = (3-3)] {} ; -\node [fit = (1-2)] {} ; -\node [fit = (2-1)] {} ; -\node [fit = (2-3)] {} ; -\node [fit = (3-2)] {} ; -\end{tikzpicture} \end{pNiceMatrix}\] @@ -3583,25 +3576,24 @@ nom des nœuds normaux. Dans l'exemple suivant, on a surligné tous les «nœuds moyens». Nous considérons que cet exemple se suffit à lui-même comme définition de ces nœuds. \[\begin{pNiceMatrix}[create-medium-nodes] +\CodeBefore [create-cell-nodes] + \begin{tikzpicture} + [every node/.style = {fill = red!15, inner sep = 0 pt}, + name suffix = -medium] + \node [fit = (1-1)] {} ; + \node [fit = (1-2)] {} ; + \node [fit = (1-3)] {} ; + \node [fit = (2-1)] {} ; + \node [fit = (2-2)] {} ; + \node [fit = (2-3)] {} ; + \node [fit = (3-1)] {} ; + \node [fit = (3-2)] {} ; + \node [fit = (3-3)] {} ; +\end{tikzpicture} +\Body a & a + b & a + b + c \\ a & a & a + b \\ a & a & a -\CodeAfter -\begin{tikzpicture} - [every node/.style = {fill = red!15, - blend mode = multiply, - inner sep = 0 pt}, - name suffix = -medium] -\node [fit = (1-1)] {} ; -\node [fit = (1-2)] {} ; -\node [fit = (1-3)] {} ; -\node [fit = (2-1)] {} ; -\node [fit = (2-2)] {} ; -\node [fit = (2-3)] {} ; -\node [fit = (3-1)] {} ; -\node [fit = (3-2)] {} ; -\node [fit = (3-3)] {} ; -\end{tikzpicture} \end{pNiceMatrix}\] @@ -3614,24 +3606,24 @@ de ces nœuds.\footnote{Il n'y a pas de «nœuds larges» créés dans les rang p.~\pageref{exterior}).} \[\begin{pNiceMatrix}[create-large-nodes] +\CodeBefore [create-cell-nodes] + \begin{tikzpicture} + [every node/.style = { inner sep = 0 pt} , + name suffix = -large] + \node [fit = (1-1),fill = red!15] {} ; + \node [fit = (1-3),fill = red!15] {} ; + \node [fit = (2-2),fill = red!15] {} ; + \node [fit = (3-1),fill = red!15] {} ; + \node [fit = (3-3),fill = red!15] {} ; + \node [fit = (1-2),fill = blue!15] {} ; + \node [fit = (2-1),fill = blue!15] {} ; + \node [fit = (2-3),fill = blue!15] {} ; + \node [fit = (3-2),fill = blue!15] {} ; + \end{tikzpicture} +\Body a & a + b & a + b + c \\ a & a & a + b \\ a & a & a -\CodeAfter -\begin{tikzpicture} - [every node/.style = {blend mode = multiply, - inner sep = 0 pt}, - name suffix = -large] -\node [fit = (1-1),fill = red!15] {} ; -\node [fit = (1-3),fill = red!15] {} ; -\node [fit = (2-2),fill = red!15] {} ; -\node [fit = (3-1),fill = red!15] {} ; -\node [fit = (3-3),fill = red!15] {} ; -\node [fit = (1-2),fill = blue!15] {} ; -\node [fit = (2-1),fill = blue!15] {} ; -\node [fit = (2-3),fill = blue!15] {} ; -\node [fit = (3-2),fill = blue!15] {} ; -\end{tikzpicture} \end{pNiceMatrix}\] @@ -3647,24 +3639,24 @@ utilisé les options |left-margin| et |right-margin|.\footnote{Les options elle est égale à |\arraycolsep| (valeur initiale : 5~pt). Il existe aussi une option |margin| pour fixer à la fois |left-margin| et |right-margin|.} \[\begin{pNiceMatrix}[create-large-nodes,left-margin,right-margin] +\CodeBefore [create-cell-nodes] + \begin{tikzpicture} + [every node/.style = {inner sep = 0 pt}, + name suffix = -large] + \node [fit = (1-1),fill = red!15] {} ; + \node [fit = (1-3),fill = red!15] {} ; + \node [fit = (2-2),fill = red!15] {} ; + \node [fit = (3-1),fill = red!15] {} ; + \node [fit = (3-3),fill = red!15] {} ; + \node [fit = (1-2),fill = blue!15] {} ; + \node [fit = (2-1),fill = blue!15] {} ; + \node [fit = (2-3),fill = blue!15] {} ; + \node [fit = (3-2),fill = blue!15] {} ; + \end{tikzpicture} +\Body a & a + b & a + b + c \\ a & a & a + b \\ a & a & a -\CodeAfter -\begin{tikzpicture} - [every node/.style = {blend mode = multiply, - inner sep = 0 pt}, - name suffix = -large] -\node [fit = (1-1),fill = red!15] {} ; -\node [fit = (1-3),fill = red!15] {} ; -\node [fit = (2-2),fill = red!15] {} ; -\node [fit = (3-1),fill = red!15] {} ; -\node [fit = (3-3),fill = red!15] {} ; -\node [fit = (1-2),fill = blue!15] {} ; -\node [fit = (2-1),fill = blue!15] {} ; -\node [fit = (2-3),fill = blue!15] {} ; -\node [fit = (3-2),fill = blue!15] {} ; -\end{tikzpicture} \end{pNiceMatrix}\] \medskip @@ -3674,24 +3666,24 @@ incorporées dans les «nœuds larges». Dans l'exemple suivant, nous avons util |extra-left-margin| et |extra-right-margin| avec la valeur $3$~pt. \[\begin{pNiceMatrix}% [create-large-nodes,left-margin,right-margin,extra-right-margin=3pt,extra-left-margin=3pt] +\CodeBefore [create-cell-nodes] + \begin{tikzpicture} + [every node/.style = {inner sep = 0 pt}, + name suffix = -large] + \node [fit = (1-1),fill = red!15] {} ; + \node [fit = (1-3),fill = red!15] {} ; + \node [fit = (2-2),fill = red!15] {} ; + \node [fit = (3-1),fill = red!15] {} ; + \node [fit = (3-3),fill = red!15] {} ; + \node [fit = (1-2),fill = blue!15] {} ; + \node [fit = (2-1),fill = blue!15] {} ; + \node [fit = (2-3),fill = blue!15] {} ; + \node [fit = (3-2),fill = blue!15] {} ; +\end{tikzpicture} +\Body a & a + b & a + b + c \\ a & a & a + b \\ a & a & a -\CodeAfter -\begin{tikzpicture} - [every node/.style = {blend mode = multiply, - inner sep = 0 pt}, - name suffix = -large] -\node [fit = (1-1),fill = red!15] {} ; -\node [fit = (1-3),fill = red!15] {} ; -\node [fit = (2-2),fill = red!15] {} ; -\node [fit = (3-1),fill = red!15] {} ; -\node [fit = (3-3),fill = red!15] {} ; -\node [fit = (1-2),fill = blue!15] {} ; -\node [fit = (2-1),fill = blue!15] {} ; -\node [fit = (2-3),fill = blue!15] {} ; -\node [fit = (3-2),fill = blue!15] {} ; -\end{tikzpicture} \end{pNiceMatrix}\] @@ -3748,28 +3740,38 @@ Voici maintenant tous les «nœuds larges» de ce tableau (sans utilisation de \begin{scope} \large \begin{NiceTabular}[c]{w{l}{2cm}ll}[hvlines,create-large-nodes] +\CodeBefore [create-cell-nodes] + \begin{tikzpicture} + [every node/.style = {inner sep = 0 pt}, + name suffix = -large] + \node [fit = (1-1),fill = red!15] {} ; + \node [fit = (1-3),fill = red!15] {} ; + \node [fit = (2-2),fill = red!15] {} ; + \node [fit = (3-1),fill = red!15] {} ; + \node [fit = (3-3),fill = red!15] {} ; + \node [fit = (1-2),fill = blue!15] {} ; + \node [fit = (2-1),fill = blue!15] {} ; + \node [fit = (2-3),fill = blue!15] {} ; + \node [fit = (3-2),fill = blue!15] {} ; + \end{tikzpicture} +\Body fraise & amande & abricot \\ prune & pêche & poire \\[1ex] noix & noisette & brugnon -\CodeAfter -\begin{tikzpicture} - [every node/.style = {blend mode = multiply, - inner sep = 0 pt}, - name suffix = -large] -\node [fit = (1-1),fill = red!15] {} ; -\node [fit = (1-3),fill = red!15] {} ; -\node [fit = (2-2),fill = red!15] {} ; -\node [fit = (3-1),fill = red!15] {} ; -\node [fit = (3-3),fill = red!15] {} ; -\node [fit = (1-2),fill = blue!15] {} ; -\node [fit = (2-1),fill = blue!15] {} ; -\node [fit = (2-3),fill = blue!15] {} ; -\node [fit = (3-2),fill = blue!15] {} ; -\end{tikzpicture} \end{NiceTabular} \end{scope} +\vspace{1cm} +Les nœuds que l'on vient de décrire ne sont pas accessibles par défaut dans le +|\CodeBefore| (décrit p.~\pageref{code-before}). \par\nobreak + +\colorbox{yellow!50}{\textbf{Nouveau 5.16}}\enskip On peut rendre ces nœuds +accessibles dans le |\CodeBefore| en utilisant la clé |create-cell-nodes| du +mot-clé |\CodeBefore| (dans ce cas-là, les nœuds sont créés une première fois +avant la construction du tableau en utilisant des informations écrites dans le +fichier |aux| puis recréés lors de la composition du tableau proprement dit). + \subsection{Les nœuds indiquant la position des filets} @@ -3779,11 +3781,8 @@ L'extension \pkg{nicematrix} crée un nœud PGF-Tikz nommé simplement $i$ (pré du préfixe habituel) à l'intersection du filet horizontal de numéro $i$ et du filet vertical de numéro~$i$ (ou plutôt la position potentielle de ces filets car ils ne sont peut-être pas tracés). Le dernier nœud a aussi un alias nommé -simplement |last|. - -\smallskip -\colorbox{yellow!50}{\textbf{Nouveau 5.14}}\enskip Il existe aussi un nœud nommé -$i$|.5| à mi-chemin entre le nœud $i$ et le nœud $i+1$. +simplement |last|. Il existe aussi un nœud nommé $i$|.5| à mi-chemin entre le +nœud $i$ et le nœud $i+1$. Ces nœuds sont accessibles dans le |\CodeAfter| mais aussi dans le |\CodeBefore|. @@ -4759,17 +4758,12 @@ suivantes dans le préambule du document : \medskip Nous créons un nœud Tikz rectangulaire qui englobe les nœuds de la deuxième -rangée en utilisant les outils de la bibliothèque Tikz \pkg{fit}. Ce nœud est -rempli après la construction de la matrice. Pour que l'on puisse voir le texte -\emph{sous} le nœud, nous devons utiliser la transparence avec le |blend mode| -égal à |multiply|. \textbf{Attention} : Certains lecteurs de \textsc{pdf} -n'affichent pas la transparence.\footnote{Dans Overleaf, the lecteur de - \textsc{PDF} «intégré» n'affiche pas la transparence. On peut sélectionner le - lecteur «natif» dans ce cas-là.} +rangée en utilisant les outils de la bibliothèque Tikz \pkg{fit}. Ces nœuds ne +sont pas créés par défaut dans le |\CodeBefore| (par souci d'efficacité). Il +faut utiliser la clé |create-cell-nodes| du |\CodeBefore| pour demander leur création. \tikzset{highlight/.style={rectangle, fill=red!15, - blend mode = multiply, rounded corners = 0.5 mm, inner sep=1pt, fit=#1}} @@ -4778,119 +4772,59 @@ n'affichent pas la transparence.\footnote{Dans Overleaf, the lecteur de \begin{Verbatim} \tikzset{highlight/.style={rectangle, fill=red!15, - ~emphase#blend mode = multiply@, rounded corners = 0.5 mm, inner sep=1pt, fit=~#1}} $\begin{bNiceMatrix} +~emphase#\CodeBefore [create-cell-nodes] @ +~emphase# \tikz \node [highlight = (2-1) (2-3)] {} ; @ +~emphase# \Body @ 0 & \Cdots & 0 \\ 1 & \Cdots & 1 \\ 0 & \Cdots & 0 \\ -~emphase#\CodeAfter \tikz \node [highlight = (2-1) (2-3)] {} ;@ \end{bNiceMatrix}$ \end{Verbatim} \[\begin{bNiceMatrix} +\CodeBefore [create-cell-nodes] + \tikz \node [highlight = (2-1) (2-3)] {} ; +\Body 0 & \Cdots & 0 \\ 1 & \Cdots & 1 \\ 0 & \Cdots & 0 \\ -\CodeAfter \tikz \node [highlight = (2-1) (2-3)] {} ; \end{bNiceMatrix}\] -\vspace{1cm} On rappelle que dans le cas d'un ensemble de cases fusionnées (avec -la commande |\Block|), un nœud Tikz est créé pour l'ensemble des cases avec pour -nom $i$|-|$j$|-block| où $i$ et $j$ sont les numéros de ligne et de colonne de -la case en haut à gauche (où a été utilisée la commande |\Block|). Si on a -demandé la création des nœuds |medium|, alors un nœud de ce type est aussi créé -pour ce bloc avec un nom suffixé par |-medium|. - -\medskip -\begin{BVerbatim}[baseline=c,boxwidth=11.6cm] -$\begin{pNiceMatrix}[margin,create-medium-nodes] - \Block{3-3}<\Large>{A} & & & 0 \\ - & \hspace*{1cm} & & \Vdots \\ - & & & 0 \\ - 0 & \Cdots& 0 & 0 -\CodeAfter - \tikz \node [~emphase#highlight = (1-1-block-medium)@] {} ; -\end{pNiceMatrix}$ -\end{BVerbatim} -$\begin{pNiceMatrix}[margin,create-medium-nodes] -\Block{3-3}<\Large>{A} & & & 0 \\ -& \hspace*{1cm} & & \Vdots \\ -& & & 0 \\ -0 & \Cdots& 0 & 0 -\CodeAfter -\tikz \node [highlight = (1-1-block-medium)] {} ; -\end{pNiceMatrix}$ - - \vspace{1cm} -On considère maintenant la matrice suivante que l'on a appelée |exemple|. +On considère maintenant la matrice suivante. Si on veut surligner chaque rangée +de la matrice, on peut utiliser la technique précédente trois fois. -\medskip \begin{Verbatim} -$\begin{pNiceArray}{ccc}[~emphase#name=exemple@,last-col,create-medium-nodes] -a & a + b & a + b + c & L_1 \\ -a & a & a + b & L_2 \\ -a & a & a & L_3 -\end{pNiceArray}$ -\end{Verbatim} - \[\begin{pNiceArray}{ccc}[last-col] +\CodeBefore [create-cell-nodes] + \begin{tikzpicture} +~emphase# \node [highlight = (1-1) (1-3)] {} ;@ +~emphase# \node [highlight = (2-1) (2-3)] {} ;@ +~emphase# \node [highlight = (3-1) (3-3)] {} ;@ + \end{tikzpicture} +\Body a & a + b & a + b + c & L_1 \\ a & a & a + b & L_2 \\ a & a & a & L_3 \end{pNiceArray}\] - -\bigskip -Si on veut surligner chaque rangée de la matrice, on peut utiliser la technique précédente trois fois. - -\begin{Verbatim} -\tikzset{mes-options/.style={remember picture, - overlay, - name prefix = exemple-, - highlight/.style = {fill = red!15, - blend mode = multiply, - inner sep = 0pt, - fit = ~#1}}} \end{Verbatim} - -\tikzset{mes-options/.style={remember picture, - overlay, - name prefix = exemple-, - highlight/.style = {fill = red!15, - blend mode = multiply, - inner sep = 0pt, - fit = #1}}} - - -\begin{Verbatim} -\begin{tikzpicture}[mes-options] -\node [highlight = (1-1) (1-3)] {} ; -\node [highlight = (2-1) (2-3)] {} ; -\node [highlight = (3-1) (3-3)] {} ; -\end{tikzpicture} -\end{Verbatim} - -\medskip -On obtient la matrice suivante. - -\[\begin{pNiceArray}{ccc}[ - last-col, - code-after = {\begin{tikzpicture}[highlight/.style = {fill = red!15, - blend mode = multiply, - inner sep = 0pt, - fit = #1}] - \node [highlight = (1-1) (1-3)] {} ; - \node [highlight = (2-1) (2-3)] {} ; - \node [highlight = (3-1) (3-3)] {} ; - \end{tikzpicture}}] +\[\begin{pNiceArray}{ccc}[last-col] +\CodeBefore [create-cell-nodes] + \begin{tikzpicture} + \node [highlight = (1-1) (1-3)] {} ; + \node [highlight = (2-1) (2-3)] {} ; + \node [highlight = (3-1) (3-3)] {} ; + \end{tikzpicture} +\Body a & a + b & a + b + c & L_1 \\ a & a & a + b & L_2 \\ a & a & a & L_3 @@ -4901,46 +4835,44 @@ Le résultat peut paraître décevant. On peut l'améliorer en utilisant les «n moyens» au lieu des «nœuds normaux». \begin{Verbatim} -\begin{tikzpicture}[mes-options, ~emphase#name suffix = -medium@] -\node [highlight = (1-1) (1-3)] {} ; -\node [highlight = (2-1) (2-3)] {} ; -\node [highlight = (3-1) (3-3)] {} ; -\end{tikzpicture} +\[\begin{pNiceArray}{ccc}[last-col,create-medium-nodes] +\CodeBefore [create-cell-nodes] + \begin{tikzpicture} ~emphase#[name suffix = -medium]@ + \node [highlight = (1-1) (1-3)] {} ; + \node [highlight = (2-1) (2-3)] {} ; + \node [highlight = (3-1) (3-3)] {} ; + \end{tikzpicture} +\Body +a & a + b & a + b + c & L_1 \\ +a & a & a + b & L_2 \\ +a & a & a & L_3 +\end{pNiceArray}\] \end{Verbatim} -\medskip -On obtient la matrice suivante. \[\begin{pNiceArray}{ccc}[last-col,create-medium-nodes] +\CodeBefore [create-cell-nodes] + \begin{tikzpicture} [name suffix = -medium] + \node [highlight = (1-1) (1-3)] {} ; + \node [highlight = (2-1) (2-3)] {} ; + \node [highlight = (3-1) (3-3)] {} ; + \end{tikzpicture} +\Body a & a + b & a + b + c & L_1 \\ a & a & a + b & L_2 \\ -a & a & a & L_3 \\ -\CodeAfter -\begin{tikzpicture}[highlight/.style = {fill = red!15, - blend mode = multiply, - inner sep = 0pt, - fit = #1}, - name suffix = -medium] -\node [highlight = (1-1) (1-3)] {} ; -\node [highlight = (2-1) (2-3)] {} ; -\node [highlight = (3-1) (3-3)] {} ; -\end{tikzpicture} +a & a & a & L_3 \end{pNiceArray}\] -\subsection{Utilisation de \textbackslash SubMatrix dans le code-before} +\subsection{Utilisation de \textbackslash SubMatrix dans le \textbackslash CodeBefore} Dans l'exemple suivant, on illustre le produit mathématique de deux matrices. L'ensemble de la figure est un environnement |{NiceArray}| et les trois paires -de parenthèses ont été rajoutées avec |\SubMatrix| dans le |code-before|. +de parenthèses ont été rajoutées avec |\SubMatrix| dans le |\CodeBefore|. + -Ceux qui sont intéressés par le code correspondant le trouveront dans le fichier -source de ce document. -% -% -% \tikzset{highlight/.style={rectangle, fill=red!15, rounded corners = 0.5 mm, @@ -4975,6 +4907,43 @@ source de ce document. \end{NiceArray}\] +\vspace{1cm} +\begin{Verbatim} +\tikzset{highlight/.style={rectangle, + fill=red!15, + rounded corners = 0.5 mm, + inner sep=1pt, + fit=~#1}} +\end{Verbatim} + +\begin{Verbatim}[formatcom = \small\color{gray}] +\[\begin{NiceArray}{*{6}{c}~LetterAt{\hspace{6mm}}*{5}{c}}[nullify-dots] +\CodeBefore [create-cell-nodes] + \SubMatrix({2-7}{6-11}) + \SubMatrix({7-2}{11-6}) + \SubMatrix({7-7}{11-11}) + \begin{tikzpicture} + \node [highlight = (9-2) (9-6)] { } ; + \node [highlight = (2-9) (6-9)] { } ; + \end{tikzpicture} +\Body + & & & & & & & & \color{blue}\scriptstyle C_j \\ + & & & & & & b_{11} & \Cdots & b_{1j} & \Cdots & b_{1n} \\ + & & & & & & \Vdots & & \Vdots & & \Vdots \\ + & & & & & & & & b_{kj} \\ + & & & & & & & & \Vdots \\ + & & & & & & b_{n1} & \Cdots & b_{nj} & \Cdots & b_{nn} \\[3mm] + & a_{11} & \Cdots & & & a_{1n} \\ + & \Vdots & & & & \Vdots & & & \Vdots \\ +\color{blue}\scriptstyle L_i + & a_{i1} & \Cdots & a_{ik} & \Cdots & a_{in} & \Cdots & & c_{ij} \\ + & \Vdots & & & & \Vdots \\ + & a_{n1} & \Cdots & & & a_{nn} \\ +\CodeAfter +\tikz \draw [gray,shorten > = 1mm, shorten < = 1mm] (9-4.north) to [bend left] (4-9.west) ; +\end{NiceArray}\] +\end{Verbatim} + \section*{Autre documentation} diff --git a/Master/texmf-dist/doc/latex/nicematrix/nicematrix.pdf b/Master/texmf-dist/doc/latex/nicematrix/nicematrix.pdf index b096ea1e0fe..40b867d72eb 100644 Binary files a/Master/texmf-dist/doc/latex/nicematrix/nicematrix.pdf and b/Master/texmf-dist/doc/latex/nicematrix/nicematrix.pdf differ -- cgit v1.2.3