|
|
@@ -148,8 +148,9 @@
|
|
|
|
(setq org-noter-always-create-frame nil
|
|
|
|
(setq org-noter-always-create-frame nil
|
|
|
|
org-noter-doc-split-fraction '(0.7 . 0.3)
|
|
|
|
org-noter-doc-split-fraction '(0.7 . 0.3)
|
|
|
|
org-noter-default-heading-title " "))
|
|
|
|
org-noter-default-heading-title " "))
|
|
|
|
;; Increase the latex preview size
|
|
|
|
;; Show latex preview automatically and increase its size
|
|
|
|
(setq org-format-latex-options (plist-put org-format-latex-options :scale 3.0))
|
|
|
|
(setq org-startup-with-latex-preview t
|
|
|
|
|
|
|
|
org-format-latex-options (plist-put org-format-latex-options :scale 3.0))
|
|
|
|
;; Close tags automatically
|
|
|
|
;; Close tags automatically
|
|
|
|
(after! smartparens
|
|
|
|
(after! smartparens
|
|
|
|
(sp-with-modes 'org-mode
|
|
|
|
(sp-with-modes 'org-mode
|
|
|
@@ -160,5 +161,7 @@
|
|
|
|
(sp-local-pair "$" "$")))
|
|
|
|
(sp-local-pair "$" "$")))
|
|
|
|
;; Only show a task once if it has a schedule and deadline
|
|
|
|
;; Only show a task once if it has a schedule and deadline
|
|
|
|
(setq org-agenda-skip-deadline-prewarning-if-scheduled t)
|
|
|
|
(setq org-agenda-skip-deadline-prewarning-if-scheduled t)
|
|
|
|
|
|
|
|
;; Show raw latex when the cursor on the expression
|
|
|
|
|
|
|
|
(add-hook 'org-mode-hook 'org-fragtog-mode)
|
|
|
|
;; Auto tangle on save
|
|
|
|
;; Auto tangle on save
|
|
|
|
(add-hook 'org-mode-hook 'org-auto-tangle-mode)
|
|
|
|
(add-hook 'org-mode-hook 'org-auto-tangle-mode)
|
|
|
|