[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex dd7f844 12/30: Add support of \tag for texmathp

From: Tassilo Horn
Subject: [elpa] externals/auctex dd7f844 12/30: Add support of \tag for texmathp
Date: Fri, 25 Sep 2020 11:00:13 -0400 (EDT)

branch: externals/auctex
commit dd7f8446ca6eb98ce0c633652e8f764c40f033e2
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>

    Add support of \tag for texmathp
    * style/amsmath.el (): Add entries for \tag and \tag* to
    ; Add supplementary comment.
 style/amsmath.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/style/amsmath.el b/style/amsmath.el
index 0fd9817..2179d57 100644
--- a/style/amsmath.el
+++ b/style/amsmath.el
@@ -46,7 +46,11 @@
              ("alignat"       env-on) ("alignat*"      env-on)
              ("xalignat"      env-on) ("xalignat*"     env-on)
              ("xxalignat"     env-on) ("\\boxed"       arg-on)
-             ("\\text"        arg-off) ("\\intertext"   arg-off))))
+             ;; In fact, \text macro is provided separately in
+             ;; amstext.sty, not amsmath.sty. However, it would be
+             ;; reasonable enough to include support for it here.
+             ("\\text"        arg-off) ("\\intertext"   arg-off)
+             ("\\tag"         arg-off) ("\\tag*"        arg-off))))
   (dolist (entry list)
     (cl-pushnew entry texmathp-tex-commands-default :test #'equal)))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]