add preamble into latex article export

This commit is contained in:
2021-03-04 00:03:54 +01:00
parent 660677e9bb
commit e46e3678dd
4 changed files with 1860 additions and 93 deletions

View File

@@ -8,6 +8,10 @@
(add-hook 'org-mode-hook 'my-org-link-color-hook)
(add-hook 'org-ctrl-c-ctrl-c-hook 'my-org-table-cell-color-attr)))
(use-package my-org-article
:load-path "lisp/my"
:after (org))
(use-package my-org-letter
:load-path "lisp/my"
:after (org))

View File

@@ -9,6 +9,8 @@
;; https://tex.stackexchange.com/questions/282448/why-does-emacs-or-auctex-turns-into
;;; Commentary:
;; `org-export-default-language'
;; `org-options-keywords'
;; * Overview of modes and commands
;; --------------------------------
@@ -240,8 +242,10 @@ Example defines
:init
(setq org-export-backends '(ascii html icalendar latex md odt reveal tufte))
:config
(setq org-startup-folded nil) ;; nil = showall = #+STARTUP: showall
(setq org-startup-with-inline-images t) ;; #+STARTUP: inlineimages|noinlineimages, show inline images when loading a new Org file
(setq org-image-actual-width '(600)) ;; image width displayed in org
(setq org-tag-persistent-alist '(("ignore" . "i") ("noexport" . "n")))
;; todo see also org-todo-keyword-faces and org-superstar-todo-bullet-alist
(setq org-todo-keywords ;; (x!) record a time stamp, (x@) add a note (with time), (y/z) entering the state / leaving the state
'((sequence "TODO(t)" "WAIT(w)" "|" "DONE(d)" "CANC(c)")))