From b3b4e7ebe74ef2c525417155ff3a7083255ee546 Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Wed, 14 Aug 2024 05:16:15 -0400 Subject: [PATCH] tweak(org): add more formatting and symbols --- config.org | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index e61b230..66155a7 100644 --- a/config.org +++ b/config.org @@ -2735,6 +2735,16 @@ It's sometimes nice to be able to click a link in an Org file that takes me to o ** Appearance +*** Entities + +#+begin_src emacs-lisp +(after! org + (setq org-pretty-entities t) + (pushnew! org-entities-user + '("top" "\\top" t "⊤" "" "22A4" "⊤") + '("bot" "\\bot" t "⊥" "" "22A5" "⊥"))) +#+end_src + *** Modern Doom Emacs's =+pretty= flag by default uses the package =org-superstar= to prettify Org files. This package is decently nice looking, but it has a much nicer and more comprehensive alternative in the form of =org-modern=. @@ -2779,6 +2789,7 @@ Doom Emacs's =+pretty= flag by default uses the package =org-superstar= to prett ("email" . "󰇰") ("date" . "󰃮") ("property" . "󰆧") + ("startup" . "󰜉") ("filetags" . "󰓼") ("bind" . "󰌷") ("bibliography" . "") @@ -2868,7 +2879,10 @@ Since we've disabled =+pretty=, we need to add the packages we do want from it, :hook (org-mode . org-appear-mode) :config (setq org-appear-autoentities t - org-appear-inside-latex t)) + org-appear-autokeywords t + org-appear-autosubmarkers t + + org-appear-inside-latex nil)) (after! org (setq org-highlight-latex-and-related '(native script entities)))