\parskip=12pt plus 6pt minus 3pt
\parindent=0pt
\tolerance=10000\rightskip=0pt plus 1fil
\font\dunbig=amdunh10 scaled \magstep2

\def\beginps#1(#2:#3){\hrule\vskip 2pt\centerline{\bf 
#1}\vskip 2pt\hrule\vskip 2pt
\line{\hfil\hbox{\vbox{\halign{\hfil ##&\quad ##\hfil\cr
Author:&Ken Duda\cr
#2:&#3\cr}}}}
\bigskip}

\def\problem#1{\vskip 24pt plus 24pt\vbox{\hrule\vskip 2pt
\hbox{\bf Problem #1}\vskip 2pt\hrule}}

\def\subprob#1{\vskip 2pt plus 3pt\noindent{\bf #1 --- }}

\def\indentonce#1{\hangindent=#1\hangafter=0\noindent}

{\catcode`\ =13\global\def {\noindent\hbox{\ }}%
\catcode`\^^M=13\global\def^^M{\par\noindent\strut}}
{\catcode`\]=13\catcode`\>=13\catcode`\)=13\gdef\frobsyntax{%
\def\[{\begingroup\catcode`\]=13%
\let]=\endgroup \rm}%
\def\<{\begingroup\catcode`\>=13%
\let>=\endgroup \bf}%
\def\({\begingroup\catcode`\)=13%
\def){\/\endgroup}\it}}}

\def\beginverbatim{\begingroup\tt\frobsyntax%
\parskip=0pt\catcode`\ =13%
\catcode`\{=12\catcode`\}=12\catcode`\%=12\catcode`\$=12%
\catcode`\_=12\catcode`\#=12\catcode`\&=12\catcode`\^=12%
\catcode`\^^M=13}

\let\endverbatim\endgroup

%%% Stuff for outline-mode

\newcount\outa
\newcount\outb
\newcount\outc
\newcount\outd
\newcount\oute


\def\beginoutline{\begingroup\outa=0\parskip=0pt}
\def\endoutline{\medskip\endgroup}
\def\oa{\advance\outa by 1\outb=64
	\leftskip=30pt
	\vskip 10pt plus 2pt minus 1pt
	\def\foobar{\romannumeral\outa}
	\noindent\llap{\uppercase\expandafter{\romannumeral\outa}. }}
\def\ob{\advance\outb by 1\outc=0
	\leftskip=50pt
	\vskip 6pt plus 1pt minus 0.5pt
	\noindent\llap{\expandafter\char\number\outb.\ }}



\def\\{\beginverbatim\let\\\endverbatim}

