Add tufte-handout LaTeX class and org mode snippet

This commit is contained in:
coolneng 2021-05-05 14:37:36 +02:00
parent 0d070204d8
commit 49729c3ccf
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 18 additions and 0 deletions

View File

@ -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}"))))

View File

@ -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]