summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/nicematrix/nicematrix.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/nicematrix/nicematrix.tex')
-rw-r--r--macros/latex/contrib/nicematrix/nicematrix.tex16
1 files changed, 11 insertions, 5 deletions
diff --git a/macros/latex/contrib/nicematrix/nicematrix.tex b/macros/latex/contrib/nicematrix/nicematrix.tex
index 7eb1243f18..7eb8e1783e 100644
--- a/macros/latex/contrib/nicematrix/nicematrix.tex
+++ b/macros/latex/contrib/nicematrix/nicematrix.tex
@@ -616,9 +616,9 @@ There is also keys for the horizontal and vertical positions of the content of
the block: cf.~\ref{horizontal-block} p.~\pageref{horizontal-block}.
\interitem
-{\bfseries One must remark that, by default, the commands |\Blocks| don't create space}.
-There is exception only for the blocks mono-row and the blocks mono-column as
-explained just below.
+{\bfseries One must remark that, by default, the commands |\Blocks| don't create
+ space}. There is exception only for the blocks mono-column and the blocks
+mono-row under some conditions as explained just below.
\medskip
In the following example, we have had to enlarge by hand the columns 2 and 3
@@ -707,7 +707,9 @@ Henry & 14 \\ \hline
For the mono-row blocks, the natural height and depth are taken into account
for the height and depth of the current row (as does a standard |\multicolumn|
-of LaTeX).
+of LaTeX), except when an option of vertical position has been used for the block
+(one of the keys |t|, |b|, |v-center|, |T| and |B| described in the part
+\ref{vertical-pos-block}, p.~\pageref{vertical-pos-block}).
\subsection{The mono-cell blocks}
@@ -873,6 +875,7 @@ Rank & \Block[C]{1-3}{First group} & & & \Block{1-3}{Second group} \\
\subsection{Vertical position of the content of the block}
+\label{vertical-pos-block}
For the vertical position, the command |\Blocks| accepts the keys
|v-center|\footnote{That key could not have been named |c| since the key |c|
@@ -3911,10 +3914,13 @@ p.~\pageref{submatrix-in-codebefore}.
\vspace{1cm}
+\emph{Caution} : The following functionnality is fragile and does not work with
+the compilationn |latex|--|dvips|--|ps2pdf|.\par\nobreak
+
The key |code| of the command |\SubMatrix| allows the insertion of code after
the construction of the submatrix. It's meant to be used to insert TikZ
instructions because, in the TikZ instructions inserted by that code, the
-nodes of the form |i-j| and \verb+i-|j+ are interpreted with |i| and |j| as
+nodes of the form \verb+i-|j+ are interpreted with |i| and |j| as
numbers of row and columns \emph{relative to the submatrix}.\footnote{Be
careful: the syntax \verb+j|-i+ is \emph{not} allowed.}