dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 2317bccbe58a507b019f12312f2fb34f003af0f3
parent 1cd4ef3764f10dacb972b35c68cb92b60a80aad3
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Thu,  1 May 2014 21:09:56 +0200

added org mode latex content

Diffstat:
M.emacs.d/init.el | 32++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+), 0 deletions(-)

diff --git a/.emacs.d/init.el b/.emacs.d/init.el @@ -137,6 +137,38 @@ (require 'ob-python) (require 'ob-sh) +;; LaTeX templates, referenced with #+LaTeX_class: classname +(require 'org-latex) +(add-to-list 'org-export-latex-classes + '("myarticle" +"\\documentclass[a4paper]{article} +\\usepackage[utf8]{inputenc} +\\usepackage{lmodern} +\\usepackage[T1]{fontenc} +\\newcommand\\foo{bar} + [NO-DEFAULT-PACKAGES] + [NO-PACKAGES] + [EXTRA]" + ("\\section{%s" . "\\section*{%s}") + ("\\subsection{%s" . "\\subsection*{%s}") + ("\\paragraph{%s" . "\\paragraph*{%s}") + ("\\subparagraph{%s" . "\\subparagraph*{%s}"))) +(add-to-list 'org-export-latex-classes + '("mybeaemer" +"\\documentclass[presentation]{beamer} +\\usepackage[utf8]{inputenc} +\\usepackage{lmodern} +\\usepackage[T1]{fontenc} + [NO-DEFAULT-PACKAGES] + [NO-PACKAGES] + [EXTRA] + [BEAMER-HEADER-EXTRA]" +org-beamer-sectioning)) + +(setq reftex-default-bibliography '("~/owncloud/articles/adc-articles/BIBnew.bib")) + +;(setq org-latex-pdf-process (quote ("texi2dvi --pdf --clean --verbose --batch %f" "bibtex %b" "texi2dvi --pdf --clean --verbose --batch %f" "texi2dvi --pdf --clean --verbose --batch %f"))) + ;; avoid compiz manager rendering bugs (add-to-list 'default-frame-alist '(alpha . 100))