diff options
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{% |