Navigation :
Top/YaTeX
YaTeX
.emacsで以下のファイルを読ませる
;;; ;;; YaTeX - Yet another LaTeX mode for Emacs ;;; ;; load YaTaX (setq load-path (cons (expand-file-name "/usr/share/emacs/site-lisp/yatex") load-path)) ;;; YaTeX mode (setq auto-mode-alist (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) ;;; command (setq tex-command "platex") (setq dvi2-command "xdvi -geo +0+0 -s 4 ") (setq bibtex-command "jbibtex") (setq makeindex-command "makeindex") (setq dviprint-command-format "dvips %f %t %s") <- 改良の余地あり (setq dviprint-from-format "-p %b") (setq dviprint-to-format "-l %e") (setq YaTeX-default-documentclass "jsarticle") ; 新ドキュメントクラス ;;; 漢字コードの設定 (setq YaTeX-kanji-code 1) ; 1 = Shift JIS, [2] = JIS, 3 = EUC ;;; LaTeX2e mode (setq YaTeX-use-LaTeX2e t) ;;; ?? (setq YaTeX-use-font-lock t) ;;; YaTeX end