%%%%%template by Daniel Parker %%%%%%danielericparker@gmail.com \documentclass[10pt,twoside]{article} %%%%%%%%%packages%%%%%%%%% \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{amsthm} \usepackage{mathtools} \usepackage{colonequals} \usepackage{verbatim} \usepackage{fancyhdr} \usepackage{siunitx} \usepackage{hyperref} \usepackage[margin=1in,top=5em,bottom=5em]{geometry} %%%%%%%%%HEader%%%%%%%%% \pagestyle{fancy} \fancyhead[RO,LE]{\bfseries \hspace{1in}\rightOne\phantom{\hspace{1in}}\\ \hspace{1in}\rightTwo\hspace{1in}} \fancyhead[RE,LO]{\bfseries \hspace{1in}\leftOne\phantom{\hspace{1in}}\\ \hspace{1in}\leftTwo\hspace{1in}} \fancyhead[C]{\bfseries \centerOne\\\centerTwo} \fancyfoot{} \renewcommand{\headrulewidth}{0.2pt} \fancyheadoffset{1in} %%%%%%%%%Custom Formatting%%%%%%%%%%%%%%%%%% \newcommand{\ex}[1]{\paragraph*{#1:}} %\renewcommand{\labelenumi}{ {(\alph{enumi})}} %%% custom list style \renewcommand{\labelenumii}{ {(\bf \roman{enumii})}} %%% custom list style %%%%%%%%%Math Notation Shortcuts%%%%%%%%% \newcommand{\R}{\mathbb{R}} \newcommand{\Q}{\mathbb{Q}} \newcommand{\Z}{\mathbb{Z}} \newcommand{\N}{\mathbb{N}} \newcommand{\F}{\mathbb{F}} \newcommand{\C}{\mathbb{C}} \DeclareMathOperator{\Aut}{Aut} \DeclareMathOperator{\Mor}{Mor} \DeclareMathOperator{\tr}{Tr} \DeclareMathOperator{\sgn}{sgn} \DeclareMathOperator{\ad}{ad} \renewcommand{\span}{\operatorname{span}} \renewcommand{\span}{\operatorname{span}} \renewcommand{\span}{\operatorname{span}} \newcommand{\ce}{\colonequals} \newtheorem{thm}{Theorem} \newtheorem{lemma}[thm]{Lemma} \newcommand{\n}[1]{\left| #1 \right|}%%adjustable-height norm shortcut \newcommand{\dn}[1]{\left|\left| #1 \right|\right|}%%adjustable-height norm shortcut \newcommand{\setc}[2]{\left\{#1\; :\; #2 \right\}}%%set notation shortcut with a colon \newcommand{\st}[1]{\left\{#1\right\}}%%set notation shortcut with no condition \newcommand{\bv}[1]{\hat{\mathbf{#1}}}%%shortcut to make a basis vector \renewcommand{\v}[1]{\boldsymbol{#1}}%%shortcut to make a vector (overwrites the default command) \newcommand{\cvec}[2]{\begin{pmatrix}#1\\[0.5em] #2\end{pmatrix}} \renewcommand{\l}[1]{\mathsf{#1}} \newcommand{\ip}[1]{\left< #1\right>} %%%MODIFY THESE LINES TO CHANGE THE HEADER \newcommand{\leftOne}{Class} \newcommand{\leftTwo}{Professor} \newcommand{\centerOne}{Assignment Name} \newcommand{\centerTwo}{Assignment Type} \newcommand{\rightOne}{\thepage} \newcommand{\rightTwo}{5 October 2014} \begin{document} \ex{4.45} \ex{4.47} \end{document}