updated math to have no line indent by default. added neumonic union and intersection commands for logical cup and cap symbols
This commit is contained in:
parent
df841b95be
commit
96bcbdf682
@ -1,3 +1,5 @@
|
|||||||
|
\newcommand{\problemdivider}{\noindent\rule{2in}{0.4pt}}
|
||||||
|
|
||||||
\newtheorem{theorem}{Theorem}[section]
|
\newtheorem{theorem}{Theorem}[section]
|
||||||
\newtheorem{lemma}[theorem]{Lemma}
|
\newtheorem{lemma}[theorem]{Lemma}
|
||||||
\newtheorem{corollary}{Corollary}[theorem]
|
\newtheorem{corollary}{Corollary}[theorem]
|
||||||
@ -10,6 +12,9 @@
|
|||||||
\newcommand{\sumgz}{\ensuremath{\sum_{n\geq 0}}}
|
\newcommand{\sumgz}{\ensuremath{\sum_{n\geq 0}}}
|
||||||
\newcommand{\sumdiv}{\ensuremath{\sum_{d\divides n}}}
|
\newcommand{\sumdiv}{\ensuremath{\sum_{d\divides n}}}
|
||||||
|
|
||||||
|
\newcommand{\union}{\ensuremath{\cup}}
|
||||||
|
\newcommand{\intersect}{\ensuremath{\cap}}
|
||||||
|
|
||||||
\newcommand{\clispsnippet}[2]{%
|
\newcommand{\clispsnippet}[2]{%
|
||||||
\lstinputlisting[%
|
\lstinputlisting[%
|
||||||
caption=#1,
|
caption=#1,
|
||||||
@ -24,16 +29,13 @@
|
|||||||
% ----------------------------------------------------------
|
% ----------------------------------------------------------
|
||||||
% ----------------------------------------------------------
|
% ----------------------------------------------------------
|
||||||
|
|
||||||
% ----------------------------------------------------------
|
%\input{1.tex}%
|
||||||
%
|
\setcounter{section}{0}
|
||||||
% \input{1.tex}
|
\section{}% Problem 1
|
||||||
%
|
|
||||||
\section{} %Problem 1
|
|
||||||
\subsection{Prompt}
|
\subsection{Prompt}
|
||||||
\kant%
|
|
||||||
|
|
||||||
|
|
||||||
\noindent\rule{2in}{0.4pt}
|
\problemdivider%
|
||||||
% ----------------------------------------------------------
|
% ----------------------------------------------------------
|
||||||
|
|
||||||
% ----------------------------------------------------------
|
% ----------------------------------------------------------
|
||||||
|
@ -26,6 +26,11 @@
|
|||||||
\fancyfoot[C]{\pageOfTotal}
|
\fancyfoot[C]{\pageOfTotal}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
% paragraph spacing / line indent
|
||||||
|
\renewcommand{\baselinestretch}{1}
|
||||||
|
\setlength{\parskip}{1em}
|
||||||
|
\setlength{\parindent}{0em}
|
||||||
|
|
||||||
% Subsequent Pages
|
% Subsequent Pages
|
||||||
\fancyhf{}
|
\fancyhf{}
|
||||||
\fancyhead[L]{\headerLeft}
|
\fancyhead[L]{\headerLeft}
|
||||||
|
Loading…
Reference in New Issue
Block a user