From 313165cb47c64cdb0ee4206c2173daebc7d34b1f Mon Sep 17 00:00:00 2001
From: Benji Dial <benji@benjidial.net>
Date: Sat, 1 Feb 2025 10:20:37 -0500
Subject: add juneau class for homeworks

---
 juneau.cls | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 juneau.cls

(limited to 'juneau.cls')

diff --git a/juneau.cls b/juneau.cls
new file mode 100644
index 0000000..8a1ac88
--- /dev/null
+++ b/juneau.cls
@@ -0,0 +1,51 @@
+% juneau.cls
+%   https://git.benjidial.net/latex-classes
+% Written by Benji Dial, 2025
+% Released under CC0 1.0
+%   https://creativecommons.org/publicdomain/zero/1.0/
+
+\ProvidesClass{juneau}
+\LoadClass{article}
+
+\usepackage{amssymb}
+\usepackage{geometry}
+\usepackage{enumitem}
+\usepackage{amsmath}
+\usepackage{amsthm}
+\usepackage{thmtools}
+\usepackage{unicode-math}
+\usepackage{fancyhdr}
+\usepackage{lastpage}
+
+%\setmainfont{Libertinus Serif}
+\setmainfont{EBGaramond}
+\setmathfont{Libertinus Math}
+
+\declaretheorem[style=definition]{question}
+\declaretheorem[style=definition,numbered=no]{claim}
+\declaretheorem[style=definition]{lemma}
+
+\setlist[itemize]{itemsep=0pt,topsep=0pt}
+\setlist[enumerate]{itemsep=0pt,topsep=0pt,label=\alph*)}
+\setlist[enumerate,2]{label=\roman*)}
+
+\newcommand{\theclass}{}
+\newcommand{\theassignment}{}
+\newcommand{\thename}{}
+\newcommand{\thedate}{}
+
+\newcommand{\setclass}[1]{\renewcommand{\theclass}{#1}}
+\newcommand{\setassignment}[1]{\renewcommand{\theassignment}{#1}}
+\newcommand{\setname}[1]{\renewcommand{\thename}{#1}}
+\newcommand{\setdate}[1]{\renewcommand{\thedate}{#1}}
+
+\AtBeginDocument{
+  \fancyhead[L]{\theclass---\theassignment}
+  \fancyhead[R]{\thename---\thedate}
+  \fancyfoot[C]{\thepage{} of \pageref{LastPage}}
+  \pagestyle{fancy}
+}
+
+\newcommand{\prto}{\overset{\text{pr}}{\to}}
+\newcommand{\asto}{\overset{\text{a.s.}}{\to}}
+\newcommand{\io}{\mathop{\text{i.o.}}}
-- 
cgit v1.2.3

