增加/减少emacs框架中的字体大小(不只是缓冲区) [英] Increase/decrease font size in an emacs frame (not just buffer)

查看:116
本文介绍了增加/减少emacs框架中的字体大小(不只是缓冲区)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 Cx C - + Cx C - (文本尺度调整)在一个缓冲区中增加/减少字体大小非常方便即可。这是很好的减少头部碰撞当一些人在同一个显示器前面一起工作时。



有没有办法增加(并稍后减少)字体大小一个框架(或所有帧同时)?我想知道在每个新的缓冲区中是否有一个比重新键入 Cx C - + 的方法,2-调用Mx x-select-font并使用鼠标选择,并且3-运行elisp代码在临时缓冲区。



更新:



如果您有兴趣满足不只是1-3以上,但也:

  4-保持框架的大小(和位置)。 

然后查看这个问题。

解决方案

请参阅Emacs Wiki页面关于框架缩放



它告诉你有几种方法来做,包括图书馆的命令 zoom-frm.el doremi-frm.el frame-cmds.el



,单个命令 zoom-in / out 可以让一帧或一个缓冲区放大或缩小。 (前者:放大一帧,是你要求的。)


Using C-x C-+ and C-x C-- (text-scale-adjust) is very convenient to increase/decrease the font size in one buffer. This is nice to reduce head bumping when a few people work together in front of the same monitor.

Is there a way to increase (and later decrease) the font size in one frame (or all frames simultaneously)? I am wondering if there is a way faster than 1- retyping C-x C-+ in each new buffer, 2- Calling M-x x-select-font and using the mouse to choose, and 3- running elisp code in the scratch buffer.

Update:

If you are interested in satisfying not just 1-3 above but also:

4- Keep the size (and position) of the frame still.

Then look at this question.

解决方案

See the Emacs Wiki page about frame zooming.

It tells you about several ways to do this, including commands from libraries zoom-frm.el, doremi-frm.el, and frame-cmds.el.

In particular, the single command zoom-in/out lets you zoom either a frame or a buffer in or out. (The former: zooming a frame, is what you requested.)

这篇关于增加/减少emacs框架中的字体大小(不只是缓冲区)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆