summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/cals/test/decoration/test_60_row.tex
blob: 0ee43953837de35ba84e98002124a9d54f1f7a42 (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
\def\contentI{\noindent\vrule height10pt depth0pt width30pt\hfil}
\def\contentII{\noindent\vrule height20pt depth2pt width60pt\hfil}

\def\cals@cs@width{2pt}
\def\cals@framecs@width{0pt}
\def\cals@bgcolor{}

\def\wC{100pt}
\def\wCC{200pt}

%
% Empty row
%
\cals@decor@begin
\cals@decor@end
\showbox\cals@current@cs
\show\cals@current@rs@above
\show\cals@current@rs@below

%
% One cell, no overrides
%
\cals@decor@begin
\let\cals@borderL=\relax
\let\cals@borderR=\relax
\let\cals@borderT=\relax
\let\cals@borderB=\relax
\def\cals@bgcolor{}
\cals@decor@next\wC{\contentI}
\cals@decor@end
\showbox\cals@current@cs
\show\cals@current@rs@above
\show\cals@current@rs@below

%
% Two cells, no overrides
%
\cals@decor@begin
\cals@decor@next\wC{\contentI}
\cals@decor@next\wCC{\contentII}
\cals@decor@end
\showbox\cals@current@cs
\show\cals@current@rs@above
\show\cals@current@rs@below

%
% Two cells, overrides
%
\cals@decor@begin
\def\cals@borderL{4pt}
\def\cals@borderR{6pt}
\let\cals@borderT=\relax
\let\cals@borderB=\relax
\def\cals@bgcolor{green}
\cals@decor@next\wC{\contentI}
\let\cals@borderL=\relax
\let\cals@borderR=\relax
\def\cals@borderT{8pt}
\def\cals@borderB{10pt}
\def\cals@bgcolor{}
\cals@decor@next\wCC{\contentII}
\cals@decor@end
\showbox\cals@current@cs
\show\cals@current@rs@above
\show\cals@current@rs@below