Tweaks to the display of Org files

This commit is contained in:
Howard Abrams 2024-10-19 13:42:17 -07:00
parent bc06c77df5
commit db4c460453

View file

@ -275,8 +275,7 @@ Well, using the =composition-function-table=, we can finally get some ligatures
#+end_src #+end_src
This is now fine and ffantastic! This is now fine and ffantastic!
* Org Beautify * Org Beautify
I really want to use the Org Beautify package, but it overrides my darker themes (and all I really want is headlines to behave). The Org Beautify package, overrides my darker themes, and headlines should behave, so I manually set these:
#+begin_src emacs-lisp #+begin_src emacs-lisp
(defun ha-word-processor-fonts () (defun ha-word-processor-fonts ()
@ -301,13 +300,9 @@ I really want to use the Org Beautify package, but it overrides my darker themes
(dolist (face '(org-block org-code org-verbatim org-table org-drawer (dolist (face '(org-block org-code org-verbatim org-table org-drawer
org-table org-formula org-special-keyword org-block org-table org-formula org-special-keyword org-block
org-property-value org-document-info-keyword)) org-property-value org-document-info-keyword))
(set-face-attribute face nil :inherit 'fixed-pitch :height 0.9)) (set-face-attribute face nil :inherit 'fixed-pitch :height 'unspecified))
;; While we are at it, lets make sure the code blocks are using my fixed with font: (set-face-attribute 'org-block-begin-line nil :height 0.85)
(set-face-attribute 'org-table nil :height 1.0)
(set-face-attribute 'org-formula nil :height 1.0)
(set-face-attribute 'org-block-begin-line nil :height 0.9)
(set-face-attribute 'org-block-end-line nil :height 0.8) (set-face-attribute 'org-block-end-line nil :height 0.8)
(set-face-attribute 'org-drawer nil :height 0.8) (set-face-attribute 'org-drawer nil :height 0.8)