summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/multirow
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-03-16 03:01:13 +0000
committerNorbert Preining <norbert@preining.info>2021-03-16 03:01:13 +0000
commit4947a16af6c8e33f697a8da222db7f3ad027ba94 (patch)
tree3eee9fd60fecc17e213ff42c404f538ae850f934 /macros/latex/contrib/multirow
parent36607734949d1736c36ed7b9f3a12a74d7a8ce86 (diff)
CTAN sync 202103160301
Diffstat (limited to 'macros/latex/contrib/multirow')
-rw-r--r--macros/latex/contrib/multirow/README6
-rw-r--r--macros/latex/contrib/multirow/multirow.dtx38
-rw-r--r--macros/latex/contrib/multirow/multirow.pdfbin596749 -> 599745 bytes
3 files changed, 30 insertions, 14 deletions
diff --git a/macros/latex/contrib/multirow/README b/macros/latex/contrib/multirow/README
index a1d00a0479..d6e00c1779 100644
--- a/macros/latex/contrib/multirow/README
+++ b/macros/latex/contrib/multirow/README
@@ -1,6 +1,6 @@
-multirow.sty v2.7 2021/01/29
-bigstruts.sty v2.7 2021/01/29
-bigdelim.sty v2.7 2021/01/29
+multirow.sty v2.8 2021/03/15
+bigstruts.sty v2.8 2021/03/15
+bigdelim.sty v2.8 2021/03/15
Original Author: Jerry Leichter
Current Author: Pieter van Oostrum <pieter@vanoostrum.org>
diff --git a/macros/latex/contrib/multirow/multirow.dtx b/macros/latex/contrib/multirow/multirow.dtx
index 139e0ed25b..9cd957a2e7 100644
--- a/macros/latex/contrib/multirow/multirow.dtx
+++ b/macros/latex/contrib/multirow/multirow.dtx
@@ -32,7 +32,7 @@
%<multirow>\ProvidesPackage{multirow}%
%<bigstrut>\ProvidesPackage{bigstrut}
%<bigdelim>\ProvidesPackage{bigdelim}
-%<multirow|bigstrut|bigdelim> [2021/01/29 v2.7
+%<multirow|bigstrut|bigdelim> [2021/03/15 v2.8
%<multirow> Span multiple rows of a table]%
%<bigstrut> Provide larger struts in tabulars]
%<bigdelim> Create big delimiters in tabular or array]
@@ -130,6 +130,12 @@
% \section{Changes in version 2}
% \label{sec:changes-2}
%
+%\subsection*{version 2.8}
+%
+%\begin{itemize}
+%\item Optional argument \meta{vmove} for \cs{ldelim} and \cs{rdelim}.
+%\end{itemize}
+%
%\subsection*{version 2.7}
%
%\begin{itemize}
@@ -1219,8 +1225,8 @@
% \DescribeMacro{\rdelim}
% Syntax of use is
% \begin{quote}
-% \cs{ldelim} ( \marg{n}\marg{width}\oarg{text}\\
-% \cs{rdelim} ) \marg{n}\marg{width}\oarg{text}
+% \cs{ldelim} ( \marg{n}\oarg{vmove}\marg{width}\oarg{text}\\
+% \cs{rdelim} ) \marg{n}\oarg{vmove}\marg{width}\oarg{text}
% \end{quote}
% The commands are used in a column of a \env{tabular} or
% \env{array}; they create a big parenthesis, brace or whatever
@@ -1259,6 +1265,12 @@
% \end{equation}
% \end{quote}
%
+% The optional parameter \meta{vmove} is a length used for fine-tuning: the
+% delimiter (with the optional \meta{text}) will be raised (or lowered, if
+% \meta{vmove} is negative) by that length above (below) wherever it would
+% otherwise have gone. This is just like with \cs{multirow}, but note that
+% here the \meta{vmove} goes before the \meta{width}.
+%
% When \cs{ldelim} is used, the optional \meta{text} is set centred to the left of \cs{ldelim}.
% If \cs{rdelim} is used it is set to the right of \cs{rdelim}. The
% \meta{width} parameter is the space that is reserved for
@@ -1919,14 +1931,16 @@
% to a default value.
% \changes{bigdelim v2.3}{2018/08/03}{Replace \cs{textrm} by \cs{textnormal}}
% \changes{bigdelim v2.6}{2020/12/26}{Initialize \cs{@arstrutbox} if not defined}
+% \changes{bigdelim v2.8}{2021/03/15}{Add optional argument \meta{vmove}}
% \begin{macrocode}
-\newcommand\ldelim[3]{\@ifnextchar[{\@ldelim{#1}{#2}{#3}}{\@ldelim{#1}{#2}{#3}[\null]}}
-\def\@ldelim#1#2#3[#4]%
+\newcommand\ldelim[2]{\@ifnextchar[{\@ldelim{#1}{#2}}{\@ldelim{#1}{#2}[0pt]}}
+\def\@ldelim#1#2[#3]#4{\@ifnextchar[{\@@ldelim{#1}{#2}{#3}{#4}}{\@@ldelim{#1}{#2}{#3}{#4}[\null]}}
+\def\@@ldelim#1#2#3#4[#5]%
{\ifvoid\@arstrutbox\setbox\@arstrutbox\hbox{\strut}\fi
- \multirow{#2}{#3}{%
+ \multirow{#2}{#4}[#3]{%
\ensuremath
{\left.\vcenter{\hsize=0pt\vrule height \multirow@dima width 0pt}%
- \textnormal{#4}\right#1}}}
+ \textnormal{#5}\right#1}}}
% \end{macrocode}
% \end{macro}
%
@@ -1935,14 +1949,16 @@
% proper arguments, similar to \cs{ldelim}.
% \changes{bigdelim v2.3}{2018/08/03}{Replace \cs{textrm} by \cs{textnormal}}
% \changes{bigdelim v2.6}{2020/12/26}{Initialize \cs{@arstrutbox} if not defined}
+% \changes{bigdelim v2.8}{2021/03/15}{Add optional argument \meta{vmove}}
% \begin{macrocode}
-\newcommand\rdelim[3]{\@ifnextchar[{\@rdelim{#1}{#2}{#3}}{\@rdelim{#1}{#2}{#3}[\null]}}
-\def\@rdelim#1#2#3[#4]%
+\newcommand\rdelim[2]{\@ifnextchar[{\@rdelim{#1}{#2}}{\@rdelim{#1}{#2}[0pt]}}
+\def\@rdelim#1#2[#3]#4{\@ifnextchar[{\@@rdelim{#1}{#2}{#3}{#4}}{\@@rdelim{#1}{#2}{#3}{#4}[\null]}}
+\def\@@rdelim#1#2#3#4[#5]%
{\ifvoid\@arstrutbox\setbox\@arstrutbox\hbox{\strut}\fi
- \multirow{#2}{#3}{%
+ \multirow{#2}{#4}[#3]{%
\ensuremath
{\left#1\vcenter{\hsize=0pt\vrule height \multirow@dima width 0pt}%
- \textnormal{#4}\right.}}}
+ \textnormal{#5}\right.}}}
% \end{macrocode}
% \end{macro}
% \iffalse
diff --git a/macros/latex/contrib/multirow/multirow.pdf b/macros/latex/contrib/multirow/multirow.pdf
index c797cb0a4d..a1075ac37f 100644
--- a/macros/latex/contrib/multirow/multirow.pdf
+++ b/macros/latex/contrib/multirow/multirow.pdf
Binary files differ