From ac49090b505bab463eaa207d68eca860fee06a98 Mon Sep 17 00:00:00 2001 From: fpi Date: Thu, 17 Mar 2022 13:43:39 +0100 Subject: Change org timestamp format to include nanosecond Also add some default latex packages to org export --- emacs-init.org | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/emacs-init.org b/emacs-init.org index 7f0825d..d21565b 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -3423,7 +3423,7 @@ I use a org version with some custom patches. Rather than using something like = I prefer to use timestamp based ID's as they are #+begin_src emacs-lisp :tangle no :noweb-ref org-id-custom (org-id-method 'ts) -(org-id-ts-format "%FT%T%z") +(org-id-ts-format "%FT%T%z.%6N") #+end_src #+begin_src emacs-lisp @@ -3506,6 +3506,14 @@ Use imagemagick and standalone class for latex preview. [DEFAULT-PACKAGES] \\pagestyle{empty} % do not remove") #+end_src + +Also let us define some more default latex packages. +#+begin_src emacs-lisp :noweb-ref org-config :tangle no +(add-to-list 'org-latex-packages-alist '("" "uniinput")) +(add-to-list 'org-latex-packages-alist '("" "siunitx")) +(add-to-list 'org-latex-packages-alist '("" "tikz")) +(add-to-list 'org-latex-packages-alist '("" "circuitikz")) +#+end_src #+begin_src emacs-lisp (use-package org-num :delight -- cgit v1.2.3