Home /

Variable Spaced Fonts in Doom Emacs

You can use the mixed-pitch package to manage your variably spaced fonts in Doom Emacs.

;; .doom.d/config.el
(use-package mixed-pitch
:hook
;; If you want it in all text modes:
(text-mode . mixed-pitch-mode))

Remember to require the package:

;; .doom.d/packages.el
(package! mixed-pitch)

Next you may notice that your company completions are off. This requires installing company-box. Doom gives us a flag on company to intall and manage this dependency for us.

;; .doom.d/init.el
:completion
(company +childframe)

Doom will add the package! and add-hook code for us now.

I had to restart emacs to get this to work.

Resources