From 893b65e5d4c0b7cb8ebbfca9ee6b090b9a4a182c Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 14 Jun 2020 03:02:26 +0000 Subject: CTAN sync 202006140302 --- .../latex/contrib/nicematrix/nicematrix-french.tex | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'macros/latex/contrib/nicematrix/nicematrix-french.tex') diff --git a/macros/latex/contrib/nicematrix/nicematrix-french.tex b/macros/latex/contrib/nicematrix/nicematrix-french.tex index d79a0f3727..a8c0fdd435 100644 --- a/macros/latex/contrib/nicematrix/nicematrix-french.tex +++ b/macros/latex/contrib/nicematrix/nicematrix-french.tex @@ -378,8 +378,45 @@ arum & iris & jacinthe & muguet \end{center} +\interitem +On remarquera que les centrage horizontal du contenu des blocs est correct même si un espacement des colonnes a été +demandé par une instruction comme |!{\qquad}| dans le préambule (ce n'est pas le cas avec |\multicolumn|). Dans +l'exemple suivant, l'en-tête «Premier groupe» est correctement centré. + +\medskip +\begin{center} +\begin{BVerbatim} +\begin{NiceTabular}{C!{\qquad}CCC~emphase#!{\qquad}@CCC} +\toprule +& ~emphase#\Block{1-3}{Premier groupe}@ & & & \Block{1-3}{Deuxième groupe} \\ +Rang & 1A & 1B & 1C & 2A & 2B & 2C \\ +\midrule + 1 & 0.657 & 0.913 & 0.733 & 0.830 & 0.387 & 0.893\\ + 2 & 0.343 & 0.537 & 0.655 & 0.690 & 0.471 & 0.333\\ + 3 & 0.783 & 0.885 & 0.015 & 0.306 & 0.643 & 0.263\\ + 4 & 0.161 & 0.708 & 0.386 & 0.257 & 0.074 & 0.336\\ +\bottomrule +\end{NiceTabular} +\end{BVerbatim} +\end{center} \bigskip +\begin{center} +\begin{NiceTabular}{C!{\qquad}CCC!{\qquad}CCC} +\toprule +& \Block{1-3}{Premier groupe} & & & \Block{1-3}{Deuxième groupe} \\ +Rang & 1A & 1B & 1C & 2A & 2B & 2C \\ +\midrule + 1 & 0.657 & 0.913 & 0.733 & 0.830 & 0.387 & 0.893\\ + 2 & 0.343 & 0.537 & 0.655 & 0.690 & 0.471 & 0.333\\ + 3 & 0.783 & 0.885 & 0.015 & 0.306 & 0.643 & 0.263\\ + 4 & 0.161 & 0.708 & 0.386 & 0.257 & 0.074 & 0.336\\ +\bottomrule +\end{NiceTabular} +\end{center} + + +\interitem On peut aussi utiliser la commande |\Block| dans des matrices mathématiques. \medskip -- cgit v1.2.3