summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2022-03-17 13:43:39 +0100
committerfpi2022-03-17 14:45:42 +0100
commitac49090b505bab463eaa207d68eca860fee06a98 (patch)
tree7f7c435f42cb1978f54499fe7a6e7bfe46223b83
parentFix redtick configuration (diff)
Change org timestamp format to include nanosecond
Also add some default latex packages to org export
Diffstat (limited to '')
-rw-r--r--emacs-init.org10
1 files changed, 9 insertions, 1 deletions
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