blob: dc42a039e323a71d35d443c3f6677a465f528dae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
% Author: Alexey Shipunov, dactylorhiza@gmail.com
\ProvidesPackage{boldline}%
[2008/02/04 v0.2 Adjust line width in tables]
\RequirePackage{array}
% Vertical lines
\newcolumntype{V}[1]{!{\vrule\@width #1\arrayrulewidth}}
% Horizontal lines
% Addition to \hline
\def\hlineB#1{%
\noalign{\ifnum0=`}\fi\hrule \@height #1\arrayrulewidth
\futurelet \reserved@a\@xhlineB{#1}}
\def\@xhlineB#1{\ifx\reserved@a\hlineB
\vskip\doublerulesep
\vskip-#1\arrayrulewidth
\fi
\ifnum0=`{\fi}}
% Addition to \cline
\def\clineB#1#2{\@clineB#1[#2]\@nil}
\def\@clineB#1-#2[#3]\@nil{%
\omit
\@multicnt#1%
\global\def\Mag@B{#3}%
\advance\@multispan\m@ne
\ifnum\@multicnt=\@ne\@firstofone{&\omit}\fi
\@multicnt#2%
\advance\@multicnt-#1%
\advance\@multispan\@ne
\leaders\hrule\@height \Mag@B\arrayrulewidth\hfill
\cr
\noalign{\vskip-\Mag@B\arrayrulewidth}}
% For "longtable", input AFTER longtable!
\@ifundefined{longtable}{}{%
\def\LT@hlineB{%
\noalign{\ifnum0=`}\fi
\penalty\@M
\futurelet\@let@token\LT@@hlineB}
\def\LT@@hlineB#1{%
\ifx\@let@token\hlineB
\global\let\@gtempa\@gobble
\gdef\LT@sep{\penalty-\@medpenalty\vskip\doublerulesep}%
\else
\global\let\@gtempa\@empty
\gdef\LT@sep{\penalty-\@lowpenalty\vskip-#1\arrayrulewidth}%
\fi
\ifnum0=`{\fi}%
\multispan\LT@cols
\unskip\leaders\hrule\@height #1\arrayrulewidth\hfill\cr
\noalign{\LT@sep}%
\multispan\LT@cols
\unskip\leaders\hrule\@height #1\arrayrulewidth\hfill\cr
\noalign{\penalty\@M}%
\@gtempa}
\let\longtable@TMP\longtable
\def\longtable{%
\let\hlineB\LT@hlineB
\longtable@TMP}
}
% For "mdwtab", input AFTER mdwtab!
\@ifundefined{hlx}{}{%
\def\hlxB#1{%
\multispan{\tab@columns}%
\leaders\hrule\@height #1\arrayrulewidth\hfil%
\tab@addruleheight\arrayrulewidth%
\cr%
\noalign{\ifnum0=`}\fi%
\tab@penalty%
\futurelet\@let@token\hline@i}
}
\endinput
|