fix(emacs): use \(...\)
for inline math instead of $...$
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
0cb18c3639
commit
1b94e0e68b
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
||||||
(keymap-substitute cdlatex-mode-map 'cdlatex-dollar 'cdlatex-math-symbol)
|
(keymap-substitute cdlatex-mode-map 'cdlatex-dollar 'cdlatex-math-symbol)
|
||||||
(setq cdlatex-math-symbol-prefix ?$)
|
(setq cdlatex-math-symbol-prefix ?$)
|
||||||
|
|
||||||
|
(setq cdlatex-use-dollar-to-ensure-math nil)
|
||||||
(set (make-local-variable 'TeX-electric-math)
|
(set (make-local-variable 'TeX-electric-math)
|
||||||
(cons "\\(" "\\)"))
|
(cons "\\(" "\\)"))
|
||||||
(set (make-local-variable 'TeX-electric-sub-and-superscript) t)
|
(set (make-local-variable 'TeX-electric-sub-and-superscript) t)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue