aboutsummaryrefslogtreecommitdiff
path: root/notes.tex
blob: c5c87b61fbfab5ebe4638479a69d11662058e006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
\newbox\columnone \newbox\columntwo \newbox\columnthree
\catcode`\@11
\def\sepcol{\def\struct##1{\vbox{\hrule\hbox to \marghsize{\vrule\hfil\vbox to \vsize{\vfil\vskip-\baselineskip\expandafter\box##1\vfil}\hfil\vrule}\hrule}}\def\bigstruct##1{##1}}
\def\nosepcol{\def\struct##1{\vrule\hfil \vbox to \vsize{\vskip -\baselineskip \vfil \expandafter\box##1\vfil}}\def\bigstruct##1{\vbox{\hrule\fullline{##1 \vrule}\hrule}}}
\font\eightrm=cmr8 \font\eightit=cmti8 \font\eightbf=cmbx8 \eightrm \baselineskip=8pt\relax%text fonts (8pt)
\def\bf{\eightbf} \def\it{\eightit} \def\rm{\eightrm}
\font\eightrmop=cmmi8 \font\sevenrmop=cmmi7 \font\fivermop=cmmi5
\font\eightsy=cmsy8 \font\sevensy=cmsy7 \font\fivesy=cmsy5
\textfont1=\eightrmop \scriptfont1=\sevenrmop \scriptscriptfont1=\fivermop
\textfont2=\eightsy \scriptfont2=\sevensy \scriptscriptfont2=\fivesy %math fonts
\nosepcol
%
\nopagenumbers
\hoffset=-.9in \hsize=2.4in
\newdimen\marghsize \marghsize=2.6in %margin hsize
\newdimen\fullhsize \fullhsize=8.3in
\newdimen\fullvsize \fullvsize=10.8in
\voffset=-.9in \vsize=10.6in
\emergencystretch=.15in
\def\fullline{\hbox to \fullhsize}
%
\def\makeheadline{%
  \vbox to 0pt{\vskip-22.5pt
  \fullline{\vbox to 8.5pt{}\the\headline}\vss}
  \nointerlineskip
}
%
\def\makefootline{%
  \baselineskip=2\normalbaselineskip
  \fullline{\the\footline}
}
%
\let\col=1
\output={%
  \ifx 1\col
    \global\setbox\columnone\leftline{\pagebody}\global\let\col=2
  \else \ifx 2\col
    \global\setbox\columntwo\leftline{\pagebody}\global\let\col=3
  \else \ifx 3\col
    \global\setbox\columnthree\leftline{\pagebody}\global\let\col=1
    \finformat%
  \fi\fi\fi%
  \ifnum\outputpenalty>-20000 \else\dosupereject\fi
}
\def\finformat{\shipout\vbox{\makeheadline
\fullline{\vsize=\fullvsize \bigstruct{\struct\columnone \hfil \struct\columntwo \hfil \struct\columnthree \hfil}}
\makefootline} \advancepageno}