Friday, August 30, 2013

LaTex Template for homework write-ups

\documentclass[12pt]{article}
\usepackage{geometry}              
\geometry{letterpaper}                  
\usepackage{amssymb}


% Dear Student,  these commands below define commands that
% you can use later.  Don't type anything until after "Begin document".
% Any math symbol or expression you type should come between
% two dollar signs.  For example, you might say  something like
% "For every $x \in \integers$, there is some . . . ."

\newcommand\exercise[1]{\noindent {\bf Exercise #1:} }
\newcommand\collaborators[1]{\medskip\noindent {\bf Collaborators:} {\em #1}}

\newcommand\proof{\medskip\noindent{\it Proof.  }}
\newcommand\qed{\hfill{$\blacksquare$}}

\newcommand\Z{\ensuremath{\mathbb{Z}}} %  Integers
\newcommand\N{\ensuremath{\mathbb{N}}} %  Natural Numbers
\newcommand\Q{\ensuremath{\mathbb{Q}}} %  Rationals
\newcommand\R{\ensuremath{\mathbb{R}}} %  Real Numbers


\begin{document}

\noindent {YourNameHere} \hfill Mat 330 \hfill {Homework N}
% Change your name and the homework number in the line above
\vspace{5mm}



\exercise {0.0}% {enter the correct number for chapter.exercise}
Replace this line with the complete statement of the exercise.



\collaborators{Type the names of your collaborators here.}\newline\medskip
% Include the name of every person with whom you
% discussed this exercise outside of class, whether
% you gave or received help.

\proof % Keep this and the \qed if your solution is a proof.
% Otherwise, delete it, but still type your solution where the line below is.
Your solution goes here.
\qed



%If you have questions or comments for your professor, feel free to
% include them here; otherwise you can just erase the next line:

\vspace{5mm}\noindent{\bf Questions for Dr.~Crannell:}\newline
Type your question here.

\end{document}

No comments:

Post a Comment