summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/brandeis-problemset/brandeis-problemset.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/brandeis-problemset/brandeis-problemset.cls')
-rw-r--r--Master/texmf-dist/tex/latex/brandeis-problemset/brandeis-problemset.cls24
1 files changed, 14 insertions, 10 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 05c8a947463..3d18eea40e7 100644
--- a/Master/texmf-dist/tex/latex/brandeis-problemset/brandeis-problemset.cls
+++ b/Master/texmf-dist/tex/latex/brandeis-problemset/brandeis-problemset.cls
@@ -1,4 +1,4 @@
-\ProvidesClass{brandeis-problemset}[2019/04/02 0.5.4 COSI problem sets at
+\ProvidesClass{brandeis-problemset}[2019/04/15 0.5.5 COSI problem sets at
Brandeis University]
\NeedsTeXFormat{LaTeX2e}
% Description: A document class for Brandeis University's computer science
@@ -59,6 +59,7 @@
\bps@comploption{antonella}
\bps@comploption{math}
+\bps@comploption[true]{fonts}
\DeclareDefaultOption{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessKeyvalOptions*
@@ -96,8 +97,20 @@
bmargin=1.5in,
]{geometry}
+% math
+\ifbps@math
+ % see note below
+ \RequirePackage{mathtools}
+
+ % for whatever reason, redefining this before the \begin{document}
+ % has no effect
+ \AtBeginDocument{\renewcommand{\Re}{\mathbb{R}}}
+\fi
+
% fonts
% NOTE: The order these packages are loaded in is very important.
+% - mathtools has to be loaded before these or overbrackets and such get
+% messed up
% - unicode-math overwrites a bunch of commands, so should be loaded after
% amsmath and others
% - amsmath should be loaded after stix2 (not sure why, but the stix2
@@ -144,15 +157,6 @@
\fi
\fi
-% math
-\ifbps@math
- \RequirePackage{mathtools}
-
- % for whatever reason, redefining this before the \begin{document}
- % has no effect
- \AtBeginDocument{\renewcommand{\Re}{\mathbb{R}}}
-\fi
-
\ifbps@antonella
\instructor{Dr.~Antonella DiLillio}
\iffontspec@ok