From d3aa8330f38fd6212ecf8fab635ac8fff9acb2ea Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 9 Sep 2015 23:47:08 -0400 Subject: Set TeX-electric-math --- lisp/init-tex.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/init-tex.el b/lisp/init-tex.el index e5abe10..708c19e 100644 --- a/lisp/init-tex.el +++ b/lisp/init-tex.el @@ -1,7 +1,8 @@ (setq reftex-default-bibliography '("refs.bib")) -(setq font-latex-fontify-sectioning 'color) +(setq font-latex-fontify-sectioning 'color + TeX-electric-math '("$" . "$")) (put 'LaTeX-narrow-to-environment 'disabled nil) -- cgit v1.2.3