aboutsummaryrefslogtreecommitdiff
path: root/tables.i
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2021-01-21 05:13:47 -0500
committerHolden Rohrer <hr@hrhr.dev>2021-01-21 05:13:53 -0500
commit83edee239670ce58e39e7a064572964335d3879d (patch)
treee4896f9365a7efd33a2c256409c80af76ac33927 /tables.i
parent2b146b8391fd5ca9c8c70d7530ad3968721324e9 (diff)
fixed graphs and tables for report and logbook
Poster is very broken. The Report and Logbook are okay, but have last year's images.
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