I have this in my Emacs:
I want the title and headers to be the same as the normal text. What should I put into my .spacemacs file?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
This is easiest achieved via the customization interface. You should remove (disable) the height attributes from the
org-document-title and the
org-level-1,2,3... faces. You navigate to the correct section of the customization menu by using either
SPC SPC customize-group
SPC SPC customize-variable and then choose some specific face.
After disabling the height attributes by 'unchecking' the box and saving the settings (press
C-x C-s or the
Apply and Save button), the configuration is added to the last section of your dotfile.
If you prefer to set it from your
user-config, then you could use:
(with-eval-after-load 'org-faces (dolist (face '(org-document-title org-level-1 org-level-2 org-level-3)) (set-face-attribute face nil :height 1.0)))
Using a float for the height attribute makes Emacs use 'relative scaling' (see [section 'Face attributes' in the elisp reference](40.12.1 Face Attributes)).