From 3e8ca02fa2606d8824c064c5922a604c54cbef5a Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Tue, 28 Apr 2020 15:20:33 -0600 Subject: [PATCH] added divisor sum quick function to math formatting --- latex/math/body.tex | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/latex/math/body.tex b/latex/math/body.tex index 3277f09..3ce866e 100644 --- a/latex/math/body.tex +++ b/latex/math/body.tex @@ -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}