\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{5320Quiz}[2017/01/09 5320 Quiz Package] \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \usepackage[utf8]{inputenc} \usepackage[dvipsnames]{xcolor} \usepackage{cancel} % 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 5320/6320}}\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\C{\mathbf C} \newcommand\Hamilton{\mathbf H} %\H already means something \newcommand\GL{\operatorname{GL}} \newcommand\SL{\operatorname{SL}} \newcommand\PSL{\operatorname{PSL}} \newcommand\Mat{\operatorname{Mat}} \newcommand\End{\operatorname{End}} \newcommand\Sym{\operatorname{Sym}} \newcommand\im{\operatorname{im}} \newcommand\obj{\operatorname{obj}} \newcommand\mor{\operatorname{mor}} \newcommand\diag{\operatorname{diag}} \newcommand\ch{\operatorname{char}} %\char already means something \newcommand\rank{\operatorname{rank}} \newcommand\nullity{\operatorname{nullity}} \newcommand\Aut{\operatorname{Aut}}