summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r--Master/texmf-dist/doc/latex/brandeis-problemset/README.md6
-rw-r--r--Master/texmf-dist/doc/latex/brandeis-problemset/brandeis-problemset.pdfbin340542 -> 340914 bytes
-rw-r--r--Master/texmf-dist/doc/latex/brandeis-problemset/brandeis-problemset.tex5
-rw-r--r--Master/texmf-dist/doc/latex/brandeis-problemset/example.pdfbin191258 -> 184941 bytes
-rw-r--r--Master/texmf-dist/doc/latex/brandeis-problemset/example.tex16
5 files changed, 22 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/brandeis-problemset/README.md b/Master/texmf-dist/doc/latex/brandeis-problemset/README.md
index 0bb7da4cf1b..0a960562919 100644
--- a/Master/texmf-dist/doc/latex/brandeis-problemset/README.md
+++ b/Master/texmf-dist/doc/latex/brandeis-problemset/README.md
@@ -1,9 +1,9 @@
# The `brandeis-problemset` document class
Brandeis University's computer science (“cosi”) courses often assign “problem
-sets” which require fairly rigorous formatting. The `brandeis-problemset` document
-class, which extends `article`, provides a simple way to typeset these problem
-sets in LaTeX.
+sets” which require fairly rigorous formatting. The `brandeis-problemset`
+document class, which extends `article`, provides a simple way to typeset these
+problem sets in LaTeX.
File | Description
----------------------------|------------------------------
diff --git a/Master/texmf-dist/doc/latex/brandeis-problemset/brandeis-problemset.pdf b/Master/texmf-dist/doc/latex/brandeis-problemset/brandeis-problemset.pdf
index 6e6ba06671f..deaa744c6a7 100644
--- a/Master/texmf-dist/doc/latex/brandeis-problemset/brandeis-problemset.pdf
+++ b/Master/texmf-dist/doc/latex/brandeis-problemset/brandeis-problemset.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/brandeis-problemset/brandeis-problemset.tex b/Master/texmf-dist/doc/latex/brandeis-problemset/brandeis-problemset.tex
index 8151601a130..0f1e934a9f3 100644
--- a/Master/texmf-dist/doc/latex/brandeis-problemset/brandeis-problemset.tex
+++ b/Master/texmf-dist/doc/latex/brandeis-problemset/brandeis-problemset.tex
@@ -2,7 +2,7 @@
\usepackage{brandeis-problemset-doc}
\author{Rebecca Turner\thanks{Brandeis University; \email{rebeccaturner@brandeis.edu}}}
\title{The \bps\ Document Class}
-\date{2018-12-20}
+\date{2019-01-03}
\begin{document}
\maketitle
\begin{abstract}
@@ -484,6 +484,9 @@ $\Rm{Foo}(a, n)$ computes $a^n$, and will run in $O(n)$ time always.
\end{latexcode}
\begin{changelog}[author=Rebecca Turner]
+\shortversion{v=0.4.1, date=2019-01-03,
+ changes={Updated \env{scheme} environment to properly recognize all
+ primitive functions, added syntax coloring to all code.}}
\begin{version}[v=0.4.0]
\added
diff --git a/Master/texmf-dist/doc/latex/brandeis-problemset/example.pdf b/Master/texmf-dist/doc/latex/brandeis-problemset/example.pdf
index 589677aa112..f6c4d17ada0 100644
--- a/Master/texmf-dist/doc/latex/brandeis-problemset/example.pdf
+++ b/Master/texmf-dist/doc/latex/brandeis-problemset/example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/brandeis-problemset/example.tex b/Master/texmf-dist/doc/latex/brandeis-problemset/example.tex
index 712c8d2b97c..fac472c793d 100644
--- a/Master/texmf-dist/doc/latex/brandeis-problemset/example.tex
+++ b/Master/texmf-dist/doc/latex/brandeis-problemset/example.tex
@@ -1,4 +1,4 @@
-\documentclass[gantt]{brandeis-problemset}
+\documentclass[gantt, scheme]{brandeis-problemset}
\author{Rebecca Turner}
\problemsetsetup{
coursenumber=21a,
@@ -246,4 +246,18 @@ time --- this is referred to as exponentiation by squaring.
\end{ganttschedule}
\end{enumerate}
+\begin{problem}
+ Write a Scheme procedure to calculate an arbitrary up-arrow $a \uparrow^n
+ b$.
+\end{problem}
+
+\begin{scheme}
+;;; (up-arrow 2 3 4) = 2^^^4
+(define (up-arrow a n b)
+ (cond ((= n 1) (expt a b))
+ ((and (>= n 1) (= b 0)) 1)
+ (else (up-arrow a
+ (- n 1)
+ (up-arrow a n (- b 1))))))
+\end{scheme}
\end{document}