summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/arydshln
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-05-02 23:54:48 +0000
committerKarl Berry <karl@freefriends.org>2016-05-02 23:54:48 +0000
commit18e1e0676806d75d5accc5104cc3ab13865bda21 (patch)
treec24802de0f9c629f8e71c902a52893828f1f77a2 /Master/texmf-dist/tex/latex/arydshln
parent9cff94f29a6c2ea3f4fafae25e86254a53a67eff (diff)
arydshln (29apr16)
git-svn-id: svn://tug.org/texlive/trunk@40847 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/arydshln')
-rw-r--r--Master/texmf-dist/tex/latex/arydshln/arydshln.sty30
1 files changed, 19 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/arydshln/arydshln.sty b/Master/texmf-dist/tex/latex/arydshln/arydshln.sty
index 2a62b393215..076a3ff007b 100644
--- a/Master/texmf-dist/tex/latex/arydshln/arydshln.sty
+++ b/Master/texmf-dist/tex/latex/arydshln/arydshln.sty
@@ -50,7 +50,7 @@
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
\ProvidesPackage{arydshln}}
\else\def\next[#1]{}\fi\next
-[2016/03/19 v1.72 ]
+[2016/04/28 v1.73 ]
%% Register Declaration
\newdimen\dashlinedash \dashlinedash4pt %
@@ -542,7 +542,7 @@
\fi\fi\next}
\def\adl@makevlr{\@tempcnta\adl@totalheight \@tempcntb\adl@totalheight
- \adl@dash\m@ne \adl@gap\m@ne
+ \let\adl@lastconn\z@ \adl@dash\m@ne \adl@gap\m@ne
\let\adl@dashcolor\relax \let\adl@gapcolor\relax
\adl@connectedfalse \adl@doublerulefalse \def\@tempb{}%
\expandafter\adl@imakevlr\adl@rows\@nil;%
@@ -552,9 +552,9 @@
\def\adl@imakevlr#1;{\def\@tempa{#1}\ifx\@tempa\@nnil \let\next\relax
\else \adl@iimakevlr#1\let\next\adl@imakevlr \fi \next}
\def\adl@iimakevlr(#1/#2){\let\@elt\adl@iiimakevlr
- \let\adl@connect\adl@@connect
+ \def\adl@connect{\adl@@connect#2}%
\let\adl@endmakevlr\adl@endmakevlrcut
- #1\adl@endmakevlr
+ #1\adl@endmakevlr
\let\@elt\relax \let\adl@connect\relax
\advance\@tempcntb-#2\edef\@tempb{\@tempb(\@tempc/#2);}}
@@ -570,24 +570,31 @@
\fi\fi\fi\fi
\if@tempswa
\ifadl@connected\else
- \@tempcnta\@tempcntb \adl@connectedtrue \fi
+ \@tempcnta\@tempcntb
+ \advance\@tempcnta\adl@lastconn\relax
+ \adl@connectedtrue
+ \fi
\else
\adl@addvl
\adl@dash#2\relax \adl@gap#3\relax
\def\adl@dashcolor{#4}\def\adl@gapcolor{#5}%
- \@tempcnta\@tempcntb \adl@connectedtrue
+ \@tempcnta\@tempcntb
+ \advance\@tempcnta\adl@lastconn\relax
+ \adl@connectedtrue
\fi
\else
\adl@addvl
\def\next{\adl@vmakevlr\@elt{#1}{#2}{#3}{#4}{#5}}%
- \fi\next}
+ \fi
+ \let\adl@lastconn\z@ \next}
\def\adl@ivmakevlr#1{%
\ifnum#1=\adl@currentcolumn \adl@doubleruletrue \fi
\adl@vmakevlr\@elt{#1}}
\def\adl@vmakevlr#1\adl@endmakevlr{\def\@tempc{#1}}
-\def\adl@endmakevlrcut{\adl@addvl \def\@tempc{}}
+\def\adl@endmakevlrcut{\adl@addvl \let\adl@lastconn\z@ \def\@tempc{}}
\def\adl@endmakevlrconn{\def\@tempc{}}
-\def\adl@@connect\adl@endmakevlr{\def\@tempc{\adl@connect}}
+\def\adl@@connect#1\adl@endmakevlr{\def\adl@lastconn{#1}%
+ \def\@tempc{\adl@connect}}
\def\adl@addvlL{\ifadl@connected
\advance\@tempcnta-\@tempcntb
@@ -767,7 +774,8 @@
\let\adl@LT@array\LT@array
\def\LT@array{\adl@arrayinit \adl@LTfirstpagetrue
- \let\adl@discard\relax \let\adl@ihdashline\adl@LTihdashline
+ \let\adl@discard\relax \let\adl@hdashline\adl@LThdashline
+ \let\adl@ihdashline\adl@LTihdashline
\ifadl@inactive \adl@LTinactivate \fi
\adl@LT@array}
\def\adl@LTinactivate{\adl@inactivate
@@ -836,7 +844,7 @@
\gdef\adl@LThdlrow{\multispan{\LT@cols}\unskip
\leaders\hrule\@height\arrayrulewidth\hfill\cr}%
\adl@LThdline}
-\def\adl@hdashline#1{\noalign{\ifnum0=`}\fi
+\def\adl@LThdashline#1{\noalign{\ifnum0=`}\fi
\@ifnextchar[%]
{#1}%
{#1[\dashlinedash/\dashlinegap]}}