B166Er 的窝

Happy coding

LaTeX中汉字下加点儿的方法

经常用到汉字下加点儿表示强调,今天知道怎么实现了,就是加上这个包:

\usepackage{CJKfntef}

然后在需要加点儿时,就用

\CJKunderdot{中文}

就可以了。同理也可以加下划线

\CJKunderline{中文}

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)
)