aboutsummaryrefslogtreecommitdiff
path: root/tables.i
diff options
context:
space:
mode:
Diffstat (limited to 'tables.i')
-rw-r--r--tables.i10
1 files changed, 6 insertions, 4 deletions
diff --git a/tables.i b/tables.i
index a6f7842..b1cad68 100644
--- a/tables.i
+++ b/tables.i
@@ -3,18 +3,20 @@
\def\cline{\omit\vrule\hfil\vrule&\multispan{3}{\leaders\hrule\hfil}\cr}
\newskip\tableskipamount\tableskipamount=2pt plus 1fill
\def\tableskip{\hskip\tableskipamount}
-\def\cell#1{\tableskip\strut\ignorespaces #1\unskip\tableskip\vrule}
+\def\goodstrut{{\setbox0\hbox{(}\dimen0\ht0\vrule width 0pt height 1.2\dimen0 depth .2\dimen0}}
+\def\cell#1{\tableskip\goodstrut\ignorespaces #1\unskip\tableskip\vrule}
-\def\deaths{%
+\def\vardeaths#1{%
\setbox0=\vbox{\offinterlineskip
\halign{\vrule\cell{##}&&\cell{##}\cr\noalign{\hrule}
Trial Size& Date& Introduced& Deaths& Pits formed\cr\noalign{\hrule}
\input gen/deathtable.i
}}%
\dimen0\wd0
-\vbox{\box0{\hsize\dimen0\caption{Number of Deaths and Pits Successfully
-Formed in Each Trial/Subtrial}}}%
+\vbox{\box0{\hsize\dimen0\caption{#1}}}%
}
+\def\deaths{\vardeaths{Number of Deaths and Pits Successfully Formed in
+Each Trial/Subtrial}}
\def\territory{%
\setbox0=\vbox{\strut\hrule}\dimen0=.5\ht0