From 75421bde5d5c5f3cd52fbb52c0624c8954970b56 Mon Sep 17 00:00:00 2001
From: Holden Rohrer <hdawg7797@yahoo.com>
Date: Thu, 20 Jun 2019 22:53:38 -0400
Subject: i've done a lot of work

---
 bige/test.tex | 24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)

(limited to 'bige/test.tex')

diff --git a/bige/test.tex b/bige/test.tex
index ebae558..7b7efe7 100644
--- a/bige/test.tex
+++ b/bige/test.tex
@@ -1,10 +1,18 @@
-\def\maketable#1{
-  \halign{## & ## \cr
-      \gdef\endlinex{\cr \noalign{\hrule}} 
-    line1 & column2 \endlinex
-    continuing & test \endlinex
-    #1
-  }
+\count1=4 \countdef\columns=1
+\def\subpre{
+  & ##
+  \advance\columns by -1 \ifnum\columns>0 \span\subpre \fi
+}
+\def\preamb{
+  ##
+  \advance \columns by -1
+  \the\columns
+  \ifnum\columns>0 \span\subpre \fi
+  \cr
+}
+\halign{\span\preamb
+  first line \cr
+  second line \cr
+  third line \cr
 }
-\maketable{this line & inserted column\endlinex}
 \bye
-- 
cgit 

