auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] Changes to auctex/style/amsmath.el


From: Masayuki Ataka
Subject: [AUCTeX-diffs] Changes to auctex/style/amsmath.el
Date: Wed, 13 Apr 2005 12:04:07 -0400

Index: auctex/style/amsmath.el
diff -u auctex/style/amsmath.el:1.13 auctex/style/amsmath.el:1.14
--- auctex/style/amsmath.el:1.13        Tue Mar  8 17:52:23 2005
+++ auctex/style/amsmath.el     Wed Apr 13 16:04:06 2005
@@ -26,7 +26,6 @@
      '("aligned"    LaTeX-amsmath-env-aligned)
      '("gathered"   LaTeX-amsmath-env-aligned)
      "align*" "gather*" "flalign*" "multline*" "equation*"
-     "alignat*" "xalignat*"
      "split"
      "cases"
      "matrix" "smallmatrix" "pmatrix" "bmatrix" "Bmatrix" "vmatrix" "Vmatrix"
@@ -82,12 +81,15 @@
                     ("aligned"  . LaTeX-item-equation)
                     ("alignat"  . LaTeX-item-equations)
                     ("alignat*" . LaTeX-item-equation)
+                    ("xalignat"  . LaTeX-item-equations)
+                    ("xalignat*" . LaTeX-item-equation)
+                    ("xxalignat" . LaTeX-item-equation)
                     ("flalign"  . LaTeX-item-equations)
                     ("flalign*" . LaTeX-item-equation)
                     ("cases"    . LaTeX-item-equation))
                   LaTeX-item-list))
 
-    ;; When `LaTeX-amsmath-label' i nil, use value of LaTeX-equation-label:
+    ;; When `LaTeX-amsmath-label' is nil, use value of LaTeX-equation-label:
     (unless LaTeX-amsmath-label
       (setq LaTeX-amsmath-label LaTeX-equation-label))
 
@@ -113,6 +115,7 @@
   (let ((ncols (read-string "Number of columns: ")))
     (LaTeX-insert-environment env (concat TeX-grop ncols TeX-grcl))
     (and (not (string= "xxalignat" env))
+        (not (string= "*" (substring env -1)))
         (LaTeX-label environment)
         (newline-and-indent))))
 




reply via email to

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