diff options
author | Holden Rohrer <hdawg7797@yahoo.com> | 2019-06-20 22:53:38 -0400 |
---|---|---|
committer | Holden Rohrer <hdawg7797@yahoo.com> | 2019-06-20 22:53:38 -0400 |
commit | 75421bde5d5c5f3cd52fbb52c0624c8954970b56 (patch) | |
tree | b02b41c2dd758dbaf7c00de81996a0faa758c6bf /bige/test.tex | |
parent | bdbc8e35cc7a7b21d0093cc100c5cedbafbeb05a (diff) |
i've done a lot of work
Diffstat (limited to 'bige/test.tex')
-rw-r--r-- | bige/test.tex | 24 |
1 files changed, 16 insertions, 8 deletions
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 |