From a88ce00b40d8804f1f0934c43e8ca09d27241926 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Fri, 3 Oct 2025 16:13:13 +0100 Subject: Set latex preview format options --- emacs-config.org | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'emacs-config.org') diff --git a/emacs-config.org b/emacs-config.org index 446a74a..07aea28 100644 --- a/emacs-config.org +++ b/emacs-config.org @@ -611,12 +611,20 @@ Redisplay images when executing an org block. *** Org Export :PROPERTIES: -:header-args:elisp: :tangle no :noweb-ref org-export-settings +:header-args:elisp: :tangle no :noweb-ref org-export-settings :results none :END: Use SVG LaTeX previews. #+begin_src elisp (setq-default org-preview-latex-default-process 'dvisvgm) + (setq-default org-format-latex-options + '(:foreground default + :background "Transparent" + :scale 0.5 + :html-foreground "Black" + :html-background "Transparent" + :html-scale 1 + :matchers ("begin" "$1" "$" "$$" "\\(" "\\["))) (with-eval-after-load 'ox-html (setq-default org-html-with-latex 'dvisvgm)) #+end_src -- cgit