B166Er 的窝

Happy coding

Emacs-snapshot-gtk (emacs23) 字体设置

参考:

Emacs23字体优化 ease.blogbus.com/logs/8041520.html

Pretty Emacs  http://peadrop.com/blog/2007/01/06/pretty-emacs/

配置文件.emacs,仅设置了中文字体和texlive:

;;设置中文字体
(set-fontset-font (frame-parameter nil 'font)  'han '("WenQuanYi Bitmap Song" . "unicode-bmp"))

;;启动LaTeX设置
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)

;;使用颜色主题
(require 'color-theme)
(if window-system
    (if (> (caddr (decode-time (current-time))) 18)
        (color-theme-arjen)             ;白天光线好用黑色系的主题
      (color-theme-deep-blue))          ;晚上光线差用深蓝系的主题
;;(color-theme-tty-dark)
)