diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-10-24 23:55:43 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-10-24 23:55:43 -0400 |
commit | ff8269cf86bc121b01bdd7bd765c932e836fdff6 (patch) | |
tree | 6c744a1ea4df2b62c0f82526ef5eeb67f7b0c6fe /lisp | |
parent | 1d82ca6d7d6a6150a276984c62d10581b9deb10e (diff) | |
download | emacs.d-ff8269cf86bc121b01bdd7bd765c932e836fdff6.tar.gz |
Add custom LaTeX class for Org export
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-org.el | 12 |
1 files changed, 12 insertions, 0 deletions
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) |