Emacs Init: Variable Pitch Mode (Proportional Font)
Setup Proportional Font by Major Mode
Here's how to make some Major Mode always use proportional font.
Put this in your Emacs Init File:
(progn ;; use variable-width font for some modes (defun xah-use-variable-width-font () "Set current buffer to use variable-width font." (variable-pitch-mode 1) ;; (text-scale-increase 1 ) ) (add-hook 'nxml-mode-hook 'xah-use-variable-width-font) (add-hook 'emacs-lisp-mode-hook 'xah-use-variable-width-font) (add-hook 'js-mode-hook 'xah-use-variable-width-font) (add-hook 'css-mode-hook 'xah-use-variable-width-font) (add-hook 'html-mode-hook 'xah-use-variable-width-font) (add-hook 'mhtml-mode-hook 'xah-use-variable-width-font))
Emacs Monospace, Proportional Font
Emacs, font setup
- Emacs: Change Font Size
- Emacs: Change Default Font Size by Command, for Current Session 🚀
- Emacs: Get Character Info, Cursor Position
- Emacs: Toggle Monospace / Proportional Font
- Best Unicode Fonts for Programer
- Emacs: Cycle Fonts by Command 🚀
- Emacs Init: Setup Font
- Emacs Init: Font for Unicode Symbols
- Emacs Init: Font for Emoji
- Emacs Init: Font for Chinese
- Emacs Init: Minibuffer Font Size
- Emacs Init: Variable Pitch Mode (Proportional Font)
- Elisp: Modify Default Face (Font)
- Emacs Init: Display Lambda as λ