See node Text Scale of the Emacs manual (C-h r
).
It tells you how to incrementally enlarge/reduce the size of the text in a buffer.
14.11 Text ScaleTo increase the height of the default face in the current buffer, type
C-x C-+
orC-x C-=
. To decrease it, typeC-x C--
. To restore the default (global) face height, typeC-x C-0
. These keys are all bound to the same command,text-scale-adjust
, which looks at the last key typed to determine which action to take.The final key of these commands may be repeated without the leading
C-x
. For instance,C-x C-= C-= C-=
increases the face height by three steps. Each step scales the text height by a factor of 1.2; to change this factor, customize the variabletext-scale-mode-step
. A numeric argument of 0 to thetext-scale-adjust
command restores the default height, the same as typingC-x C-0
.The commands
text-scale-increase
andtext-scale-decrease
increase or decrease the height of the default face, just likeC-x C-+
andC-x C--
respectively. You may find it convenient to bind to these commands, rather thantext-scale-adjust
.The command
text-scale-set
scales the height of the default face in the current buffer to an absolute level specified by its prefix argument.The above commands automatically enable the minor mode
text-scale-mode
if the current font scaling is other than 1, and disable it otherwise.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4