Debian Codegraph @

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

raw
1 \def\cals@framers@width{0pt}
2 \def\cals@bodyrs@width{3pt}
3 \def\cals@rs@width{1pt}
4
5 %
6 % Reusable definitions
7 %
8 \def\frameI{{{100pt}{2pt}{4pt}\relax}{{110pt}{4pt}{6pt}{2pt}}{{120pt}{6pt}{8pt}\relax}}
9 \def\frameII{{{100pt}{2pt}{4pt}\relax}{{110pt}{4pt}{6pt}\relax}{{120pt}{6pt}{8pt}{4pt}}}
10 \def\update{%
11 \toks0=\expandafter{\frameI}%
12 \edef\cals@last@rs@below{\the\toks0}%
13 \toks0=\expandafter{\frameII}%
14 \edef\cals@current@rs@above{\the\toks0}%
15 }
16
17 %
18 % Alone
19 %
20 \update
21 \setbox0=\vbox{\cals@issue@rowsep@alone}
22 \showbox0
23
24 %
25 % Different combinations
26 %
27 \def\combineII#1#2{%
28 \let\cals@last@context=#1%
29 \let\cals@current@context=#2%
30 \update
31 \setbox0=\vbox{\cals@issue@rowsep}}
32 \def\combine#1#2{\combineII#1#2\showbox0 }
33
34 % n h f b vs h f b
35 \combine nh
36 \combine nf
37 \combine nb
38 \combine hh
39 \combine hf
40
41 %
42 % Optimize the rest: do not pollute expected results
43 %
44 \renewcommand\cals@rs@joinTwo[3]{%
45 \show#1}
46 \combineII hb
47 \combineII fh
48 \combineII ff
49 \combineII fb
50 \combineII bh
51 \combineII bf
52 \combineII bb