![CHR Homework Template](https://writelatex.s3.amazonaws.com/published_ver/21115.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240630T232004Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240630/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=906b4d82412b0ee54314e671afc2ce741155823ec698453224258d7e6a9796e9)
CHR Homework Template
Forfatter
Chase Rensberger
Sidst opdateret
3 år siden
Licens
Creative Commons CC BY 4.0
Resumé
My personal LaTeX homework template.
![CHR Homework Template](https://writelatex.s3.amazonaws.com/published_ver/21115.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240630T232004Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240630/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=906b4d82412b0ee54314e671afc2ce741155823ec698453224258d7e6a9796e9)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 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}