\documentclass[12pt,letterpaper]{article}

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[T1]{fontenc}
\usepackage{boxedminipage}
\usepackage{polynom}
%\usepackage{asymptote}
\usepackage{enumerate}% for lettering equations
\usepackage{graphicx}% for including jpg/pdf figures
%\usepackage{wrapfig}
\usepackage{hyperref}% creates links to outside documents
%\usepackage{showkeys}
\newtheorem{theorem}{Theorem}
\newenvironment{proof}{\textbf{Proof:} }{}

\def\examples{\noindent\textbf{Examples. }}
\def\example{\noindent\textbf{Example. }}
\def\examp#1{\noindent\textbf{Example #1. }}
\def\ans{\noindent\textbf{Solution. }}

\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{observation}[theorem]{Observation}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{claim}[theorem]{Claim}
\newtheorem{fact}[theorem]{Fact}
\newtheorem{assumption}[theorem]{Assumption}
\newcounter{exercise}[subsection]
\newcounter{problem}
\newcounter{solution}
\newcommand{\TODO}{}
\newcommand{\overdot}[1]{\dot{#1}}
\newcommand{\Repart}{\text{Re}}
\newcommand{\Impart}{\text{Im}}
\newcommand{\arrg}{{\text{arg}}}
\newcommand{\Arrg}{{\text{Arg}}}
\newcommand{\cis}{{\text{cis}\,}}
\newcommand{\hbcom}[1]{{\small {\em #1 -- HB}}}
\newcommand{\jmocom}[1]{{\small {\em #1 -- JMO}}}
\newcommand{\hbchange}[1]{}
\newcommand{\jmochange}[1]{}
\newcommand{\doctitle}[1]{\def\doctitle{#1}}
\newcommand{\docname}[1]{\def\docname{#1}}
% These headers put useful information on drafts and will be changed later.
\newcommand{\mylhead}{\lhead{18.03 \quad \docname \quad \doctitle}}
\newcommand{\myrhead}{\rhead{\today}}

\def\myderiv#1#2{\frac{d#1}{d#2}}
\def\mynderiv#1#2#3{\frac{d^{#3}#1}{d#2^{#3}}}

%% Imageds
\def\imgdir{../Images}
\def\figdir{../Images}

%Radio quizzes
\long\def\rbqnull#1{}
\long\def\rbqquestA#1{\noindent \textbf{Quiz:} #1

\medskip
Think about your answer and then look at the choices.
}
\long\def\rbqchoiceA#1{\bigskip \noindent \textbf{Choices:}\\ #1

\medskip
Pick what you think is the correct choice and then look at the answer.
}
\long\def\rbqansA#1{\bigskip \noindent \textbf{Answer:}\\ #1}

\long\def\rbqquestB#1{\noindent \textbf{Quiz:} #1}
\long\def\rbqchoiceB#1{\bigskip \noindent \textbf{Choices:}\\ #1}

\def\rbqquest{\rbqquestA}
\def\rbqchoice{\rbqchoiceA}
\def\rbqans{\rbqansA}

\newenvironment{exercise}{\par\vspace{.5in} \begin{boxedminipage}{.9\textwidth}\textbf{Exercise \arabic{section}.\arabic{subsection}.\arabic{exercise}:}\refstepcounter{exercise}\par}{\end{boxedminipage}\vspace{.5in}}
\renewcommand{\theexercise}{\arabic{section}.\arabic{subsection}.\arabic{exercise}}
\newenvironment{sproblem}{\textbf{Problem: }}{\par\vspace{.5in}}
\newenvironment{problem}{\textbf{Problem \arabic{problem}\addtocounter{problem}{1}: }}{\par\vspace{.5in}}
\newenvironment{solution}{\textbf{Solution to problem \arabic{solution}\addtocounter{solution}{1}: }}{\par}

\usepackage{mathpazo}
\usepackage{fancyhdr}
\pagestyle{fancy}
%\parindent = 0pt % Experimenting with different parindents.  HB 7/6/11
\parskip = 1ex
\date{} %Takes the date out of the title.
\author{} %Avoids an error message.

\renewcommand{\maketitle}{\pagestyle{plain}
\begin{center}{\LARGE \doctitle}\end{center}
}

\begin{document}
