From c51105ca12a978ce7a45352c412bf9c54a42f161 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 31 May 2019 21:45:57 +0000
Subject: multirow (31may19)

git-svn-id: svn://tug.org/texlive/trunk@51278 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/multirow/multirow.sty | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/multirow/multirow.sty')

diff --git a/Master/texmf-dist/tex/latex/multirow/multirow.sty b/Master/texmf-dist/tex/latex/multirow/multirow.sty
index 88c8ce3daab..02f8db7bcc3 100644
--- a/Master/texmf-dist/tex/latex/multirow/multirow.sty
+++ b/Master/texmf-dist/tex/latex/multirow/multirow.sty
@@ -23,13 +23,14 @@
 %%
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{multirow}%
-           [2019/01/01 v2.4
+           [2019/05/31 v2.5
                   Span multiple rows of a table]%
 \newif\ifmultirowdebug
 \DeclareOption{debug}{\multirowdebugtrue}
 \DeclareOption{longtable}{%
 \AtBeginDocument{%
-\def\@cline#1-#2\@nil{%
+\@ifundefined{CT@arc}
+{\def\@cline#1-#2\@nil{%
   \omit
   \@multicnt#1%
   \advance\@multispan\m@ne
@@ -39,7 +40,18 @@
   \advance\@multispan\@ne
   \leaders\hrule\@height\arrayrulewidth\hfill
   \cr
-  \noalign{\nobreak\vskip-\arrayrulewidth}}
+  \noalign{\nobreak\vskip-\arrayrulewidth}}}
+{\def\@cline#1-#2\@nil{%
+  \omit
+  \@multicnt#1%
+  \advance\@multispan\m@ne
+  \ifnum\@multicnt=\@ne\@firstofone{&\omit}\fi
+  \@multicnt#2%
+  \advance\@multicnt-#1%
+  \advance\@multispan\@ne
+  {\CT@arc@\leaders\hrule\@height\arrayrulewidth\hfill}%
+  \cr
+  \noalign{\nobreak\vskip-\arrayrulewidth}}}
 }}
 \DeclareOption{supertabular}{%
 \AtBeginDocument{%
-- 
cgit v1.2.3

