diff --git a/latex/math/body.tex b/latex/math/body.tex index 3ce866e..508808f 100644 --- a/latex/math/body.tex +++ b/latex/math/body.tex @@ -1,3 +1,5 @@ +\newcommand{\problemdivider}{\noindent\rule{2in}{0.4pt}} + \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}{Corollary}[theorem] @@ -10,6 +12,9 @@ \newcommand{\sumgz}{\ensuremath{\sum_{n\geq 0}}} \newcommand{\sumdiv}{\ensuremath{\sum_{d\divides n}}} +\newcommand{\union}{\ensuremath{\cup}} +\newcommand{\intersect}{\ensuremath{\cap}} + \newcommand{\clispsnippet}[2]{% \lstinputlisting[% caption=#1, @@ -24,16 +29,13 @@ % ---------------------------------------------------------- % ---------------------------------------------------------- -% ---------------------------------------------------------- -% -% \input{1.tex} -% -\section{} %Problem 1 +%\input{1.tex}% +\setcounter{section}{0} +\section{}% Problem 1 \subsection{Prompt} -\kant% -\noindent\rule{2in}{0.4pt} +\problemdivider% % ---------------------------------------------------------- % ---------------------------------------------------------- diff --git a/latex/math/formatting.sty b/latex/math/formatting.sty index 414fc04..0c29c1b 100644 --- a/latex/math/formatting.sty +++ b/latex/math/formatting.sty @@ -26,6 +26,11 @@ \fancyfoot[C]{\pageOfTotal} } +% paragraph spacing / line indent +\renewcommand{\baselinestretch}{1} +\setlength{\parskip}{1em} +\setlength{\parindent}{0em} + % Subsequent Pages \fancyhf{} \fancyhead[L]{\headerLeft}