Various Org tweaks

This commit is contained in:
Kiana Sheibani 2024-04-09 14:06:36 -04:00
parent f64b8df3bf
commit 981df86f14
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -2539,7 +2539,6 @@ Unfortunately, with that power comes a *lot* of configuration work up-front. It
org-indent-indentation-per-level 0 ; No heading indentation org-indent-indentation-per-level 0 ; No heading indentation
org-cycle-separator-lines 1 ; Keep 1-line padding between folded headings org-cycle-separator-lines 1 ; Keep 1-line padding between folded headings
org-hide-emphasis-markers t ; Hide *emphasis* org-hide-emphasis-markers t ; Hide *emphasis*
org-pretty-entities t ; UTF-8 formatted latex symbls
org-image-actual-width '(550) ; Default images to 550px org-image-actual-width '(550) ; Default images to 550px
org-format-latex-options ; Make latex preview smaller org-format-latex-options ; Make latex preview smaller
(plist-put org-format-latex-options :scale 0.55) (plist-put org-format-latex-options :scale 0.55)
@ -2784,25 +2783,27 @@ The default colors for various elements of =org-modern= don't match with our the
`(org-modern-horizontal-rule `(org-modern-horizontal-rule
:strike-through ,(doom-color 'grey) :inherit org-hide) :strike-through ,(doom-color 'grey) :inherit org-hide)
`(org-modern-done `(org-modern-done
:height 1.1
:foreground ,(doom-color 'fg-alt) :foreground ,(doom-color 'fg-alt)
:background ,(doom-color 'modeline-bg) :background ,(doom-color 'modeline-bg)
:inherit org-modern-label) :inherit org-modern-label)
`(org-modern-date-active `(org-modern-date-active
:height 1.1
:foreground ,(doom-color 'brown) :foreground ,(doom-color 'brown)
:inherit org-modern-done) :inherit org-modern-done)
`(org-modern-date-inactive `(org-modern-date-inactive
:foreground ,(doom-color 'doc-comments) :foreground ,(doom-color 'doc-comments)
:inherit org-modern-date-active) :inherit org-modern-date-active)
`(org-modern-time-active `(org-modern-time-active
:height 1.1
:foreground ,(doom-color 'fg-alt) :foreground ,(doom-color 'fg-alt)
:background ,(doom-color 'base0) :background ,(doom-color 'base0)
:inherit org-modern-label) :inherit org-modern-done)
`(org-modern-time-inactive `(org-modern-time-inactive
:foreground ,(doom-color 'grey) :foreground ,(doom-color 'grey)
:background ,(doom-color 'modeline-bg-l) :background ,(doom-color 'modeline-bg-l)
:inherit org-modern-time-active))) :inherit org-modern-time-active)
`(org-modern-statistics
:foreground ,(doom-color 'yellow)
:inherit org-checkbox-statistics-todo)))
#+end_src #+end_src
*** Appear *** Appear
@ -2817,7 +2818,8 @@ Since we've disabled =+pretty=, we need to add the packages we do want from it,
(use-package! org-appear (use-package! org-appear
:hook (org-mode . org-appear-mode) :hook (org-mode . org-appear-mode)
:config :config
(setq org-appear-autoentities t)) (setq org-appear-autoentities t
org-appear-inside-latex t))
(after! org (after! org
(setq org-highlight-latex-and-related '(native script entities))) (setq org-highlight-latex-and-related '(native script entities)))