Emacs: Toggle Monospace / Proportional Font

By Xah Lee. Date: . Last updated: .

Toggle Monospace / Proportional Font

Alt+x variable-pitch-mode
Toggle between monospace and proportional font, in current buffer.
emacs variable-pitch-mode 2021-09-25 SyP3
emacs variable-pitch-mode 2021-09-25
emacs variable pitch 2024-10-08
emacs variable pitch 2024-10-08

Proportional font is useful for reading info doc, email, etc. Proportional font is easier to read, and shows 20 or more characters per line. It also works great for coding too (except Python Tutorial). Try it. You may be surprised.

2010-12-01 Thanks to Oscar Carlsson for suggesting variable-pitch-mode.

Problem of Using Non-Monospace Font in Code

Emacs Monospace, Proportional Font

Emacs, font setup