From ca7007e4fc9426b12601fc54c28f3cddba05b393 Mon Sep 17 00:00:00 2001
From: Holden Rohrer <hr@hrhr.dev>
Date: Sun, 12 Jan 2020 11:07:26 -0500
Subject: improved format.tex

---
 format.tex | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

(limited to 'format.tex')

diff --git a/format.tex b/format.tex
index 6850129..d775149 100644
--- a/format.tex
+++ b/format.tex
@@ -20,12 +20,13 @@
 \twelverm\baselineskip=24pt
 
 %% Headers
-{\obeylines\parindent=0in
+{\obeylines\parindent=0in\leftskip=0pt plus 1fill\rightskip=0pt plus 1fill\parskip=0pt plus 1fill
+\vskip0pt plus 2fill
+Antlions' Group Distribution and Behavior under Varying Spatial Constraints
 Holden Rohrer and Radeen Dixon
-2020 Jan 15
 Georgia State Science Fair
-Kuhn
-\medskip
+\vskip0pt plus 2fill
+\eject
 }
 \headline={\baselineskip=0.5in \twelverm \hfil \vbox{\hbox{\ifnum\pageno=1\else Dixon \& Rohrer \the\pageno \fi}}}
 \nopagenumbers
@@ -33,7 +34,7 @@ Kuhn
 %% Sectioning
 \def\titlesub#1#2{\centerline{\fourteenbf #1}\centerline{#2}\bigskip}
 \def\section#1\par{\thesection{#1:}}
-\def\thesection#1{\vskip .3\hsize\goodbreak\vskip -.3\hsize\bigskip\noindent{\fourteenrm#1bigskip}}
+\def\thesection#1{\vskip .3\hsize\goodbreak\vskip -.3\hsize\bigskip\noindent{\fourteenrm#1}}
 
 %% Modular Sections
 \def\include#1:#2\par{\section #1\par\par\input #2\relax}
@@ -44,5 +45,7 @@ Kuhn
 
 %% Pictures
 \newcount\pics \pics=0
-\def\picture#1#2{{\advance\pics by 1\vbox{\centerline{\pdfximage width 6in{#1}\pdfrefximage\pdflastximage}\centerline{\def\a{#2}\ifx\a\empty\else\vbox{\medskip\leftskip=0pt plus 1fill\rightskip=0pt plus 1fill\parindent=0pt\relax Fig \number\pics: #2}\fi}}}}
-\def\twopicture#1#2#3{{\advance\pics by 1\line{\vbox{\centerline{\pdfximage width 3.5in{#1}\pdfrefximage\pdflastximage\hfil\pdfximage width 3.5in{#2}\pdfrefximage\pdflastximage}\centerline{\def\a{#3}\ifx\a\empty\else\vbox{\medskip\leftskip=0pt plus 1fill\rightskip=0pt plus 1fill\parindent=0pt\relax Fig \number\pics: #3}\fi}}}}}
+\def\pic#1#2{\pdfximage width #1{#2}\pdfrefximage\pdflastximage}
+\def\caption#1{\def\a{#1}\ifx\a\empty\else\line{\vbox{\smallskip\leftskip=0pt plus 1fill\rightskip=0pt plus 1fill\parindent=0pt\relax Fig \number\pics: #1\bigskip}}\fi}
+\def\picture#1#2{\def\a{#2}\ifx\a\empty\else\advance\pics by 1\fi\vbox{\centerline{\pic{6in}{#1}}\caption{#2}}}
+\def\twopicture#1#2#3{\def\a{#3}\ifx\a\empty\else\advance\pics by 1\fi\vbox{\line{\pic{3in}{#1}\hfil\pic{3in}{#1}}\caption{#3}}}
-- 
cgit 

