aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--notes.tex45
1 files changed, 45 insertions, 0 deletions
diff --git a/notes.tex b/notes.tex
new file mode 100644
index 0000000..df5e228
--- /dev/null
+++ b/notes.tex
@@ -0,0 +1,45 @@
+\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=cmb8 \eightrm \baselineskip=8pt\relax%text fonts (8pt)
+\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
+\voffset=-.9in \vsize=10.6in \def\realpage{\vsize=10.8in}
+\def\fullline{\hbox to \fullhsize}
+\emergencystretch=.15in
+%
+\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{\tracingall \realpage \bigstruct{\struct\columnone \hfil \struct\columntwo \hfil \struct\columnthree}}
+\makefootline} \advancepageno}