TeX-source-correlate-mode t
TeX-electric-sub-and-superscript t
;; TeX-electric-escape t
- LaTeX-electric-left-right-brace t
- TeX-mode-alist '((tex-mode . tex-mode)
- (plain-tex-mode . tex-mode)
- (latex-mode . tex-mode)
- (doctex-mode . tex-mode)))
+ LaTeX-electric-left-right-brace t)
(setq-default indent-tabs-mode nil)
:background "lavender"
:underline nil)
(set-face-attribute 'mode-line-inactive nil
- :box nil :background nil :underline "black")
-(set-face-attribute 'fringe nil :background nil)
+ :box nil
+ :background nil
+ :underline "black")
+(set-face-attribute 'fringe nil :background nil)
(set-face-attribute 'line-number-current-line nil
:background "yellow"
:inherit nil)
(indent-according-to-mode)))
(with-eval-after-load 'tex
+ (setopt TeX-modes '(tex-mode plain-tex-mode latex-mode doctex-mode))
(add-hook 'plain-TeX-mode-hook
(lambda () (set (make-local-variable 'TeX-electric-math)
(cons "$" "$"))))
(list
(propertize (concat (project-name project) "/ ")
'face 'italic))))
- mode-line-buffer-identification
- "(%["
+ (:propertize "%b" face mode-line-buffer-id)
+ " (%["
mode-name mode-line-process minor-mode-alist
(:eval (when (window-dedicated-p)
" Dedicated"))