dotwryn/latex/math/body.tex

44 lines
1.1 KiB
TeX

\newcommand{\problemdivider}{\noindent\rule{2in}{0.4pt}}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}{Corollary}[theorem]
\newcommand{\egfcoefficient}{\ensuremath{\left[\frac{x^n}{n!}\right]}}
\newcommand{\ogfcoefficient}{\ensuremath{\left[x^n\right]}}
\newcommand{\falling}[1]{^{\underline{#1}}}
\newcommand{\divides}{\ensuremath{\;\backslash\;}}
\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,
language=Lisp,
showstringspaces=false,
numbers=left,
]{#2}
}
\begin{document}
\maketitle
% ----------------------------------------------------------
% ----------------------------------------------------------
%\input{1.tex}%
\setcounter{section}{0}
\section{}% Problem 1
\subsection{Prompt}
\problemdivider%
% ----------------------------------------------------------
% ----------------------------------------------------------
% ----------------------------------------------------------
\end{document}