组织模式的“可变间距",表格的固定间距? [英] `variable-pitch` for org-mode, fixed-pitch for tables?

查看:26
本文介绍了组织模式的“可变间距",表格的固定间距?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现了 variable-pitch-mode 通过 StackOverflow 上的一个线程,在 org-mode 中编写时非常方便,对眼睛和一切都更容易.但是在使用比例字体时,在 org 中使用表格几乎毫无价值.能够使用表格是 org-mode :-(

I found out about variable-pitch-mode through a thread here on StackOverflow, and it's very handy when writing in org-mode, easier on the eyes and everything. But using tables in org is close to worthless when using proportional fonts. And being able to use tables is one of the strengths with org-mode :-(

有没有办法让文本、标题等按比例使用字体,而在 org-mode 中为表格使用等宽字体?

Is there any way to have proportional fonts for text, headings etc. but a monospace font for tables in org-mode?

推荐答案

看看是否可行,

(set-face-attribute 'org-table nil :inherit 'fixed-pitch)

您可以使用 C-u C-x = 来查看哪个面在特定点有效.

You may use C-u C-x = to see which face is in effect at a particular point.

这篇关于组织模式的“可变间距",表格的固定间距?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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