HW
Author
Chris Devenport
Last Updated
10 years ago
License
Creative Commons CC BY 4.0
Abstract
My HW template
\documentclass[12pt,oneside]{article}
% This package simply sets the margins to be 1 inch.
\usepackage[margin=1in]{geometry}
% These packages include nice commands from AMS-LaTeX
\usepackage{amssymb,amsmath,amsthm}
% Make the space between lines slightly more
% generous than normal single spacing, but compensate
% so that the spacing between rows of matrices still
% looks normal. Note that 1.1=1/.9090909...
\renewcommand{\baselinestretch}{1.1}
\renewcommand{\arraystretch}{.91}
% Define an environment for exercises.
\newenvironment{exercise}[1]{\vspace{.1in}\noindent\textbf{Exercise #1 \hspace{.05em}}}{}
% define shortcut commands for commonly used symbols
\newcommand{\R}{\mathbb{R}}
\newcommand{\C}{\mathbb{C}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\calP}{\mathcal{P}}
\DeclareMathOperator{\vsspan}{span}
% Make the space between lines slightly more
% generous than normal single spacing, but compensate
% so that the spacing between rows of matrices still
% looks normal. Note that 1.1=1/.9090909...
\renewcommand{\baselinestretch}{1.1}
\renewcommand{\arraystretch}{.91}
\title{Math 290 Homework Template}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{flushright}
\sc Christopher Devenport \\
Math 290 Sec 002\\
Date ???
\end{flushright}
\bigskip
\begin{center}
\textsf{Assignment ???} \\
\textsf{Exercises: ?????}
\end{center}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{exercise}{???}
The statement of the exercise goes here.
\end{exercise}
\begin{proof}
The proof goes here.
\end{proof}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{exercise}{???}
The statement of the exercise goes here.
\end{exercise}
\begin{proof}[Solution]
The explanation or solution goes here.
\end{proof}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{exercise}{???}
The statement of the exercise goes here.
\end{exercise}
\begin{proof}
The proof goes here.
\end{proof}
%---------------------------------
% Don't change anything below here
%---------------------------------
\end{document}