This is a template for students enrolled in MAT434 at DePaul University.
\documentclass[12pt]{amsart}
\usepackage{amssymb, amsmath, amsthm}
\usepackage{tikz, graphicx, color, mathrsfs, rotating}
\usepackage{titlesec, lipsum}
\usepackage{fancyhdr, framed, chngcntr}
\usetikzlibrary{arrows,shapes,automata,backgrounds,decorations,petri,positioning,patterns}
\paperwidth = 8.5in
\paperheight = 11in
\textwidth = 6.5 in
\textheight = 9 in
\oddsidemargin = 0 in
\evensidemargin = 0 in
\topmargin = -.25 in
\headheight = 0.0 in
\headsep = .25 in
\headheight=16pt
\footskip = .25in
\newtheorem*{repp@prob}{\repp@title}
\newcommand{\newreppprob}[2]{
\newenvironment{repp#1}[1]{
\def\repp@title{#2 {##1}}
\begin{repp@prob}}
{\end{repp@prob}}}
\makeatother
\newreppprob{prob}{Exercise}
\newtheorem*{repp@thm}{\repp@title}
\newcommand{\newreppthm}[2]{
\newenvironment{repp#1}[1]{
\def\repp@title{#2 {##1}}
\begin{repp@thm}}
{\end{repp@thm}}}
\makeatother
\newreppthm{thm}{Theorem}
% -----------------------------------------------------------------------------
% Macros for the course
% -----------------------------------------------------------------------------
\newcommand{\TS}{\mathcal{T}} % symbol for a topological space
\newcommand{\BS}{\mathcal{B}} % symbol for a basis
\newcommand{\R}{\mathbb{R}} % symbol for real numbers
\newcommand{\Z}{\mathbb{Z}} % symbol for integers
\newcommand{\Q}{\mathbb{Q}} % symbol for rational numbers
\newcommand{\PS}{\mathscr{P}} % symbol for power set
\newcommand{\E}{\mathbf{E}} % symbol for real numbers with Euclidean topology
\newcommand{\F}{\mathbf{F}^1} % symbol for real numbers with finite-complement topology
\renewcommand{\H}{\mathbf{H}^1} % symbol for real numbers with half-open topology
\renewcommand{\S}{\mathcal{S}} % basis topology
\newcommand{\B}{\mathbf{B}} % symbol for ball
\newcommand{\Sp}{\mathbf{S}} % symbol for sphere
\renewcommand{\int}{\operatorname{int}} % symbol for interior
\newcommand{\bnd}{\partial} % symbol for boundary
\newcommand{\homeo}{\approx} % symbol for homeomorphic
\begin{document}
% -----------------------------------------------------------------------------
% Start here
% -----------------------------------------------------------------------------
{\large
\noindent Typed Homework, assigned
date %% replace "date" by the date on which the assignment was made
\hfill
Name %% replace "Name" by your name
\vspace{.1in}
\noindent Topology \hfill \today}
\vspace{.25in}
% -----------------------------------------------------------------------------
% Erase or rearrange the options below, as necessary
% -----------------------------------------------------------------------------
% -----------------------------------------------------------------------------
% Template for typing up an Exercise
% -----------------------------------------------------------------------------
\begin{reppprob}{42} %% replace "42" by the relevant Exercise number
%% restate the Exercise here
\end{reppprob}
\begin{proof}[Solution.]
%% write your solution here
\end{proof}
% -----------------------------------------------------------------------------
% Template for typing up a Theorem
% -----------------------------------------------------------------------------
\begin{reppthm}{42} %% replace "42" by the relevant Theorem number
%% restate the Theorem here
\end{reppthm}
\begin{proof}
%% write your proof here
\end{proof}
% -----------------------------------------------------------------------------
% End here
% -----------------------------------------------------------------------------
\end{document}