summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/cals/test/regression/test_040_rowheight.tex
blob: 4d028bc491589ab7c955847e78b9e35e13470570 (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
% Initially, re-height of the current row and setting
% \cals@last@row@height was in '\cals@issue@row'.
% After implementing row spanning, this actions were moved
% to \erow. Unfortunately, I forget to move the second action.
\begin{calstable}
\cals@setpadding{}
\cals@setcellprevdepth{}
\colwidths{{100pt}{100pt}{100pt}}

\thead{%
\brow
 \cell{h1}\cell{h2}\cell{h3}
\erow
}

\brow
 \cell{a1}
 \cell{a2}
 \cell{a3}
 \ht\cals@current@row=30pt
\erow
\showthe\cals@last@row@height

\brow
 \cell{b1}
 \nullcell{ltr}
 \nullcell{ltr}
 \ht\cals@current@row=40pt
\erow
\showthe\cals@last@row@height

\brow
 \cell{c1}
 \nullcell{lbr}\spancontent{s2}
 \nullcell{lbr}\spancontent{s3}
 \ht\cals@current@row=50pt
\erow
\showthe\cals@last@row@height

\end{calstable}