diff options
-rw-r--r-- | init.org | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -312,33 +312,8 @@ When working on Guix it helps to reduce boilerplate with snippets. I like to ha (yas-global-mode)) #+END_SRC -* Manuals -Also in Info manuals I want to use variable-pitch fonts where possible. Unfortunately, Info manuals don’t contain enough semantic markup, so I cannot selectively use a monospace font for examples or inline code and use a variable pitch font for everything else. So I just use variable pitch in headings. -#+BEGIN_SRC elisp -(require 'info) -(set-face-attribute 'info-title-1 nil - :inherit 'variable-pitch - :height 1.3) -(set-face-attribute 'info-title-2 nil - :inherit 'variable-pitch - :height 1.3) -(set-face-attribute 'info-title-3 nil - :inherit 'variable-pitch - :height 1.3) -(set-face-attribute 'info-menu-header nil - :inherit 'variable-pitch - :height 1.1) -#+END_SRC - -Since Emacs 25 there is a new face for quoted expressions in Info manuals. By default it uses the “courier” font, which looks terrible. - -#+BEGIN_SRC elisp -(set-face-attribute 'Info-quoted nil - :inherit 'fixed-pitch - :family "Monospace") -#+END_SRC * Org-mode |