Add tufte-handout LaTeX class and org mode snippet
This commit is contained in:
parent
0d070204d8
commit
49729c3ccf
8
+org.el
8
+org.el
|
@ -35,3 +35,11 @@
|
||||||
(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}"))))
|
||||||
|
|
|
@ -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]
|
Loading…
Reference in New Issue