diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-02-05 13:20:21 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-02-05 13:20:21 -0500 |
commit | b7091a621da911b9de627967de06402ca845fca5 (patch) | |
tree | 0f0c594563c0de1decdc505f68433d233706f384 /poster | |
parent | 620946e00d825ac2ed8bb39516c71ced95028dcd (diff) |
fixed tabular layouts
Diffstat (limited to 'poster')
-rw-r--r-- | poster/format.tex | 1 | ||||
-rw-r--r-- | poster/results.tex | 25 |
2 files changed, 15 insertions, 11 deletions
diff --git a/poster/format.tex b/poster/format.tex index c43ac56..3effd3a 100644 --- a/poster/format.tex +++ b/poster/format.tex @@ -65,6 +65,7 @@ \def\pic#1#2{\pdfximage width #1{#2}\pdfrefximage\pdflastximage} \def\caption#1{\def\a{#1}\ifx\a\empty\else\global\advance\pics by 1\line{\vbox{\baselineskip=18pt\smallskip\leftskip=0pt plus 1fill\rightskip=0pt plus 1fill\parindent=0pt\relax Fig \number\pics: #1\bigskip}}\fi} \def\picture#1#2#3{\vbox{\pic{#3}{#1}\hsize=#3\caption{#2}}} +\def\picturetop#1#2#3{\vtop{\pic{#3}{#1}\hsize=#3\caption{#2}}} %% the godly `pre` diff --git a/poster/results.tex b/poster/results.tex index 6a2bd09..4302075 100644 --- a/poster/results.tex +++ b/poster/results.tex @@ -1,15 +1,18 @@ \newfont tablefont=cmr10@10pt -\def\table#1#2#3{% - \tablefont - \vbox{\setbox0=\vbox{\hsize=#2\halign{&\vrule\vbox to \baselineskip{\vfil\noindent ##\vfil}\vrule\cr\noalign{\hrule} +\def\tabletop#1#2{ + \vtop{\setbox0=\vtop{\halign{&\vrule\strut\hskip3pt\hfil {\tablefont ##}\hfil\hskip3pt\vrule\cr\noalign{\hrule} #1 - }}\hsize=\wd0\box0\caption{#3}} + }}\hsize=\wd0\box0\caption{#2}} } - -\line{\picture{../graph/depth_width.png}{Antlions' pits' depths and widths correlate strongly with square root of trial area, meaning that antlions are aware of how to optimally obtain ants for the group. Bigger dots mean more pits of that size in that trial area}{6in}\hfil - \picture{../photos/pcr.jpg}{DNA Ladder and PCR tests were used to detect Cytochrome-B gene appearance in a primed DNA mixture from crushed antlions.}{3in} +\def\table#1#2{ + \vbox{\setbox0=\vbox{\halign{&\vrule\strut\hskip3pt\hfil {\tablefont ##}\hfil\hskip3pt\vrule\cr\noalign{\hrule} + #1 + }}\hsize=\wd0\box0\caption{#2}} +} +\line{\picturetop{../graph/depth_width.png}{Antlions' pits' depths and widths correlate strongly with square root of trial area, meaning that antlions are aware of how to optimally obtain ants for the group. Bigger dots mean more pits of that size in that trial area}{6in}\hfil + \picturetop{../photos/pcr.jpg}{DNA Ladder and PCR tests were used to detect Cytochrome-B gene appearance in a primed DNA mixture from crushed antlions.}{4in} } -\hbox{ +\kern-1.3in\hbox{ \picture{../graph/nearest_neighbor.png}{The geometric average of trial edge length correlates closely with nearest neighbor distance, demonstrating consistent spacing by antlions.}{6in} \table{ Trial Size& Introduced& Deaths& Pits formed\cr\noalign{\hrule\penalty-5\hrule} @@ -19,11 +22,11 @@ 17x16& 10& 0& 3\cr\noalign{\hrule\penalty-5\hrule} 8x7& 12& 4& 3\cr\noalign{\hrule\penalty-5\hrule} 8x7& 5& 0& 4\cr\noalign{\hrule\penalty-5\hrule} - }{1.1in}{Number of Deaths and Pits Successfully Formed in Each Trial/Subtrial} + }{Number of Deaths and Pits Successfully Formed in Each Trial/Subtrial} } %%the remainder of this file is ripped from ../documents/tables.tex with minor edits -\table{ +\line{\hfil\table{ Dimensions (in)& Pit Depth (cm)& Pit Width (cm)& Nearest Neighbor (cm)\cr\noalign{\hrule\penalty-5\hrule} 33x32& 1.3& 4.2& 6.00\cr\noalign{\hrule\penalty-5\hrule} 33x32& 1.4& 3.7& 12.04\cr\noalign{\hrule\penalty-5\hrule} @@ -58,4 +61,4 @@ Dimensions (in)& Pit Depth (cm)& Pit Width (cm)& Nearest Neighbor (cm)\cr\noalig 8x7& 0.8& 0.8& 6.40\cr\noalign{\hrule\penalty-5\hrule} 8x7& 0.8& 0.8& 2.24\cr\noalign{\hrule\penalty-5\hrule} 8x7& 0.8& 0.8& 4.47\cr\noalign{\hrule\penalty-5\hrule} -}{2in}{The Pit Depths, Widths, and ``Territory,'' Observed in Each Trial} +}{The Pit Depths, Widths, and ``Territory,'' Observed in Each Trial}\hfil} |