aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2021-12-18 11:49:24 +0100
committerÓscar Nájera <hi@oscarnajera.com>2021-12-18 11:52:44 +0100
commitfca1c57d9965e39a90467a603fc479d13ef6e942 (patch)
tree4a2a3de9ddd13823811413f84e53a0e499df2753
parenta304f8bdb041e0f5c05d24f71e869732ec1de0d3 (diff)
downloaddotfiles-fca1c57d9965e39a90467a603fc479d13ef6e942.tar.gz
dotfiles-fca1c57d9965e39a90467a603fc479d13ef6e942.tar.bz2
dotfiles-fca1c57d9965e39a90467a603fc479d13ef6e942.zip
write letters org latex-koma
-rw-r--r--config/doom/config.org23
1 files changed, 23 insertions, 0 deletions
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"