aboutsummaryrefslogtreecommitdiff
path: root/tables.i
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2021-01-21 03:33:31 -0500
committerHolden Rohrer <hr@hrhr.dev>2021-01-21 04:00:19 -0500
commit2b146b8391fd5ca9c8c70d7530ad3968721324e9 (patch)
treebba07d17b7396006f9bc717d054e68099521a3fb /tables.i
parent4dc09d93cc9a6df1f0a7d6b228300252192c1fc0 (diff)
have a complete build for secondary docs, but tables and imgs not fully integrated
Diffstat (limited to 'tables.i')
-rw-r--r--tables.i21
1 files changed, 21 insertions, 0 deletions
diff --git a/tables.i b/tables.i
index 511b818..a6f7842 100644
--- a/tables.i
+++ b/tables.i
@@ -4,6 +4,7 @@
\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}
@@ -14,6 +15,7 @@ Trial Size& Date& Introduced& Deaths& Pits formed\cr\noalign{\hrule}
\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}
@@ -27,3 +29,22 @@ Dimensions (in)& Pit Depth (cm)& Pit Width (cm)& Nearest Neighbor
\vbox{\box0\hbox to \dimen0{\hss\vbox{\caption{The Pit Depths, Widths, and
``Territory,'' Observed in Each Trial}}\hss}}%
}
+
+\def\tabrule{\noalign{\hrule}}
+\def\stats#1{%
+\setbox0=\vbox{\offinterlineskip
+\halign{\vrule\cell{##}&&\cell{##}\cr
+\input gen/deathtable2.i
+}}%
+\dimen0\wd0
+\vbox{\box0\hbox to \dimen0{\hss\vbox{\caption{#1}}\hss}}
+}
+
+\def\pvals#1{%
+\setbox0=\vbox{\offinterlineskip
+\halign{\vrule\cell{##}&&\cell{##}\cr
+\input gen/pvals.i
+}}%
+\dimen0\wd0
+\vbox{\box0\hbox to \dimen0{\hss\vbox{\caption{#1}}\hss}}%
+}