--- style/amsmath.el-11.87 2008-02-03 23:53:31.000000000 +0900 +++ style/amsmath.el 2012-12-05 00:13:24.000000000 +0900 @@ -45,6 +45,7 @@ '("xxalignat" LaTeX-amsmath-env-alignat) '("aligned" LaTeX-amsmath-env-aligned) '("gathered" LaTeX-amsmath-env-aligned) + '("alignedat" LaTeX-amsmath-env-alignedat) "align*" "gather*" "flalign*" "multline*" "equation*" "split" "cases" @@ -56,6 +57,7 @@ '("eqref" TeX-arg-ref) '("numberwithin" TeX-arg-counter "Section level") '("raisetag" "Dimension") + '("shoveright" t) '("shoveleft" t) '("intertext" t) '("hdotsfor" ["Stretch"] "Number of columns to cover") '("xleftarrow" ["Below"] "Above") @@ -111,6 +113,7 @@ ("xalignat" . LaTeX-item-equations) ("xalignat*" . LaTeX-item-equation) ("xxalignat" . LaTeX-item-equation) + ("alignedat" . LaTeX-item-equation) ("flalign" . LaTeX-item-equations) ("flalign*" . LaTeX-item-equation) ("matrix" . LaTeX-item-equation) @@ -119,6 +122,7 @@ ("Bmatrix" . LaTeX-item-equation) ("vmatrix" . LaTeX-item-equation) ("Vmatrix" . LaTeX-item-equation) + ("subarray" . LaTeX-item-equation) ("cases" . LaTeX-item-equation)) LaTeX-item-list)) @@ -158,6 +162,14 @@ (setq where (concat "[" where "]"))) (LaTeX-insert-environment env where))) +(defun LaTeX-amsmath-env-alignedat (env) + (let ((where (read-string "(optional) Vertical position (t or b): ")) + (ncols (read-string "Number of columns: "))) + (if (string= where "") + (setq where "") + (setq where (concat "[" where "]"))) + (LaTeX-insert-environment env (concat where TeX-grop ncols TeX-grcl)))) + (defun LaTeX-item-equation () (end-of-line 0) (just-one-space) --- font-latex.el-11.87 2012-09-13 19:14:18.000000000 +0900 +++ font-latex.el 2012-12-24 01:37:51.000000000 +0900 @@ -824,7 +824,7 @@ KEYWORDS is a list of keywords or keywords with syntax specs. CLASS corresponds to a keyword class and can be one of the symbols 'warning, 'variable, 'reference, 'biblatex, 'function, -sectioning-0, 'sectioning-1, 'sectioning-2, 'sectioning-3, +'sectioning-0, 'sectioning-1, 'sectioning-2, 'sectioning-3, 'sectioning-4, 'sectioning-5, 'slide-title, 'textual, 'bold-command, 'italic-command, 'math-command, 'type-command, 'bold-declaration, 'italic-declaration or 'type-declaration. @@ -1671,7 +1671,7 @@ (defcustom font-latex-math-environments '("display" "displaymath" "equation" "eqnarray" "gather" "multline" - "align" "alignat" "xalignat") + "align" "alignat" "xalignat" "xxalignat" "flalign") "List of math environment names for font locking." :type '(repeat string) :group 'font-latex)