From 474ab8da25266f5d2aee167a2480361c71d39085 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Sat, 12 Nov 2022 16:06:08 +0000 Subject: [PATCH] feat: org keybind for previewing latex --- lisp/org-mode.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/org-mode.el b/lisp/org-mode.el index c8dd5da..5dfd068 100644 --- a/lisp/org-mode.el +++ b/lisp/org-mode.el @@ -34,7 +34,7 @@ :inherit 'org-level-8) ;; Scale up latex elements -(plist-put org-format-latex-options :scale 1.75) +(plist-put org-format-latex-options :scale 2.5) ;; Enable org-superstar-mode in org-mode files (add-hook 'org-mode-hook 'org-superstar-mode) @@ -70,7 +70,8 @@ :keymaps 'normal "n r" '(org-roam-node-find :wk "Find Nodes") "n s" '(org-roam-db-sync :wk "Sync Nodes") - "n c" '(org-todo :wk "Cycle Todo")) + "n c" '(org-todo :wk "Cycle Todo") + "n l" '(org-latex-preview :wk "Preview Latex") ;; Agenda - manage your life with org-mode (general-create-definer diancite/org-agenda