From 5d952151314d523fb04e753df9555273dbdcf976 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sat, 22 Feb 2020 23:13:17 -0500 Subject: add example nev latex auctex --- .emacs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.emacs b/.emacs index c3138f5..4e5d808 100644 --- a/.emacs +++ b/.emacs @@ -318,6 +318,7 @@ Otherwise split the current paragraph into one sentence per line." '("definition" LaTeX-env-label) '("corollary" LaTeX-env-label) '("lemma" LaTeX-env-label) + '("example" LaTeX-env-label) '("conjecture" LaTeX-env-label)))) (LaTeX-mode . (lambda () ;; This must be a hook. Trying to set it in :config @@ -330,6 +331,7 @@ Otherwise split the current paragraph into one sentence per line." (add-to-list 'LaTeX-label-alist '("definition" . "def:")) (add-to-list 'LaTeX-label-alist '("proposition" . "prop:")) (add-to-list 'LaTeX-label-alist '("theorem" . "theorem:")) + (add-to-list 'LaTeX-label-alist '("example" . "ex:")) (add-to-list 'LaTeX-label-alist '("lemma" . "lemma:"))))) :config -- cgit v1.2.3