Add org-plain-latex template
This commit is contained in:
parent
3b566848fc
commit
8537a95d75
15
+org.el
15
+org.el
|
@ -43,3 +43,18 @@
|
|||
("\\section{%s}" . "\\section*{%s}")
|
||||
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))))
|
||||
;; Add org-plain-latex
|
||||
(after! ox-latex
|
||||
(add-to-list 'org-latex-classes
|
||||
'("org-plain-latex"
|
||||
"\\documentclass{article}
|
||||
[NO-DEFAULT-PACKAGES]
|
||||
[PACKAGES]
|
||||
[EXTRA]"
|
||||
("\\section{%s}" . "\\section*{%s}")
|
||||
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
||||
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
||||
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))
|
||||
;; Enable listings for LaTeX export
|
||||
(setq org-latex-listings 't)
|
||||
|
|
|
@ -7,5 +7,6 @@
|
|||
#+AUTHOR: Amin Kasrou Aouam
|
||||
#+LANGUAGE: es
|
||||
#+OPTIONS: toc:nil
|
||||
#+LATEX_CLASS: article
|
||||
#+LATEX_CLASS_OPTIONS: [a4paper]
|
||||
#+LATEX_CLASS: org-plain-latex
|
||||
#+LATEX_CLASS_OPTIONS: [a4paper]
|
||||
#+SETUPFILE: ~/.pandoc/templates/emacs-latex.org
|
Loading…
Reference in New Issue