summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/cals/test/regression/test_075_vstraddled_retain_rowsep.tex
blob: bf880eec22dfc703e74ac9248f62afd84d28601e (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
% http://tex.stackexchange.com/questions/159814/miss-the-bottom-line-of-the-frame-header-of-the-cals-table-on-the-first-page

% The first row should be inside a border, because the rules are
% switched off after the row is made. However, the straddled rows
% "forget" about the first row decoration. Fix it.

% Mock
\renewcommand\cals@rs@joinTwo[3]{\show#2\show#3}

\begin{calstable}
\colwidths{{100pt}{100pt}}
\def\cals@borderT{0.4pt}
\def\cals@borderB{0.4pt}
\def\cals@borderL{0.4pt}
\def\cals@borderR{0.4pt}

\brow
\cell{head1}
\cell{head2}
\erow

\def\cals@borderT{0pt}
\def\cals@borderB{0pt}
\def\cals@borderL{0pt}
\def\cals@borderR{0pt}

\brow
\nullcell{ltr}
\cell{text 2}
\erow

\brow
\nullcell{blr}
\spancontent{2}
\cell{text 2}
\erow

\end{calstable}