%%%%%%%%% Letter Size Macros %%%%%%%%%

%%%%%%%%% Normal-sized section headings %%%%%%%%%%%

\makeatletter % so @ can be used

\renewcommand{\section}{\@startsection{section}{1}{\z@}%
                                      {-3.5ex \@plus -1ex \@minus -.2ex}%
                                      {2.3ex \@plus.2ex}%
                                      {\reset@font\normalsize\bfseries}}
\renewcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
                                         {-3.25ex\@plus -1ex \@minus -.2ex}%
                                         {1.5ex \@plus .2ex}%
                                         {\reset@font\normalsize\bfseries}}

\makeatother % so @ can no longer be used

% arrange for lines of verbatim environments to be indented

\makeatletter
\def\verbatim@processline{\hspace{\leftmargini}\the\verbatim@line\par}
\makeatother

% arrange for verbatim environments to have \small text

\makeatletter
\def\verbatim@font{\normalfont\ttfamily\small
                   \hyphenchar\font\m@ne
                   \let\do\do@noligs
                   \verbatim@nolig@list}
\makeatother

%%%%%%%%% Standard page layout %%%%%%%%%%%

\tolerance=4000 \hbadness=3000 \hfuzz=1pt \vfuzz=1pt
\renewcommand{\baselinestretch}{1.09} % line spacing
\setlength{\oddsidemargin}{.65cm} % page margins
\setlength{\evensidemargin}{.65cm}
\setlength{\textwidth}{6in}
\setlength{\topmargin}{1cm}
\setlength{\headheight}{0cm}
\setlength{\headsep}{0cm}
\setlength{\textheight}{8in}
\setlength{\footskip}{2cm}

\usepackage{epic}
\usepackage{eepic}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{verbatim}
\usepackage{moreverb}
\usepackage{enumerate}
\usepackage{url}
\usepackage{theorem}
\usepackage{calc}
\usepackage{index}
\usepackage{alltt}
\usepackage{graphicx}

\input{defs.tex}  %% a file of macro definitions
\input{commands}

\newcommand{\points}[1]{\hspace*{\fill} \mbox{[#1 points]}}
