aboutsummaryrefslogtreecommitdiff
path: root/tables.orig.tex
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-07-05 22:39:41 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-07-06 18:42:06 -0400
commita397704baca9c18aed7575006703e9880b9e27e0 (patch)
treee9fa1068628978d92058cdb793cb6d44ecd0f747 /tables.orig.tex
parent7fb897a5dce7c3c3af4b432366967132e7c5a06c (diff)
cleanup, extension, and table improvements
Diffstat (limited to 'tables.orig.tex')
-rw-r--r--tables.orig.tex30
1 files changed, 27 insertions, 3 deletions
diff --git a/tables.orig.tex b/tables.orig.tex
index 3e2de5f..e3b643e 100644
--- a/tables.orig.tex
+++ b/tables.orig.tex
@@ -1,6 +1,30 @@
+\setbox0=\vbox{\strut\hrule}\dimen0=.5\ht0
+\edef\rowht{\the\dimen0}
+\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{%
- %%DEATHTABLE%%{Number of Deaths and Pits Successfully Formed in Each Trial/Subtrial}
+\setbox0=\vbox{\offinterlineskip
+\halign{\vrule\cell{##}&&\cell{##}\cr\noalign{\hrule}
+Trial Size& Date& Introduced& Deaths& Pits formed\cr\noalign{\hrule}
+%%DEATHTABLE%%
+}}%
+\dimen0\wd0
+\vbox{\box0{\hsize\dimen0\caption{Number of Deaths and Pits Successfully
+Formed in Each Trial/Subtrial}}}%
}
\def\territory{%
- %%MAINTABLE%%{The Pit Depths, Widths, and ``Territory,'' Observed in Each Trial}
-}
+\setbox0=\vbox{\offinterlineskip
+\halign to
+\hsize{\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
+%%MAINTABLE%%
+}}%
+\dimen0\wd0
+\vbox{\box0{\hsize\dimen0\caption{The Pit Depths, Widths, and
+``Territory,'' Observed in Each Trial}}%
+}}