diff options
author | Karl Berry <karl@freefriends.org> | 2019-05-31 21:45:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-05-31 21:45:57 +0000 |
commit | c51105ca12a978ce7a45352c412bf9c54a42f161 (patch) | |
tree | 04285a4aed992705b83f91a427c1df17a5291051 /Master/texmf-dist/tex/latex/multirow/multirow.sty | |
parent | 2426786a5afcaf77fa032ea45169ef5a6d69829f (diff) |
multirow (31may19)
git-svn-id: svn://tug.org/texlive/trunk@51278 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/multirow/multirow.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/multirow/multirow.sty | 18 |
1 files changed, 15 insertions, 3 deletions
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{% |