aboutsummaryrefslogtreecommitdiff
path: root/tables.i
diff options
context:
space:
mode:
Diffstat (limited to 'tables.i')
-rw-r--r--tables.i29
1 files changed, 29 insertions, 0 deletions
diff --git a/tables.i b/tables.i
new file mode 100644
index 0000000..511b818
--- /dev/null
+++ b/tables.i
@@ -0,0 +1,29 @@
+\def\multirow#1#2{{\count0=#1\advance\count0 by -1%
+ \dimen0=\rowht\multiply\dimen0 by \count0\smash{\lower\dimen0\hbox{\hss#2\hss}}}}
+\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\deaths{%
+\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}}}%
+}
+\def\territory{%
+\setbox0=\vbox{\strut\hrule}\dimen0=.5\ht0
+\edef\rowht{\the\dimen0}
+\setbox0=\vbox{\offinterlineskip
+\halign{\vrule\cell{##}&&\cell{##}\cr\multispan{4}\leaders\hrule\hfil\cr
+Dimensions (in)& Pit Depth (cm)& Pit Width (cm)& Nearest Neighbor
+(cm)\cr\multispan{4}\leaders\hrule\hfil\cr
+\input gen/table.i
+}}%
+\dimen0\wd0
+\vbox{\box0\hbox to \dimen0{\hss\vbox{\caption{The Pit Depths, Widths, and
+``Territory,'' Observed in Each Trial}}\hss}}%
+}