summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs.toml64
-rw-r--r--lectern/config.toml3
-rw-r--r--lectern/courses.toml71
-rw-r--r--lectern/homework_template.tex12
-rw-r--r--lectern/lecture_template.tex11
-rw-r--r--nvim/snips/tex/symbols.lua8
6 files changed, 139 insertions, 30 deletions
diff --git a/configs.toml b/configs.toml
index 146ba28..1e90e79 100644
--- a/configs.toml
+++ b/configs.toml
@@ -1,59 +1,63 @@
-[dunst]
-file = "dunst"
-parent = "~/.config"
-
[rofi]
file = "rofi"
parent = "/home/josh/.config"
-[vim]
-file = ".vimrc"
-parent = "~/"
+[swaylock]
+file = "swaylock"
+parent = "~/.config"
-[tmux]
-file = ".tmux.conf"
-parent = "/home/josh/"
+[xplr]
+file = "xplr"
+parent = "~/.config"
-[wezterm]
-file = ".wezterm.lua"
-parent = "~/"
+[lectern]
+file = "lectern"
+parent = "/home/josh/.config"
-[zathura]
-file = "zathura"
+[kanata]
+file = "keybs"
parent = "~/.config"
+[tmux]
+file = ".tmux.conf"
+parent = "/home/josh/"
+
[starship]
file = "starship"
parent = "~/.config"
-[swaylock]
-file = "swaylock"
-parent = "~/.config"
-
[tex]
file = "texmf"
parent = "~/"
+[waybar]
+file = "waybar"
+parent = "~/.config"
+
[fish]
file = "config.fish"
parent = "~/.config/fish"
-[sway]
-file = "sway"
+[nvim]
+file = "nvim"
parent = "~/.config"
-[waybar]
-file = "waybar"
-parent = "~/.config"
+[wezterm]
+file = ".wezterm.lua"
+parent = "~/"
-[xplr]
-file = "xplr"
+[sway]
+file = "sway"
parent = "~/.config"
-[kanata]
-file = "keybs"
+[zathura]
+file = "zathura"
parent = "~/.config"
-[nvim]
-file = "nvim"
+[vim]
+file = ".vimrc"
+parent = "~/"
+
+[dunst]
+file = "dunst"
parent = "~/.config"
diff --git a/lectern/config.toml b/lectern/config.toml
new file mode 100644
index 0000000..b821148
--- /dev/null
+++ b/lectern/config.toml
@@ -0,0 +1,3 @@
+root = "/home/josh/nextcloud/escritoire/university"
+lecture_template = "/home/josh/.config/lectern/lecture_template.tex"
+homework_template = "/home/josh/.config/lectern/homework_template.tex"
diff --git a/lectern/courses.toml b/lectern/courses.toml
new file mode 100644
index 0000000..167448e
--- /dev/null
+++ b/lectern/courses.toml
@@ -0,0 +1,71 @@
+[ma546]
+name = "ma546"
+title = "Probability and Stochastic Processes"
+prof = "Dr. Erik Bates"
+semester = "f24"
+
+[ma790]
+name = "ma790"
+title = "Lie Groups and Lie Algebras"
+prof = "Dr. Dmitry Zenkov"
+semester = "f24"
+
+[py414]
+name = "py414"
+title = "Electromagnetism I"
+prof = "Dr. Carla Frohlich"
+semester = "f23"
+
+[ma513]
+name = "ma513"
+title = "Complex Analysis"
+prof = "Dr. Andrew Manion"
+semester = "s24"
+
+[ma425]
+name = "ma425"
+title = "Real Analysis I"
+prof = "Dr. Alina Duca"
+semester = "s24"
+
+[py415]
+name = "py415"
+title = "Electromagnetism II"
+prof = "Dr. Carla Fr\"ohlich"
+semester = "s24"
+
+[py411]
+name = "py411"
+title = "Mechanics II"
+prof = "Dr. Gail McLaughlin"
+semester = "f23"
+
+[py402]
+name = "py402"
+title = "Quantum Mechanics II"
+prof = "Dr. Thomas Schaefer"
+semester = "f24"
+
+[afs342]
+name = "afs342"
+title = "Introduction to the African Diaspora"
+prof = "Dr. Moses Khisa"
+semester = "s24"
+
+[py401]
+name = "py401"
+title = "Quantum Mechanics I"
+prof = "Dr. Thomas Schafer"
+semester = "s24"
+
+[ma407]
+name = "ma407"
+title = "Modern Algebra"
+prof = "Dr. Radmila Sazdanovic"
+semester = "f23"
+
+[ma551]
+name = "ma551"
+title = "Introduction to Topology"
+prof = "Dr. Radmila Sazdanovic"
+semester = "f24"
diff --git a/lectern/homework_template.tex b/lectern/homework_template.tex
new file mode 100644
index 0000000..ac09f91
--- /dev/null
+++ b/lectern/homework_template.tex
@@ -0,0 +1,12 @@
+\input\{../../preambles/homework.tex}
+
+\course\{{course}}
+\homeworktype\{Homework}
+\homeworknumber\{{number}}
+
+\begin\{document}
+
+\maketitle
+
+
+\end\{document}
diff --git a/lectern/lecture_template.tex b/lectern/lecture_template.tex
new file mode 100644
index 0000000..c91a9d7
--- /dev/null
+++ b/lectern/lecture_template.tex
@@ -0,0 +1,11 @@
+\input\{../../preambles/lecture.tex}
+
+\title\{{title}}
+\author\{Josh Ott \\ {prof}}
+
+\begin\{document}
+ \maketitle
+ \tableofcontents
+ % start lessons
+ % end lessons
+\end\{document}
diff --git a/nvim/snips/tex/symbols.lua b/nvim/snips/tex/symbols.lua
index 04d7e78..cbd7680 100644
--- a/nvim/snips/tex/symbols.lua
+++ b/nvim/snips/tex/symbols.lua
@@ -109,6 +109,14 @@ return {
{ n.t("\\leftrightarrow") },
{ condition = h.in_mathzone }
),
+ n.s({trig="^^", snippetType="autosnippet"},
+ { n.t("\\uparrow") },
+ { condition = h.in_mathzone }
+ ),
+ n.s({trig="vv", snippetType="autosnippet"},
+ { n.t("\\downarrow") },
+ { condition = h.in_mathzone }
+ ),
n.s({trig="!>", snippetType="autosnippet"},
{ n.t("\\mapsto") },
{ condition = h.in_mathzone }