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 --- .../latex/contrib/nicematrix/nicematrix-french.pdf | Bin 504636 -> 504452 bytes .../latex/contrib/nicematrix/nicematrix-french.tex | 38 ++++++++++---------- macros/latex/contrib/nicematrix/nicematrix.dtx | 40 ++++++++++----------- macros/latex/contrib/nicematrix/nicematrix.pdf | Bin 1541634 -> 1541554 bytes 4 files changed, 37 insertions(+), 41 deletions(-) (limited to 'macros/latex/contrib/nicematrix') diff --git a/macros/latex/contrib/nicematrix/nicematrix-french.pdf b/macros/latex/contrib/nicematrix/nicematrix-french.pdf index 1350f7ab39..a0da6fafd9 100644 Binary files a/macros/latex/contrib/nicematrix/nicematrix-french.pdf and b/macros/latex/contrib/nicematrix/nicematrix-french.pdf differ diff --git a/macros/latex/contrib/nicematrix/nicematrix-french.tex b/macros/latex/contrib/nicematrix/nicematrix-french.tex index 232ab4e8f2..26018cf2de 100644 --- a/macros/latex/contrib/nicematrix/nicematrix-french.tex +++ b/macros/latex/contrib/nicematrix/nicematrix-french.tex @@ -339,7 +339,8 @@ u_n & 1 & 2 & 4 & 8 & 16 & 32 \\ \medskip Il est également possible d'utiliser les outils de \pkg{booktabs}: |\toprule|, -|\bottomrule|, |\midrule|, etc.\par\nobreak +|\bottomrule|, |\midrule|, etc., à condition, bien entendu, d'avoir chargé +\pkg{booktabs}.\par\nobreak \smallskip \begin{BVerbatim}[baseline=c,boxwidth=9cm] @@ -386,8 +387,8 @@ horizontal. \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 \\ @@ -396,8 +397,8 @@ $A=\begin{pNiceArray}{cc|cc}~emphase#[baseline=line-3]@ \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 \\ @@ -462,7 +463,7 @@ utiliser une commande comme |\large|, |\Large| ou |\LARGE|. C'est pourquoi une option à mettre entre chevrons est proposée par |\Block| pour spécifier du code LaTeX qui sera inséré \emph{avant} le début du mode mathématique.\footnote{Cet argument entre chevrons peut aussi être utilisé pour insérer une commande de - fonte comme |\bfseries| dans le cas où la commande |\\| est utilisée dans le + fonte comme |\bfseries|, ce qui peut être utilie dans le cas où la commande |\\| apparaît dans le contenu du bloc.} \medskip @@ -521,16 +522,16 @@ couleur (la valeur par défaut de cette clé est la couleur courante des filets tableau) ; \item la clé |color| prend en argument une couleur et l'applique au contenu et trace également le cadre avec cette couleur ; -\item la clé |line-width| fixe la largeur des filets servant pour le cadre (n'a -d'intérêt que si |draw| ou |hvlines| est utilisée) ; +\item les clés |hlines|, |vlines| et |hvlines| tracent les filets correspondants +dans le bloc ; +\item la clé |line-width| fixe la largeur utilisée pour tracer les filets (n'a +d'intérêt que si |draw|, |hvlines|, |hlines| ou |vlines| est utilisée) ; \item la clé |rounded-corners| impose des coins arrondis (pour le cadre dessiné par |draw| et le fond dessiné par |fill|) avec un rayon égal à la valeur de cette clé (la valeur par défaut est 4~pt\footnote{Cette valeur par défaut est la valeur initiale des \emph{rounded corners} de Tikz.}) ; \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 les clés |hlines|, |vlines| et |hvlines| tracent les filets correspondants -dans le bloc ; \item quand la clé |tikz| est utilisée, le chemin Tikz correspondant au rectangle délimitant le bloc est exécuté avec Tikz\footnote{Tikz doit être chargé préalablement (par défaut, \pkg{nicematrix} ne charge que @@ -544,12 +545,11 @@ bloc ; on peut utiliser ce nom avec Tikz dans le |\CodeAfter| (cf.~p.~\pageref{c début de bloc (qui a lieu par défaut) ; \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| ; \newline -\colorbox{yellow!50}{\textbf{Nouveau 6.7}}\enskip on peut en fait, dans la liste -qui est la valeur de la clé |borders| mettre une entrée de la forme -|tikz={|\textsl{liste}|}| où \textsl{liste} est une liste de couples -\textsl{clé=valeur} de Tikz spécifiant les caractéristiques graphiques des -traits qui seront dessinés (pour un exemple, voir p.~\pageref{tiretes}). +|right|, |top| et |bottom| ; on peut en fait, dans la liste qui est la valeur de +la clé |borders| mettre une entrée de la forme |tikz={|\textsl{liste}|}| où +\textsl{liste} est une liste de couples \textsl{clé=valeur} de Tikz spécifiant +les caractéristiques graphiques des traits qui seront dessinés (pour un exemple, +voir p.~\pageref{tiretes}). \end{itemize} @@ -1241,8 +1241,7 @@ Produit C & 5 & 4 & 1 \\ \end{center} -\item \colorbox{yellow!50}{\textbf{Nouveau 6.6}}\enskip \emph{Deuxième - possibilité} +\item \emph{Deuxième possibilité} On peut utiliser la clé |tikz| (si Tikz est chargé, \pkg{nicematrix} ne chargeant par défaut que \textsc{pgf}). Dans ce cas-là, le filet est tracé @@ -3279,8 +3278,7 @@ c'est la position du filet vertical éventuel qui est utilisée (de même pour \item |yshift|, qui déplace verticalement l'accolade (et son label) ; -\item \colorbox{yellow!50}{\textbf{Nouveau 6.7}}\enskip |color| qui fixe la -couleur de l'accolade et du label. +\item |color| qui fixe la couleur de l'accolade et du label. \end{itemize} \bigskip 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. diff --git a/macros/latex/contrib/nicematrix/nicematrix.pdf b/macros/latex/contrib/nicematrix/nicematrix.pdf index 933ab640b6..ef054f3b56 100644 Binary files a/macros/latex/contrib/nicematrix/nicematrix.pdf and b/macros/latex/contrib/nicematrix/nicematrix.pdf differ -- cgit v1.2.3