Debian Codegraph @

texmf-dist/doc/latex/cals/test/table/test_50_row.tex

raw
1 %
2 % A smoke test for \row
3 %
4 \def\mkcell#1{\edef\cals@borderB{#1}\edef\cals@borderR{#1}%
5 \cell{\nointerlineskip\noindent\vrule height#1 depth0pt width#1}}
6 \def\mkcellI{\mkcell{10pt}}
7 \def\mkcellII{\mkcell{20pt}}
8 \def\mkcellIII{\mkcell{30pt}}
9 \def\mkcellIV{\mkcell{40pt}}
10
11 \let\cals@last@context=n
12 \let\cals@current@context=b
13
14 \def\cals@cs@width{0pt}
15 \def\cals@framecs@width{0pt}
16 \def\cals@rs@width{10pt}
17 \def\cals@framers@width{0pt}
18 \def\cals@bodyrs@width{0pt}
19 \def\cals@bgcolor{}
20 \def\cals@bgcolor{}
21 \let\cals@borderL=\relax
22 \let\cals@borderR=\relax
23 \let\cals@borderT=\relax
24 \let\cals@borderB=\relax
25
26 \def\cals@ifbreak#1{\iffalse}
27 \let\oldend=\cals@celll@end
28 \def\cals@celll@end{%
29 \setbox0=\vbox{\hrule height\ht0 depth0pt width\wd0 \vfil}%
30 \oldend}
31
32 \colwidths{{100pt}{200pt}}
33
34 \setbox0=\vbox{%
35 \brow \mkcellI\mkcellII \erow
36 \show\cals@last@context
37 \show\cals@last@rs@below
38 \showthe\cals@last@row@height
39 \brow \mkcellIII\mkcellIV \erow
40 \show\cals@last@context
41 \show\cals@last@rs@below
42 \showthe\cals@last@row@height
43 }
44 \showbox0