From fca1c57d9965e39a90467a603fc479d13ef6e942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sat, 18 Dec 2021 11:49:24 +0100 Subject: write letters org latex-koma --- config/doom/config.org | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/config/doom/config.org b/config/doom/config.org index 00f27a8..ed26113 100644 --- a/config/doom/config.org +++ b/config/doom/config.org @@ -160,6 +160,29 @@ this new window. (use-package! org-ref :after org) #+end_src +** Letters +#+BEGIN_SRC emacs-lisp +(use-package ox-latex + :ensure org + :after org + :config + ;; APS journals + (add-to-list 'org-latex-classes '("revtex4-1" + "\\documentclass{revtex4-1} + [PACKAGES] + [EXTRA]" + ("\\section{%s}" . "\\section*{%s}") + ("\\subsection{%s}" . "\\subsection*{%s}") + ("\\subsubsection{%s}" . "\\subsubsection*{%s}") + ("\\paragraph{%s}" . "\\paragraph*{%s}") + ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) + + (eval-after-load 'ox + '(require 'ox-koma-letter)) + + (add-to-list 'org-latex-packages-alist '("AUTO" "babel" nil)) +) +#+END_SRC * Email ** Notmuch #+begin_src emacs-lisp :tangle "packages.el" -- cgit v1.2.3