summaryrefslogtreecommitdiff
path: root/emacs-packages/org-latex-classes.el
diff options
context:
space:
mode:
authorTimo Wilken2022-12-30 10:54:17 +0100
committerTimo Wilken2022-12-30 10:54:17 +0100
commit0f308b1c90444f5f0293bf40aa1ef177bc51036c (patch)
treeb052860a66b8bf3b094fa16e4538887003c37ada /emacs-packages/org-latex-classes.el
parentda1ff8a0816e430d2c035217d80db3be5cc919ab (diff)
Reorganise Guix home declaration into module tree
Diffstat (limited to 'emacs-packages/org-latex-classes.el')
-rw-r--r--emacs-packages/org-latex-classes.el54
1 files changed, 0 insertions, 54 deletions
diff --git a/emacs-packages/org-latex-classes.el b/emacs-packages/org-latex-classes.el
deleted file mode 100644
index 90d13341..00000000
--- a/emacs-packages/org-latex-classes.el
+++ /dev/null
@@ -1,54 +0,0 @@
-;;; org-latex-classes.el --- LaTeX documentclass definitions for org-mode.
-;;; Commentary:
-;;; Code:
-(require 'ox-latex)
-
-(defun tw/latex-section-commands (name)
- "Create a pair of section commands like (\"\\NAME{%s}\" . \"\\NAME*{%s}\")."
- (cons (format "\\%s{%%s}" name) (format "\\%s*{%%s}" name)))
-
-(defconst tw/latex-part (tw/latex-section-commands "part"))
-(defconst tw/latex-chapter (tw/latex-section-commands "chapter"))
-(defconst tw/latex-section-and-below
- (mapcar #'tw/latex-section-commands
- '("section" "subsection" "subsubsection" "paragraph" "subparagraph")))
-
-(setq org-latex-classes
- `(("paperlike" "\\documentclass{paperlike}"
- . ,tw/latex-section-and-below)
-
- ("examtext" "\\documentclass{examtext}"
- . ,tw/latex-section-and-below)
-
- ("minutes" "\\documentclass{minutes}"
- . ,tw/latex-section-and-below)
-
- ("mapreport" "\\documentclass{mapreport}"
- ,tw/latex-chapter . ,tw/latex-section-and-below)
-
- ("pt3report" "\\documentclass{pt3report}"
- ,tw/latex-chapter . ,tw/latex-section-and-below)
-
- ("article" "\\documentclass{article}"
- . ,tw/latex-section-and-below)
-
- ("scrartcl" "\\documentclass{scrartcl}"
- . ,tw/latex-section-and-below)
-
- ("report" "\\documentclass{report}"
- ,tw/latex-part ,tw/latex-chapter . ,tw/latex-section-and-below)
-
- ("report-noparts" "\\documentclass{report}"
- ,tw/latex-chapter . ,tw/latex-section-and-below)
-
- ("book" "\\documentclass{book}"
- ,tw/latex-part ,tw/latex-chapter . ,tw/latex-section-and-below)
-
- ("book-noparts" "\\documentclass{book}"
- ,tw/latex-chapter . ,tw/latex-section-and-below)
-
- ("checklist" "\\documentclass{checklist}"
- . ,tw/latex-section-and-below)))
-
-(provide 'org-latex-classes)
-;;; org-latex-classes.el ends here