![CHR Homework Template](https://writelatex.s3.amazonaws.com/published_ver/21115.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240630T211218Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240630/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=e7d5f1bc1308bc8e0a43f05d7880de40696a4c96a96029194394f3b8804071a3)
CHR Homework Template
Author
Chase Rensberger
Last Updated
3 years ago
License
Creative Commons CC BY 4.0
Abstract
My personal LaTeX homework template.
![CHR Homework Template](https://writelatex.s3.amazonaws.com/published_ver/21115.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240630T211218Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240630/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=e7d5f1bc1308bc8e0a43f05d7880de40696a4c96a96029194394f3b8804071a3)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not alter this block (unless you're familiar with LaTeX
\documentclass{article}
\usepackage[margin=1in]{geometry}
\usepackage{amsmath,amsthm,amssymb,amsfonts, fancyhdr, color, comment, graphicx, environ}
\usepackage{xcolor}
\usepackage{mdframed}
\usepackage[shortlabels]{enumitem}
\usepackage{indentfirst}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=magenta,
urlcolor=blue,
}
\pagestyle{fancy}
\newenvironment{problem}[2][Problem]
{ \begin{mdframed}[backgroundcolor=gray!20] \textbf{#1 #2} \\}
{ \end{mdframed}}
% Define solution environment
\newenvironment{solution}{\textbf{Solution}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Fill in the appropriate information below
\lhead{NAME}
\rhead{CLASS}
\chead{\textbf{HOMEWORK}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\begin{problem}{1}
\end{problem}
\begin{solution}
\end{solution}
\end{document}