Homework Template
Author
Kristen Beck
Last Updated
10 yıl önce
License
Creative Commons CC BY 4.0
Abstract
Template for mathematics *group* homework assignments.
\documentclass{article}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{enumerate,enumitem}
\usepackage{graphicx}
\usepackage{geometry}
\usepackage{mathtools}
\usepackage[cm]{fullpage}
\parindent 0in
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%% ADJUST THESE VALUES %%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\hw}{?} %% ASSIGNMENT NUMBER %%%%%%%%
\newcommand{\group}{??} %% GROUP NUMBER %%%%%%%%%%%%%
\newcommand{\nameA}{Name 1} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\nameB}{Name 2} %% GROUP MEMBERS %%%%%%%%%%%%
\newcommand{\nameC}{Name 3} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\newcommand{\nameD}{Name 4} %% FOURTH GROUP MEMBER? %%%%%
\newcommand{\term}{???} %% SEMESTER %%%%%%%%%%%%%%%%%
\newcommand{\coursenumber}{?!} %% COURSE NUMBER %%%%%%%%%%%%
\newcommand{\coursename}{?!?} %% COURSE NAME %%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{problem}[2][Problem]
{\begin{trivlist}\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries \hw.#2.}]}
{\end{trivlist}}
\begin{document}
\thispagestyle{empty}
\pagestyle{empty}
\textbf{Group \group:}\hfill\textbf{Math \coursenumber ~-- \coursename}\\
\textbf{\nameA}\hfill\textbf{\term}\\
\textbf{\nameB}\hfill\textbf{Homework \hw}\\
\textbf{\nameC}\\
%\textbf{\nameD}\\
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%% BEGIN PROBLEMS %%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{problem}{1}
Statement of first problem.
\end{problem}
\begin{proof}[Solution]
Solution to first problem.
\end{proof}
\medskip
\begin{problem}{2}
Statement of second problem.
\end{problem}
\begin{proof}[Solution]
Solution to second problem.
\end{proof}
\medskip
\begin{problem}{3}
Statement of third problem.
\end{problem}
\begin{proof}[Solution]
Solution to third problem.
\end{proof}
\medskip
\begin{problem}{4}
Statement of fourth problem.
\end{problem}
\begin{proof}[Solution]
Solution to fourth problem.
\end{proof}
\end{document}