| 1 |
% |
| 2 |
% Some redefs |
| 3 |
% |
| 4 |
\def\cals@issue@rowsep{\vbox{\hrule width400pt height4pt depth0pt}} |
| 5 |
\def\cals@issue@row{\nointerlineskip \box\cals@current@row} |
| 6 |
|
| 7 |
\def\cals@current@rs@above{rsabove} |
| 8 |
\def\cals@current@rs@below{rsbelow} |
| 9 |
\renewcommand\lastrule{} |
| 10 |
|
| 11 |
\def\somerow#1#2{% |
| 12 |
\setbox\cals@current@row=\vbox{\hrule width#1 height#1 depth0pt}% |
| 13 |
\let\cals@current@context=#2% |
| 14 |
\cals@row@dispatch |
| 15 |
} |
| 16 |
|
| 17 |
\def\bodyrowI{\somerow{10pt}b} |
| 18 |
\def\bodyrowII{\somerow{20pt}b} |
| 19 |
\def\headrowI{\somerow{110pt}h} |
| 20 |
\def\headrowII{\somerow{120pt}h} |
| 21 |
\def\footrowI{\somerow{210pt}f} |
| 22 |
\def\footrowII{\somerow{220pt}f} |
| 23 |
|
| 24 |
% |
| 25 |
% Normal table |
| 26 |
% |
| 27 |
\setbox0=\vbox{% |
| 28 |
\headrowI |
| 29 |
\headrowII |
| 30 |
\headrowI |
| 31 |
\bodyrowI |
| 32 |
\bodyrowII |
| 33 |
\bodyrowI |
| 34 |
\footrowI |
| 35 |
\footrowII |
| 36 |
\footrowI |
| 37 |
} |
| 38 |
\showbox0 |
| 39 |
|
| 40 |
% |
| 41 |
% Make a break |
| 42 |
% |
| 43 |
\setbox0=\vbox{% |
| 44 |
\def\cals@thead@tokens{\headrowI\headrowII} |
| 45 |
\def\cals@tfoot@tokens{\footrowI} |
| 46 |
\bodyrowI |
| 47 |
\tbreak{\break} |
| 48 |
\bodyrowII |
| 49 |
} |
| 50 |
\showbox0 |
| 51 |
|
| 52 |
% |
| 53 |
% Span |
| 54 |
% |
| 55 |
\setbox0=\vbox{% |
| 56 |
\bodyrowI |
| 57 |
\let\cals@ifInRspan=\cals@iftrue |
| 58 |
\let\cals@ifLastRspanRow=\cals@iffalse |
| 59 |
\bodyrowII |
| 60 |
\let\cals@ifLastRspanRow=\cals@iftrue |
| 61 |
\bodyrowI |
| 62 |
\let\cals@ifInRspan=\cals@iffalse |
| 63 |
\bodyrowII |
| 64 |
} |
| 65 |
\showbox0 |