summaryrefslogtreecommitdiff
path: root/.config/emacs/modules
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-02-06 15:31:48 -0500
committerbd <bdunahu@operationnull.com>2025-02-06 15:31:48 -0500
commit7568903a5ec06bb229f6829ee1d3e8f3ea8d3d9b (patch)
treebef1bbbf24e726b9ddcd8f9ae75256989afe16b6 /.config/emacs/modules
parentd84be945c407eb8fb34fdea4a74b1c5ffa2aa7f0 (diff)
org mode abbrev for drawing stacks, update class alist
Diffstat (limited to '.config/emacs/modules')
-rw-r--r--.config/emacs/modules/bd--org.el16
1 files changed, 11 insertions, 5 deletions
diff --git a/.config/emacs/modules/bd--org.el b/.config/emacs/modules/bd--org.el
index ca68b79..28cfec1 100644
--- a/.config/emacs/modules/bd--org.el
+++ b/.config/emacs/modules/bd--org.el
@@ -30,6 +30,7 @@
(lisp . t)
(scheme . t)
(dot . t)
+ (latex . t)
(python . t)))
(define-abbrev org-mode-abbrev-table
"lbm" "\\begin{equation*}\n\\begin{bmatrix}\n\\end{bmatrix}\n\\end{equation*}")
@@ -40,7 +41,9 @@
(define-abbrev org-mode-abbrev-table
"les" "\\begin{equation*}\n\\end{equation*}")
(define-abbrev org-mode-abbrev-table
- "lbm" "\\begin{equation*}\n\\begin{bmatrix}\n\\end{bmatrix}\n\\end{equation*}"))
+ "lbm" "\\begin{equation*}\n\\begin{bmatrix}\n\\end{bmatrix}\n\\end{equation*}")
+ (define-abbrev org-mode-abbrev-table
+ "lds" "\\begin{drawstack}\n\\end{drawstack}"))
(use-package ox
:config
@@ -48,6 +51,7 @@
(setopt org-latex-toc-command "\\tableofcontents \\clearpage"
org-latex-src-block-backend 'listings
org-latex-image-default-width ".6\\linewidth"
+ org-latex-compiler "xelatex"
org-export-with-toc nil
org-export-preserve-breaks t
org-latex-classes
@@ -114,7 +118,9 @@
(defvar-local agenda-file "~/dc/agenda/agenda_tasks.org")
(defvar-local bd/course-list
- '()
+ '(("501" . ?0)
+ ("535" . ?3)
+ ("590" . ?9))
"Courses for tagging, capturing, and various
agenda views.")
@@ -163,11 +169,11 @@ representing all the tags ORd or ANDed together."
org-agenda-files `(,agenda-file "~/dc/agenda/archived_tasks.org")
org-capture-templates
`(("c" " College")
- ("cs" "Software Engineering Theory" entry (file+olp ,agenda-file "CS520")
+ ("cl" "Formal Language Theory" entry (file+olp ,agenda-file "CS501")
"* TODO %?\n DEADLINE: %^t")
- ("cm" "Combinatorics/Graph Theory" entry (file+olp ,agenda-file "CS575")
+ ("ca" "Computer Architecture" entry (file+olp ,agenda-file "CS535")
"* TODO %?\n DEADLINE: %^t")
- ("cc" "Compiler Techniques" entry (file+olp ,agenda-file "CS610")
+ ("ce" "Reverse Engineering" entry (file+olp ,agenda-file "CS590")
"* TODO %?\n DEADLINE: %^t")
("s" " Self")
("si" "Idea" entry (file+olp ,agenda-file "Idea / Return")