26 |
'("aligned" LaTeX-amsmath-env-aligned) |
'("aligned" LaTeX-amsmath-env-aligned) |
27 |
'("gathered" LaTeX-amsmath-env-aligned) |
'("gathered" LaTeX-amsmath-env-aligned) |
28 |
"align*" "gather*" "flalign*" "multline*" "equation*" |
"align*" "gather*" "flalign*" "multline*" "equation*" |
|
"alignat*" "xalignat*" |
|
29 |
"split" |
"split" |
30 |
"cases" |
"cases" |
31 |
"matrix" "smallmatrix" "pmatrix" "bmatrix" "Bmatrix" "vmatrix" "Vmatrix" |
"matrix" "smallmatrix" "pmatrix" "bmatrix" "Bmatrix" "vmatrix" "Vmatrix" |
81 |
("aligned" . LaTeX-item-equation) |
("aligned" . LaTeX-item-equation) |
82 |
("alignat" . LaTeX-item-equations) |
("alignat" . LaTeX-item-equations) |
83 |
("alignat*" . LaTeX-item-equation) |
("alignat*" . LaTeX-item-equation) |
84 |
|
("xalignat" . LaTeX-item-equations) |
85 |
|
("xalignat*" . LaTeX-item-equation) |
86 |
|
("xxalignat" . LaTeX-item-equation) |
87 |
("flalign" . LaTeX-item-equations) |
("flalign" . LaTeX-item-equations) |
88 |
("flalign*" . LaTeX-item-equation) |
("flalign*" . LaTeX-item-equation) |
89 |
("cases" . LaTeX-item-equation)) |
("cases" . LaTeX-item-equation)) |
90 |
LaTeX-item-list)) |
LaTeX-item-list)) |
91 |
|
|
92 |
;; When `LaTeX-amsmath-label' i nil, use value of LaTeX-equation-label: |
;; When `LaTeX-amsmath-label' is nil, use value of LaTeX-equation-label: |
93 |
(unless LaTeX-amsmath-label |
(unless LaTeX-amsmath-label |
94 |
(setq LaTeX-amsmath-label LaTeX-equation-label)) |
(setq LaTeX-amsmath-label LaTeX-equation-label)) |
95 |
|
|
115 |
(let ((ncols (read-string "Number of columns: "))) |
(let ((ncols (read-string "Number of columns: "))) |
116 |
(LaTeX-insert-environment env (concat TeX-grop ncols TeX-grcl)) |
(LaTeX-insert-environment env (concat TeX-grop ncols TeX-grcl)) |
117 |
(and (not (string= "xxalignat" env)) |
(and (not (string= "xxalignat" env)) |
118 |
|
(not (string= "*" (substring env -1))) |
119 |
(LaTeX-label environment) |
(LaTeX-label environment) |
120 |
(newline-and-indent)))) |
(newline-and-indent)))) |
121 |
|
|