From ff8269cf86bc121b01bdd7bd765c932e836fdff6 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Fri, 24 Oct 2014 23:55:43 -0400 Subject: Add custom LaTeX class for Org export --- lisp/init-org.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lisp/init-org.el') diff --git a/lisp/init-org.el b/lisp/init-org.el index f856fee..a51f17a 100644 --- a/lisp/init-org.el +++ b/lisp/init-org.el @@ -368,4 +368,16 @@ MAXLEVEL (defaults to 2)." (define-key ctl-x-4-map "o" 'km/org-switch-to-buffer-other-window) +;;; Export + +(after 'ox-latex + (add-to-list 'org-latex-classes + '("short" + "\\documentclass{short}" + ("\\section{%s}" . "\\section*{%s}") + ("\\subsection{%s}" . "\\subsection*{%s}") + ("\\subsubsection{%s}" . "\\subsubsection*{%s}") + ("\\paragraph{%s}" . "\\paragraph*{%s}") + ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))) + (provide 'init-org) -- cgit v1.2.3