aboutsummaryrefslogtreecommitdiff
path: root/format.tex
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-01-12 11:42:12 -0500
committerHolden Rohrer <hr@hrhr.dev>2020-01-13 12:45:32 -0500
commit4f9b2c6231c48e1017df455a37c05beee969251d (patch)
tree0aefacdf023e1045cfc572268a0b91186b676caa /format.tex
parentd0f90b787d5c4e7992da778f1917e9e31749fde8 (diff)
added tables to format.tex
Diffstat (limited to 'format.tex')
-rw-r--r--format.tex9
1 files changed, 9 insertions, 0 deletions
diff --git a/format.tex b/format.tex
index 5047f3b..e2b6d20 100644
--- a/format.tex
+++ b/format.tex
@@ -51,3 +51,12 @@ Georgia Science Fair
\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}}}
+
+%% Table
+\def\table#1{
+ \medskip
+ \halign{&\vrule\vbox to \baselineskip{\vfil\parindent=0in\hsize=1in\relax \hbox to \hsize{\hfil ##\hfil}\vfil}\vrule\cr\noalign{\hrule}
+ #1
+ }
+ \medskip
+}