aboutsummaryrefslogtreecommitdiff
path: root/bige/test.tex
blob: 7b7efe793186149f7fd199459626899cf2e17fc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
\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
}
\bye