From 38d3055a3bc8cc319238e2920ac45c5f758daa54 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 5 May 2021 14:37:36 +0200 Subject: [PATCH] Add tufte-handout LaTeX class and org mode snippet --- +org.el | 7 +++++++ snippets/org-mode/tufte latex metadata | 10 ++++++++++ 2 files changed, 17 insertions(+) create mode 100644 snippets/org-mode/tufte latex metadata diff --git a/+org.el b/+org.el index cde42c8..e8a1e00 100644 --- a/+org.el +++ b/+org.el @@ -35,3 +35,10 @@ (setq org-agenda-dim-blocked-tasks nil) ;; Open file with folded headlines (setq org-startup-folded 'content) +;; Add tufte-handout to LaTeX classes +(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]