0

Emacs initiate here, I've just now added different heading sizes for org-mode to my init file, according to the answer on this page: Setting for org-mode bullet font size

(custom-set-faces
 '(org-level-1 ((t (:inherit outline-1 :height 2.0))))
 '(org-level-2 ((t (:inherit outline-1 :height 1.8))))
 ;; etc...
 )

It works fine:

enter image description here

However, I've noticed that the styling for the TODO prefix doesn't take this into account, it just uses the default size.

enter image description here enter image description here

The DONE prefix even less so, as it applies styling to the whole heading. Obviously I'd prefer it if the whole heading had the same font-size, including TODO, DONE or other custom states. Is there a way to make the TODO prefixes scale alongside the rest of the heading?

1
  • If I'm not mistaken, this should already happen out of the box on a recent Org. Can you report what you get from M-x org-version?
    – gusbrs
    Dec 24 '21 at 14:35
0
  • for face of DONE heading, (setq org-fontify-done-headline nil) to make it inherit normal heading style. otherwise it uses face org-headline-done.
  • sytles of todo keywords like TODO|DONE are controlled by org-todo-keyword-faces. Guess you cannot make 'em inherit the default heading style.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.