码迷,mamicode.com
首页 > 系统相关 > 详细

Emacs org-mode 中文表格排列不整齐问题[已解决]

时间:2014-12-26 18:00:47      阅读:1172      评论:0      收藏:0      [点我收藏+]

标签:

Emacs版本: 24.4.1
系统: linux
将以下配置添加到 .emacs,重启emacs即可。

;; font config for org table showing.
(set-default-font "monospace-11")
(dolist (charset (kana han symbol cjk-misc bopomofo))
   (set-fontset-font (frame-parameter nil font)
                     charset
                     (font-spec :family "WenQuanYi Micro Hei")))
;; tune rescale so that Chinese character width = 2 * English character width
(setq face-font-rescale-alist (("monospace" . 1.0) ("WenQuanYi" . 1.23)))

 

效果图:

技术分享

Emacs org-mode 中文表格排列不整齐问题[已解决]

标签:

原文地址:http://www.cnblogs.com/aqing1987/p/4187101.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!