[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa 7d5c9ba 20/35: ; Add missing macro \DeclareRightDelimiter
From: |
Tassilo Horn |
Subject: |
[elpa] elpa 7d5c9ba 20/35: ; Add missing macro \DeclareRightDelimiter |
Date: |
Thu, 1 Sep 2016 15:57:49 +0000 (UTC) |
branch: elpa
commit 7d5c9bae1ea6669ec94e12bb12ebbf212f6d1b5a
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>
; Add missing macro \DeclareRightDelimiter
* style/empheq.el ("empheq"): Add missing macro \DeclareRightDelimiter.
("empheq"): Run `LaTeX-empheq-update-key-val-options' when
using \DeclareLeftDelimiter.
("empheq"): Add missing braces for \end part.
---
style/empheq.el | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/style/empheq.el b/style/empheq.el
index 5ccc502..cbafdb1 100644
--- a/style/empheq.el
+++ b/style/empheq.el
@@ -429,9 +429,9 @@ number of ampersands if possible."
(TeX-ispell-skip-setcdr
`(,(cons (concat "\\(AmS\\(?:align\\(?:\\*\\|at\\*?\\)?\\|"
"equation\\*?\\|flalign\\*?\\|gather\\*?\\|multline\\*?\\)\\)")
- (concat "\\\\end"
+ (concat "\\\\end{"
"\\(AmS\\(?:align\\(?:\\*\\|at\\*?\\)?\\|"
-
"equation\\*?\\|flalign\\*?\\|gather\\*?\\|multline\\*?\\)\\)")))))
+
"equation\\*?\\|flalign\\*?\\|gather\\*?\\|multline\\*?\\)\\)}")))))
;; 3.2 Support for ntheorem
(LaTeX-add-lengths "mintagvsep")
@@ -445,7 +445,19 @@ number of ampersands if possible."
(let ((delim (TeX-read-string (concat "Delimiter: " TeX-esc))))
(TeX-add-symbols (concat "empheq" delim)
(concat "empheqbig" delim))
- (LaTeX-add-empheq-declaredelimiters delim)
+ (LaTeX-add-empheq-declaredelimiters `(,delim "Left"))
+ (LaTeX-empheq-update-key-val-options)
+ (concat TeX-esc delim)))))
+
+ '("DeclareRightDelimiter"
+ [ "Space adjustment" ]
+ (TeX-arg-eval
+ (lambda ()
+ (let ((delim (TeX-read-string (concat "Delimiter: " TeX-esc))))
+ (TeX-add-symbols (concat "empheq" delim)
+ (concat "empheqbig" delim))
+ (LaTeX-add-empheq-declaredelimiters `(,delim "Right"))
+ (LaTeX-empheq-update-key-val-options)
(concat TeX-esc delim))))))
;; 4.2 Fine-tuning of delimiters
- [elpa] elpa updated (8eca45c -> a474cb4), Tassilo Horn, 2016/09/01
- [elpa] elpa 2388815 07/35: Change test for PDF Tools availability, Tassilo Horn, 2016/09/01
- [elpa] elpa 7d5c9ba 20/35: ; Add missing macro \DeclareRightDelimiter,
Tassilo Horn <=
- [elpa] elpa 5232279 21/35: Remove obsolete TeX-function-p function, Tassilo Horn, 2016/09/01
- [elpa] elpa e4b2e6a 24/35: Make TeX-previous-error go backward, Tassilo Horn, 2016/09/01
- [elpa] elpa fad3600 17/35: Add new style/pdflscape.el, Tassilo Horn, 2016/09/01
- [elpa] elpa 98a83e9 08/35: Fix to doc/auctex.texi, Tassilo Horn, 2016/09/01
- [elpa] elpa f375c1f 22/35: Fold environments with * in name, Tassilo Horn, 2016/09/01
- [elpa] elpa 9e3230f 28/35: Use `TeX-ispell-skip-setcdr' on user defined list environments, Tassilo Horn, 2016/09/01
- [elpa] elpa e45c6d9 18/35: Add new style/commath.el, Tassilo Horn, 2016/09/01
- [elpa] elpa 29d4cb4 05/35: Document TeX-raise-frame-function, Tassilo Horn, 2016/09/01
- [elpa] elpa 25bdcb2 31/35: Add new style/framed.el, Tassilo Horn, 2016/09/01
- [elpa] elpa 5745c81 02/35: Fix compatibility with GNU Emacs < 24, Tassilo Horn, 2016/09/01