added divisor sum quick function to math formatting

This commit is contained in:
Wryn Wagner 2020-04-28 15:20:33 -06:00
parent dd4a12cafb
commit 3e8ca02fa2

View File

@ -4,16 +4,19 @@
\newcommand{\egfcoefficient}{\ensuremath{\left[\frac{x^n}{n!}\right]}}
\newcommand{\ogfcoefficient}{\ensuremath{\left[x^n\right]}}
\newcommand{\sumgz}{\ensuremath{\sum_{n\geq 0}}}
\newcommand{\falling}[1]{^{\underline{#1}}}
\newcommand{\divides}{\ensuremath{\;\backslash\;}}
\newcommand{\sumgz}{\ensuremath{\sum_{n\geq 0}}}
\newcommand{\sumdiv}{\ensuremath{\sum_{d\divides n}}}
\newcommand{\clispsnippet}[2]{%
\lstset{%
\lstinputlisting[%
caption=#1,
language=Lisp,
showstringspaces=false,
numbers=left,
}\lstinputlisting[caption=#1]{#2}
]{#2}
}
\begin{document}