diff options
author | Amin Bandali <mab@gnu.org> | 2018-10-09 22:40:24 -0400 |
---|---|---|
committer | Amin Bandali <mab@gnu.org> | 2018-10-09 22:40:24 -0400 |
commit | 3e7e82b4cdd20516341568a465a05be369b9535a (patch) | |
tree | 1ac4f7ffd49bbb1f83e3c04c2dacbab03a3e30e7 | |
parent | 458ff84b5365eb2e97a87b3253bdbb4184f229b4 (diff) | |
download | configs-3e7e82b4cdd20516341568a465a05be369b9535a.tar.gz configs-3e7e82b4cdd20516341568a465a05be369b9535a.tar.xz configs-3e7e82b4cdd20516341568a465a05be369b9535a.zip |
[emacs] add ox-latex IEEEtran support
Diffstat (limited to '')
-rw-r--r-- | init.org | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -690,7 +690,23 @@ In short, my favourite way of life. org-src-preserve-indentation nil org-edit-src-content-indentation 0 org-log-done 'time) - :hook (org-mode . org-indent-mode)) + :hook (org-mode . org-indent-mode) + :custom + (org-latex-packages-alist '(("" "listings") ("" "color")))) + +(use-package ox-latex + :config + (setq org-latex-listings 'listings) + (add-to-list 'org-latex-packages-alist '("" "listings")) + (add-to-list 'org-latex-packages-alist '("" "color")) + (add-to-list 'org-latex-classes + '("IEEEtran" "\\documentclass[11pt]{IEEEtran}" + ("\\section{%s}" . "\\section*{%s}") + ("\\subsection{%s}" . "\\subsection*{%s}") + ("\\subsubsection{%s}" . "\\subsubsection*{%s}") + ("\\paragraph{%s}" . "\\paragraph*{%s}") + ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) + t)) (use-package org-notmuch :after (:any org notmuch)) |