From: Mark Wooding Date: Fri, 23 Oct 2009 15:45:39 +0000 (+0100) Subject: el/dot-emacs.el: Org-mode hacking to use Strayman class. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/f0dbee8416370ef2909b0e3bcccc169d4cf4e3f3?hp=-c el/dot-emacs.el: Org-mode hacking to use Strayman class. Much prettier. --- f0dbee8416370ef2909b0e3bcccc169d4cf4e3f3 diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 2f61f96..751f3ed 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -229,6 +229,21 @@ (define-key keymap key nil)) (dolist (key replacements) (define-key keymap key binding)))))) +(eval-after-load "org" + '(progn + (push '("strayman" + "\\documentclass{strayman} +\\usepackage[utf8]{inputenc} +\\usepackage[palatino, helvetica, courier, maths=cmr]{mdwfonts} +\\usepackage[T1]{fontenc} +\\usepackage{graphicx, tikz, mdwtab, mdwmath, crypto, longtable}" + ("\\section{%s}" . "\\section*{%s}") + ("\\subsection{%s}" . "\\subsection*{%s}") + ("\\subsubsection{%s}" . "\\subsubsection*{%s}") + ("\\paragraph{%s}" . "\\paragraph*{%s}") + ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) + org-export-latex-classes))) + ;;;-------------------------------------------------------------------------- ;;; Mail and news hacking.