Debian Codegraph @

texmf-dist/doc/latex/cals/test/decoration/test_60_row.tex

raw
1 \def\contentI{\noindent\vrule height10pt depth0pt width30pt\hfil}
2 \def\contentII{\noindent\vrule height20pt depth2pt width60pt\hfil}
3
4 \def\cals@cs@width{2pt}
5 \def\cals@framecs@width{0pt}
6 \def\cals@bgcolor{}
7
8 \def\wC{100pt}
9 \def\wCC{200pt}
10
11 %
12 % Empty row
13 %
14 \cals@decor@begin
15 \cals@decor@end
16 \showbox\cals@current@cs
17 \show\cals@current@rs@above
18 \show\cals@current@rs@below
19
20 %
21 % One cell, no overrides
22 %
23 \cals@decor@begin
24 \let\cals@borderL=\relax
25 \let\cals@borderR=\relax
26 \let\cals@borderT=\relax
27 \let\cals@borderB=\relax
28 \def\cals@bgcolor{}
29 \cals@decor@next\wC{\contentI}
30 \cals@decor@end
31 \showbox\cals@current@cs
32 \show\cals@current@rs@above
33 \show\cals@current@rs@below
34
35 %
36 % Two cells, no overrides
37 %
38 \cals@decor@begin
39 \cals@decor@next\wC{\contentI}
40 \cals@decor@next\wCC{\contentII}
41 \cals@decor@end
42 \showbox\cals@current@cs
43 \show\cals@current@rs@above
44 \show\cals@current@rs@below
45
46 %
47 % Two cells, overrides
48 %
49 \cals@decor@begin
50 \def\cals@borderL{4pt}
51 \def\cals@borderR{6pt}
52 \let\cals@borderT=\relax
53 \let\cals@borderB=\relax
54 \def\cals@bgcolor{green}
55 \cals@decor@next\wC{\contentI}
56 \let\cals@borderL=\relax
57 \let\cals@borderR=\relax
58 \def\cals@borderT{8pt}
59 \def\cals@borderB{10pt}
60 \def\cals@bgcolor{}
61 \cals@decor@next\wCC{\contentII}
62 \cals@decor@end
63 \showbox\cals@current@cs
64 \show\cals@current@rs@above
65 \show\cals@current@rs@below