Compare commits

...

1 Commits

Author SHA1 Message Date
coolneng 3475ee0691
Add tufte-handout LaTeX class and org mode snippet 2021-05-05 15:20:53 +02:00
2 changed files with 19 additions and 0 deletions

View File

@ -35,3 +35,12 @@
(setq org-agenda-dim-blocked-tasks nil) (setq org-agenda-dim-blocked-tasks nil)
;; Open file with folded headlines ;; Open file with folded headlines
(setq org-startup-folded 'content) (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]