diff --git a/+org.el b/+org.el index cde42c8..4a75ae6 100644 --- a/+org.el +++ b/+org.el @@ -35,3 +35,11 @@ (setq org-agenda-dim-blocked-tasks nil) ;; Open file with folded headlines (setq org-startup-folded 'content) +;; Add tufte-handout to LaTeX classes +(after! ox-latex + (add-to-list 'org-latex-classes + '("tufte-handout" + "\\documentclass{tufte-handout}" + ("\\section{%s}" . "\\section*{%s}") + ("\\subsection{%s}" . "\\subsection*{%s}") + ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))) diff --git a/snippets/org-mode/tufte latex metadata b/snippets/org-mode/tufte latex metadata new file mode 100644 index 0000000..096d57b --- /dev/null +++ b/snippets/org-mode/tufte latex metadata @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: tufte latex metadata +# key: tufte +# -- +#+TITLE: $0 +#+AUTHOR: Amin Kasrou Aouam +#+LANGUAGE: es +#+OPTIONS: toc:nil +#+LATEX_CLASS: tufte-handout +#+LATEX_CLASS_OPTIONS: [a4paper]