![TXST_Math_HW_Template](https://writelatex.s3.amazonaws.com/published_ver/22230.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240630T202616Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240630/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=c53f8517f804044366379dcf715050a68455d67053e135eadcd7b92c26521254)
TXST_Math_HW_Template
Author
Jialong Li
Last Updated
3年前
License
Other (as stated in the work)
Abstract
Homework template for mathematics proof
![TXST_Math_HW_Template](https://writelatex.s3.amazonaws.com/published_ver/22230.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240630T202616Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240630/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=c53f8517f804044366379dcf715050a68455d67053e135eadcd7b92c26521254)
\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}
\renewcommand{\footrulewidth}{0.8pt}
\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}}
\newenvironment{solution}{\textbf{Solution}}
\lhead{Your Name}
\rhead{Course and course number or section}
\chead{\textbf{Title of this document}}
\lfoot{Instructor Name}
\rfoot{Texas State University}
\begin{document}
\input{coverPage}%not necessary but looks fancy
\begin{problem}{1}
Question begins here.
\end{problem}
\begin{solution}
Solution begins here
\end{solution}
\end{document}