\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{8970Quiz}[2017/08/17 8970 Quiz Package] \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \usepackage[utf8]{inputenc} \usepackage[dvipsnames]{xcolor} \usepackage{cancel} \usepackage[all]{xy} % For commutative diagrams % Use block paragraphs \parindent=0pt \parskip=7pt % Extend width of text \setlength{\textwidth}{405pt} \setlength{\oddsidemargin}{32pt} \setlength{\evensidemargin}{32pt} % Heading \newcommand{\quizheading}[2] % #1=quiz number, #2=student name { {\large\textbf{MATH 8970}}\hfill{\large#2} \par{\large Quiz #1}\hfill\today\par\bigskip } % Solution color \definecolor{soln-color}{rgb}{0.2,0.3,0.1} % Environment definitions \newenvironment{exercise}[1]{\textbf{#1}\quad}{\par\medskip} \newenvironment{hint}{\par\smallskip Hint:\quad}{} \newenvironment{solution} {\color{soln-color}} {\par\bigskip\bigskip} \renewenvironment{proof}{\emph{Proof}:\quad}{\hfill\qed} \newenvironment{disproof}{\emph{Disproof}:\quad}{\hfill\qed} \newenvironment{enum} {\begin{enumerate}\renewcommand{\theenumi}{{\rm(\roman{enumi})}} \renewcommand{\labelenumi}{\theenumi}} {\end{enumerate}} \newenvironment{alphenum} {\begin{enumerate}\renewcommand{\theenumi}{{\rm(\alph{enumi})}} \renewcommand{\labelenumi}{\theenumi}} {\end{enumerate}} % Command definitions \newcommand{\N}{\mathbf N} \newcommand{\Z}{\mathbf Z} \newcommand{\Q}{\mathbf Q} \newcommand{\R}{\mathbf R} \newcommand{\Set}{\mathbf{Set}} \newcommand{\Mon}{\mathbf{Mon}} \newcommand{\Grp}{\mathbf{Grp}} \newcommand{\Ab}{\textbf {Ab}} \newcommand{\Rng}{\mathbf{Rng}} \newcommand{\Ring}{\mathbf{Ring}} \newcommand{\CRing}{\mathbf{CRing}} \newcommand{\IntDom}{\mathbf{IntDom}} \newcommand{\Fld}{\mathbf{Fld}} \newcommand{\Vect}{\mathbf{Vect}} \newcommand{\FVect}{\mathbf{FVect}} \newcommand{\Mod}[1]{{}_{#1}\textbf{Mod}} \newcommand{\RMod}[1]{\textbf{Mod}_{#1}} \newcommand{\Top}{\mathbf{Top}} \newcommand{\MTop}{\mathbf{MTop}} \newcommand{\PTop}{\mathbf{PTop}} \newcommand{\Met}{\mathbf{Met}} \newcommand{\Ord}{\mathbf{Ord}} \newcommand{\Man}{\mathbf{Man}} \newcommand{\MatCat}{\mathbf{Mat}} \newcommand{\Rep}{\mathbf{Rep}} \newcommand{\Cat}{\mathbf{Cat}} \newcommand{\CAT}{\mathbf{CAT}} \newcommand{\Div}{\mathbf{Div}} \newcommand{\Haus}{\mathbf{Haus}} \newcommand{\CompHaus}{\mathbf{CompHaus}} \newcommand{\pr}{{\operatorname{pr}}} \newcommand{\copr}{{\operatorname{copr}}} \newcommand{\eq}{{\operatorname{eq}}} \newcommand{\coeq}{{\operatorname{coeq}}} \newcommand{\pb}{{\operatorname{pb}}} \newcommand{\po}{{\operatorname{po}}} \newcommand{\univ}{{\operatorname{univ}}} \newcommand{\ue}{{\operatorname{ue}}} \newcommand{\colim}{{\operatorname{colim}}} \newcommand{\Mat}{\operatorname{Mat}} \newcommand{\GL}{\operatorname{GL}} \newcommand{\sgn}{\operatorname{sgn}} \newcommand{\Hom}{\operatorname{Hom}} \newcommand{\Mor}{\operatorname{Mor}} \newcommand{\Nat}{\operatorname{Nat}} \newcommand{\op}{{\operatorname{op}}} \newcommand{\im}{\operatorname{im}} \newcommand{\coker}{\operatorname{coker}} \newcommand{\coim}{\operatorname{coim}} \renewcommand{\lim}{{\operatorname{lim}}} \newcommand{\blank}{{}_{-}}