From 2be438d0b30ebd4a30fd6ef683bad4047d6530bf Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 2 Jan 2014 13:10:25 -0800 Subject: [PATCH] Add letter classes to org mode export --- .emacs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.emacs b/.emacs index 8a52710..ed0fd4c 100644 --- a/.emacs +++ b/.emacs @@ -649,6 +649,15 @@ Argument DESCRIPTION MIME description." ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) +(add-to-list 'org-latex-classes + '("letter" + "\\documentclass[11pt]{letter}" + ("\\section{%s}" . "\\section*{%s}") + ("\\subsection{%s}" . "\\subsection*{%s}") + ("\\subsubsection{%s}" . "\\subsubsection*{%s}") + ("\\paragraph{%s}" . "\\paragraph*{%s}") + ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) + ;; Originally taken from Bruno Tavernier: http://thread.gmane.org/gmane.emacs.orgmode/31150/focus=31432 ;; but adapted to use latexmk 4.22 or higher. (defun my-auto-tex-cmd () -- 2.39.2