Show latex preview automatically in org mode

This commit is contained in:
coolneng 2022-10-11 08:59:45 +02:00
parent a60d59643f
commit 70d27dc4a8
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 2 deletions

View File

@ -148,8 +148,9 @@
(setq org-noter-always-create-frame nil
org-noter-doc-split-fraction '(0.7 . 0.3)
org-noter-default-heading-title " "))
;; Increase the latex preview size
(setq org-format-latex-options (plist-put org-format-latex-options :scale 3.0))
;; Show latex preview automatically and increase its size
(setq org-startup-with-latex-preview t
org-format-latex-options (plist-put org-format-latex-options :scale 3.0))
;; Close tags automatically
(after! smartparens
(sp-with-modes 'org-mode