summaryrefslogtreecommitdiff
path: root/emacs-config.org
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2025-10-03 16:13:13 +0100
committerBlake Romero <blake@blkrom.com>2025-10-03 16:15:54 +0100
commita88ce00b40d8804f1f0934c43e8ca09d27241926 (patch)
tree134cd9e09229bacda201e34bfd3da838af9fb944 /emacs-config.org
parentbaa36a36e00dc85a648ad1fd81b569fd0b467276 (diff)
Set latex preview format options
Diffstat (limited to 'emacs-config.org')
-rw-r--r--emacs-config.org10
1 files changed, 9 insertions, 1 deletions
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