dotwryn/latex/homework_template.tex

101 lines
2.9 KiB
TeX
Raw Normal View History

%
%
\newcommand{\documentTitle} {Homework }
\newcommand{\documentDate} {}
\newcommand{\documentId} {}
\newcommand{\authorName} {Wryn Wagner}
\newcommand{\authorId} {A01995076}
%
%
% ----------------------------------------------------------
% ------ Header Code ---------------------------------------
% ----------------------------------------------------------
\documentclass[letterpaper]{article}
\usepackage[margin=1in,bottom=.5in,includefoot]{geometry}
\usepackage{lastpage} % -- finds total page numbers
\usepackage{amssymb} % -- "bold" math letters (e.g. set of all integers Z)
\usepackage{amsmath} % -- advanced math symbols
\usepackage{arydshln} % -- dashed lines within tables
\usepackage{dashrule} % -- dashed lines outside tables
\usepackage{listings} % -- code snippet styling block
\usepackage{tikz} % -- generates graphs and other graphics
\usepackage[final]{pdfpages} % -- inserts external pdf excerpts
\usepackage{graphicx} % -- inserts standard image graphics
\graphicspath{{./graphics/}}
\usepackage{lipsum} % -- generates lorem ipsum
\usepackage{kantlipsum} % -- generates Kantian lorem ipsum
\usepackage[english]{babel} % -- corrects English grammar?
% ----------------------------------------------------------
% Edit this section to create the title, headers, and footers for the document
% ----------------------------------------------------------
\newcommand{\headerLeft} {\documentTitle: \assignmentDate}
\newcommand{\headerCenter} {\classId}
\newcommand{\headerRight} {\authorName\ (\authorId)}
\newcommand{\pageOfTotal} {\thepage\~of~\pageref{LastPage}}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{\headerLeft}
\fancyhead[R]{\headerRight}
\fancyhead[C]{\headerCenter}
\fancyfoot[C]{\pageOfTotal}
\fancypagestyle{plain}{%
\fancyhf{}
\fancyhead[L]{\headerLeft}
\fancyhead[R]{\headerRight}
\fancyhead[C]{\headerCenter}
\fancyfoot[C]{\pageOfTotal}
}
\title{\documentTitle}
\author{\authorName\ \\ \authorId}
\date{\assignmentDate}
% ----------------------------------------------------------
% ------ Theorems, Lemmas, and Corollaries -----------------
% ----------------------------------------------------------
\newtheorem{theorem}{Theorem}[section]
\newtheorem{corollary}{Corollary}[theorem]
\newtheorem{lemma}[theorem]{Lemma}
% ----------------------------------------------------------
% ----------------------------------------------------------
% ----------------------------------------------------------
\begin{document}
\maketitle
% ----------------------------------------------------------
% Begin document here :)
% ----------------------------------------------------------
\section{} %Problem 1
\subsection{Prompt}
\noindent\rule{2in}{0.4pt}
% ----------------------------------------------------------
% ----------------------------------------------------------
% ----------------------------------------------------------
\end{document}