字体看着舒服很重要,放入~/.emacs中如下代码
(custom-set-faces
'(default ((t (:stipple nil
:background "SystemWindow" :foreground "SystemWindowText"
:inverse-video nil :box nil :strike-through nil
:overline nil :underline nil :slant normal :weight normal
:height 98 :width normal :family "outline-新宋体"
:baseline-offset 100
:font "-outline-新宋体-normal-r-normal-normal-12-*-96-96-c-*-*-gb2312"
))))
;; '(default ((t (:fontset "-outline-新宋体-normal-r-normal-normal-13-97-96-96-c-*-*-gb2312"))))
) ;执行一下 /C-x/C-e
(set-default 'line-spacing 1) ;/C-x/C-e
;(describe-face 'default) ;/C-x/C-e
(custom-set-faces
'(default ((t (:stipple nil
:background "SystemWindow" :foreground "SystemWindowText"
:inverse-video nil :box nil :strike-through nil
:overline nil :underline nil :slant normal :weight normal
:height 98 :width normal :family "outline-新宋体"
:baseline-offset 100
:font "-outline-新宋体-normal-r-normal-normal-12-*-96-96-c-*-*-gb2312"
))))
;; '(default ((t (:fontset "-outline-新宋体-normal-r-normal-normal-13-97-96-96-c-*-*-gb2312"))))
) ;执行一下 /C-x/C-e
(set-default 'line-spacing 1) ;/C-x/C-e
;(describe-face 'default) ;/C-x/C-e
本文介绍如何在Emacs编辑器中配置字体和行间距,通过定制代码实现更舒适的阅读体验。具体步骤包括设置默认字体为新宋体并调整行间距。
3081

被折叠的 条评论
为什么被折叠?



