summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/brandeis-problemset
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-19 22:05:18 +0000
committerKarl Berry <karl@freefriends.org>2019-01-19 22:05:18 +0000
commit47e11fdd3cdf40d07fbf5447f0b7815b6e6de29e (patch)
tree3198b7d85c5ef47a99517d9d05185e492b8ea342 /Master/texmf-dist/tex/latex/brandeis-problemset
parenta15d49c6003171553f50653d7b44a026af15742e (diff)
brandeis-problemset (19jan19)
git-svn-id: svn://tug.org/texlive/trunk@49760 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/brandeis-problemset')
-rw-r--r--Master/texmf-dist/tex/latex/brandeis-problemset/brandeis-problemset.cls31
1 files changed, 23 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/brandeis-problemset/brandeis-problemset.cls b/Master/texmf-dist/tex/latex/brandeis-problemset/brandeis-problemset.cls
index 70738d044f4..bb8d386335e 100644
--- a/Master/texmf-dist/tex/latex/brandeis-problemset/brandeis-problemset.cls
+++ b/Master/texmf-dist/tex/latex/brandeis-problemset/brandeis-problemset.cls
@@ -1,10 +1,23 @@
-\ProvidesClass{brandeis-problemset}[2018-12-20 0.4.0 COSI Problem sets at Brandeis University]
+\ProvidesClass{brandeis-problemset}[2019/01/19 0.4.2 COSI Problem sets at Brandeis University]
% Description: A document class for Brandeis University's computer science
% courses' problem sets
-% License: GPL-3.0
% Homepage: https://github.com/9999years/brandeis-problemset
% https://ctan.org/pkg/brandeis-problemset
% Maintainer: Rebecca Turner <rebeccaturner@brandeis.edu>
+%
+% Copyright 2019 Rebecca Turner
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Rebecca Turner.
\errorcontextlines 10
@@ -229,12 +242,12 @@
\newcommand{\problemset@course}{\relax}
\newcommand{\problemset@assignment}{\relax}
% config commands
-\newcommand{\duedate}[1] {\renewcommand{\problemset@duedate}{#1}}
-\newcommand{\instructor}[1] {\renewcommand{\problemset@instructor}{#1}}
-\newcommand{\course}[1] {\renewcommand{\problemset@course}{#1}}
-\newcommand{\coursenumber}[1] {\renewcommand{\problemset@course}{\Sc{cosi} #1}}
-\newcommand{\assignment}[1] {\renewcommand{\problemset@assignment}{#1}}
-\newcommand{\problemsetnumber}[1]{\renewcommand{\problemset@assignment}{Problem Set #1}}
+\newcommand{\duedate}[1] {\def\problemset@duedate{#1}}
+\newcommand{\instructor}[1] {\def\problemset@instructor{#1}}
+\newcommand{\course}[1] {\def\problemset@course{#1}}
+\newcommand{\coursenumber}[1] {\def\problemset@course{\Sc{cosi} #1}}
+\newcommand{\assignment}[1] {\def\problemset@assignment{#1}}
+\newcommand{\problemsetnumber}[1]{\def\problemset@assignment{Problem Set #1}}
\newcommand{\setcodefont}[2][]{%
% don't fail if fontspec isn't loaded
\ifx\setmonofont\undefined\else
@@ -246,6 +259,8 @@
\define@cmdkeys{problemset}[problemset@]{duedate, instructor, course, assignment}
\define@key{problemset}{number}{\problemsetnumber{#1}}
\define@key{problemset}{coursenumber}{\coursenumber{#1}}
+\define@key{problemset}{author}{\author{#1}}
+\define@key{problemset}{date}{\date{#1}}
\define@key{problemset}{codefont}{%
\setcodefont{#1}
}