我最近放弃了valign,因为大表格太慢了
改用cnfonts, GitHub - tumashu/cnfonts: emacs中文字体配置工具。可以快速方便的的实现中文字体和英文字体等宽(也就是常说的中英文对齐)。 参考项目上的介绍,用
cnfonts-edit-profile 里面的对齐,设置了org-mode profile
但是每次打开org文件,都需要手动运行命令 cnfonts-switch-profile 选择org-mode profile才能对齐表格
什么方法能打开org文件就自动使用这个profile呢? init.el 中 org-mode profile已经放在第一个了,如下
;; org table对齐设置
(require 'cnfonts)
(cnfonts-mode 1)
(setq cnfonts-profiles
'("org-mode" "program" "read-book"))