Hi,

I’m quite new to emacs. Using doom-emacs I have the following lines in my config.el:

(after! org
  (custom-set-faces!
    '(org-document-title :height 2.0)
    '(org-level-1 :inherit outline-1 :weight extra-bold :height 1.75)
    '(org-level-2 :inherit outline-2 :weight bold :height 1.5)
    '(org-level-3 :inherit outline-3 :weight bold :height 1.25)
    '(org-level-4 :inherit outline-4 :weight bold :height 1.1)
    '(org-level-5 :inherit outline-5 :weight semi-bold :height 1.06)
    '(org-level-6 :inherit outline-6 :weight semi-bold :height 1.03)
    '(org-level-7 :inherit outline-7 :weight semi-bold)
    '(org-level-8 :inherit outline-8 :weight semi-bold)
    ;; Ensure that anything that should be fixed-pitch in org buffers appears that
    ;; way
    '(org-block nil :foreground nil :inherit 'fixed-pitch)
    '(org-code nil   :inherit '(shadow fixed-pitch))
    '(org-table nil   :inherit '(shadow fixed-pitch))
    '(org-verbatim nil :inherit '(shadow fixed-pitch))
    '(org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch))
    '(org-meta-line nil :inherit '(font-lock-comment-face fixed-pitch))
    '(org-checkbox nil :inherit 'fixed-pitch)))

This works fine, but gives me a strange-looking columnview (because many todo-items do have different fontsizes now).

How can I ensure, that - when using columnview - a monospace font with a fixed fontsize is used?

  • _Akastos_OPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Found a solution:

        '(org-column :inherit 'fixed-pitch)