Created
February 5, 2018 15:32
-
-
Save tkutcher/7b9c56641b6756e57472e836bb6b6faf to your computer and use it in GitHub Desktop.
Generic template for homework assignments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[11pt]{article} | |
\usepackage[margin=0.5in]{geometry} | |
\usepackage{amsmath} | |
\usepackage{amssymb} | |
\usepackage{setspace} | |
\usepackage{listings} | |
\usepackage{alltt} | |
\makeatletter | |
\makeatother | |
% 1 - question number | |
\newcommand{\question}[1]{\noindent{\ \ \bf#1)\ }} | |
% 1 - Name | |
% 2 - Due Date | |
% 3 - Class Name | |
% 4 - Professor | |
% 5 - Homework # | |
\newcommand{\header}[5]{\noindent {\large\bf #1 \hfill #2} \\ {\large\bf #3 \\ #4 \\ Homework \##5}\\[11pt] \rule[0.1in]{\textwidth}{0.4pt}} | |
% 1 - Chapter Number | |
% 2 - Chapter Section | |
\newcommand{\sect}[2]{\noindent {\large\bf Ch. #1 - #2}\\} | |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% %%%%%%%%%%%%%%%%%%%%%%%%%%% DOCUMENT STARTS HERE %%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\begin{document} | |
\header{Name}{Date}{Course}{Professor}{X} | |
\sect{X}{X} | |
\question{1} First question. | |
\begin{quote} | |
solution.\\ | |
second line. | |
\end{quote} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment