;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\207" [require tex latex] 2) #@53 Key=value options for environments from empheq.sty. (defvar LaTeX-empheq-key-val-options (byte-code "\300\301\302\303\304\305\"D\306\303\307\310\"D\311BBBB\207" [("box") ("innerbox") "left" mapcar #[257 "P\207" [TeX-esc] 3 "\n\n(fn X)"] ("empheqlbrace" "empheqlbrack" "empheqlangle" "empheqlparen" "empheqlvert" "empheqlVert" "empheqlfloor" "empheqlceil" "empheqbiglbrace" "empheqbiglbrack" "empheqbiglangle" "empheqbiglparen" "empheqbiglvert" "empheqbiglVert" "empheqbiglfloor" "empheqbiglceil") "right" #[257 "P\207" [TeX-esc] 3 "\n\n(fn X)"] ("empheqrbrace" "empheqrbrack" "empheqrangle" "empheqrparen" "empheqrvert" "empheqrVert" "empheqrfloor" "empheqrceil" "empheqbigrbrace" "empheqbigrbrack" "empheqbigrangle" "empheqbigrparen" "empheqbigrvert" "empheqbigrVert" "empheqbigrfloor" "empheqbigrceil") (("outerbox") ("marginbox"))] 7) (#$ . 150)) #@66 Buffer-local key=value options for environments from empheq.sty. (defvar LaTeX-empheq-key-val-options-local nil (#$ . 1010)) (make-local-variable 'LaTeX-empheq-key-val-options-local) #@59 List of amsmath environments supported by empheq package. (defvar LaTeX-empheq-supported-amsmath-envs '("equation" "equation*" "align" "align*" "gather" "gather*" "flalign" "flalign*" "alignat" "alignat*" "multline" "multline*") (#$ . 1199)) #@41 Package options for the empheq package. (defvar LaTeX-empheq-package-options '("overload" "overload2" "ntheorem" "newmultline" "oldmultline") (#$ . 1447)) (byte-code "\302\303!\210\211\203\211@\211 \235\204\211 BA\266\202\202\207" [LaTeX-mathtools-package-options LaTeX-empheq-package-options TeX-load-style "mathtools"] 4) #@101 Information about empheq-declaredelimiters in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-auto-empheq-declaredelimiter nil (#$ . 1787)) #@101 Information about empheq-declaredelimiters in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-empheq-declaredelimiter-list nil (#$ . 1954)) (make-variable-buffer-local 'LaTeX-empheq-declaredelimiter-list) #@101 Information about empheq-declaredelimiters in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-empheq-declaredelimiter-changed nil (#$ . 2186)) (make-variable-buffer-local 'LaTeX-empheq-declaredelimiter-changed) #@142 Add information about EMPHEQ-DECLAREDELIMITERS to the current buffer. Generated by `TeX-auto-add-type'. (fn &rest EMPHEQ-DECLAREDELIMITERS) (defalias 'LaTeX-add-empheq-declaredelimiters #[128 "\300\301\"\207" [TeX-auto-add-information "empheq-declaredelimiter"] 4 (#$ . 2424)]) #@98 List of empheq-declaredelimiters active in the current buffer. Generated by `TeX-auto-add-type'. (defalias 'LaTeX-empheq-declaredelimiter-list #[0 "\300\301!\207" [TeX-auto-list-information "empheq-declaredelimiter"] 2 (#$ . 2710)]) (byte-code "\300\301\302\303#\210\304\305\306\"\207" [add-to-list TeX-auto-parser ("empheq-declaredelimiter" LaTeX-auto-empheq-declaredelimiter LaTeX-add-empheq-declaredelimiters LaTeX-empheq-declaredelimiter-list LaTeX-empheq-declaredelimiter-changed) t add-hook TeX-remove-style-hook #[0 "\301\211\207" [LaTeX-empheq-declaredelimiter-list nil] 2]] 4) #@76 Matches the argument of \Declare(Left|Right)Delimiter from empheq package. (defvar LaTeX-empheq-declaredelimiter-regexp (byte-code "\301\302!\303Q\304B\207" [TeX-esc "\\\\Declare\\(Left\\|Right\\)Delimiter[ \n %]*\\(?:\\[[^]]*\\]\\)?[ \n %]*{" regexp-quote "\\([^}]+\\)}" ((2 1) LaTeX-auto-empheq-declaredelimiter)] 3) (#$ . 3303)) #@60 Clear `LaTeX-auto-empheq-declaredelimiter' before parsing. (defalias 'LaTeX-empheq-auto-prepare #[0 "\301\211\207" [LaTeX-auto-empheq-declaredelimiter nil] 2 (#$ . 3644)]) #@28 Process parsed delimiters. (defalias 'LaTeX-empheq-auto-cleanup #[0 "\300\301\302 \"\211\203\211@\303\304P\305P\"\210A\266\202\202\210\306 \207" [mapcar car LaTeX-empheq-declaredelimiter-list TeX-add-symbols "empheq" "empheqbig" LaTeX-empheq-update-key-val-options] 6 (#$ . 3823)]) (byte-code "\300\301\302\303#\210\300\304\305\303#\210\300\306\307\303#\207" [add-hook TeX-auto-prepare-hook LaTeX-empheq-auto-prepare t TeX-auto-cleanup-hook LaTeX-empheq-auto-cleanup TeX-update-style-hook TeX-auto-parse] 4) #@115 Update `LaTeX-empheq-key-val-options-local' if the function `LaTeX-empheq-declaredelimiter-list' returns non-nil. (defalias 'LaTeX-empheq-update-key-val-options #[0 "\303 \205\324\304\305\"A@\304\306\"A@\307!\310\211\303 \211\203\225\211@\211@A@\211\311\230\203^ \312Q\211\235\2039\202=\211B\262\262 \313Q\211\235\203Q\202U\211B\262\262\266\202\216 \312Q\211\235\203m\202q\211B\262\262 \313Q\211\235\203\204\202\210\211B\262\262\266A\266\202\202\210\203\262\314\304\305\"@\"\262\315\"\262\305DB\262\211\203\315\314\304\306\"@\"\262\315\"\262\306DB\262\307!\211\266\205\207" [LaTeX-empheq-key-val-options TeX-esc LaTeX-empheq-key-val-options-local LaTeX-empheq-declaredelimiter-list assoc "left" "right" copy-alist nil "Left" "empheq" "empheqbig" assq-delete-all append] 12 (#$ . 4345)]) #@80 Query for a supported amsmath environment and insert it accordingly. (fn ENV) (defalias 'LaTeX-empheq-env #[257 "\306\307\"\310\311\312\211\313# \"\211\314\230\204\211\315\230\205\316\311\312\211\317#!\312\320\2052\321\230?\2052\n Q\f\203F\321\230\204F\322Q\202H R\"\210\323\"\203a\324\325\"\203a\326 \210\327 \210\205{\321\230?\205{\330!\262\212\331\211\\S\332\"c)\207" [LaTeX-empheq-key-val-options-local LaTeX-empheq-supported-amsmath-envs LaTeX-optop LaTeX-optcl TeX-grop TeX-grcl TeX-read-key-val t completing-read TeX-argument-prompt nil "amsmath environment" "alignat" "alignat*" TeX-read-string "Number of columns" LaTeX-insert-environment "" "=" assoc LaTeX-label environment LaTeX-newline indent-according-to-mode string-to-number make-string 38 LaTeX-label-alist] 12 (#$ . 5217)]) #@240 Insert amsmath ENV's when option overload is given to empheq package. This function combines the capabilities of `LaTeX-env-label' and `LaTeX-amsmath-env-alignat'. It overwrites the definitions of `amsmath.el'. (fn ENV &optional IGNORE) (defalias 'LaTeX-empheq-env-overload #[513 "\306\230\204\f\307\230\2034\310\311\312\211\313#!\314\315\316#\317 \n\205-\320\230?\205- \fQR\"\210\321\315!\207\314\315\316#\317\205J\320\230?\205J \fQ\"\210\322 \"\205_\323\324\"\205_\325 \210\326 \207" [LaTeX-empheq-key-val-options-local TeX-grop TeX-grcl LaTeX-optop LaTeX-optcl LaTeX-label-alist "alignat" "alignat*" TeX-read-string TeX-argument-prompt nil "Number of columns" TeX-read-key-val t "empheq options (k=v)" LaTeX-insert-environment "" LaTeX-item-equation-alignat assoc LaTeX-label environment LaTeX-newline indent-according-to-mode] 12 (#$ . 6053)]) #@232 Insert contents to terminate a line in multi-line equations environment. Put line break macro on the last line. Next, if the current environment wants \label, insert it also. And insert suitable number of ampersands if possible. (defalias 'LaTeX-empheq-item-equation #[0 "\304 \305\211\211\212\306 \210\307\310!\311 \n\260!\210\312\313!\203\314 \210\307\315!\210\316\317\320\321\322!#\262\323\324\"\203G\325\324\"@\262\326\325\324\"A@!\262\202J\211\262)\327\230\204W\330\230\203e\331\332!\210\333\210\334\322!\210\202u\333\210\335 \210\336\337!\210\322y\210\340 \210\327\230\204\217\341 \"\203\217\342\343\"\203\217\344 \210\340 \210\205\235\212\345\211\\S\346\"c)\207" [TeX-esc TeX-grop TeX-grcl LaTeX-label-alist LaTeX-current-environment nil LaTeX-find-matching-begin re-search-forward regexp-quote "begin" looking-at "[ \n %]*\\[" forward-sexp "[ \n %]*{\\([^}]+\\)}" replace-regexp-in-string "[ \n %]" "" match-string-no-properties 1 string-match "=" split-string string-to-number "equation" "equation*" message "This environment does not support multi-line equations" 0 kill-line just-one-space TeX-insert-macro "\\" indent-according-to-mode assoc LaTeX-label environment LaTeX-newline make-string 38] 10 (#$ . 6934)]) (TeX-add-style-hook "empheq" #[0 "\304!\210\305\306\307\"\210\310 !\311 \210\312\313!\210\314\315\316\317#\210\320\321!\203$\321\322!\210\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364&!\210\365\366!\210\367\211\211\203b\211@\314\366\317#\210A\266\202\202O\266\370\371\372\"\203o\312\373!\210\370\371\374\"\204}\370\371\375\"\203(\312\376\377\201@\201A\201B\201C\201D\201E\201F\201G\201H\201I\201J\201K\201L\201M\201N\201O\201P\201Q\201R\201S\201T\201U&\210\201V\211\211\203\342\211@\314\201W\201XB\317#\210A\266\202\202\311\266\320\321!\203\201Y\211\211\203\211@\321C!\210A\266\202\202\356\266\201Z\211\211\203\211@\314\315\317#\210A\266\202\202\266\201[\201\\\201]BC!\210\201^\201_!\210\323\201`\201a\"\210\201^\201b!\210\201c\201d!\210\323\201e\201f\201g\201h$\210\201i\201j!\205t \201k=\205t\201l\201m\201n\"\207" [LaTeX-empheq-declaredelimiter-regexp LaTeX-empheq-key-val-options LaTeX-empheq-key-val-options-local TeX-install-font-lock TeX-auto-add-regexp TeX-run-style-hooks "amsmath" "mathtools" copy-alist LaTeX-empheq-update-key-val-options LaTeX-add-environments ("empheq" LaTeX-empheq-env) add-to-list LaTeX-item-list ("empheq" . LaTeX-empheq-item-equation) t fboundp reftex-add-label-environments (("empheq" 101 nil nil t)) TeX-add-symbols ("empheqset" (TeX-arg-key-val LaTeX-empheq-key-val-options-local)) ("empheqlbrace" TeX-arg-insert-right-brace-maybe) ("empheqrbrace") ("empheqlbrack" TeX-arg-insert-right-brace-maybe) ("empheqrbrack") ("empheqlangle" TeX-arg-insert-right-brace-maybe) ("empheqrangle") ("empheqlparen" TeX-arg-insert-right-brace-maybe) ("empheqrparen") ("empheqlvert" TeX-arg-insert-right-brace-maybe) ("empheqrvert") ("empheqlVert" TeX-arg-insert-right-brace-maybe) ("empheqrVert") ("empheqlfloor" TeX-arg-insert-right-brace-maybe) ("empheqrfloor") ("empheqlceil" TeX-arg-insert-right-brace-maybe) ("empheqrceil") ("empheqbiglbrace" TeX-arg-insert-right-brace-maybe) ("empheqbigrbrace") ("empheqbiglbrack" TeX-arg-insert-right-brace-maybe) ("empheqbigrbrack") ("empheqbiglangle" TeX-arg-insert-right-brace-maybe) ("empheqbigrangle") ("empheqbiglparen" TeX-arg-insert-right-brace-maybe) ("empheqbigrparen") ("empheqbiglvert" TeX-arg-insert-right-brace-maybe) ("empheqbigrvert") ("empheqbiglVert" TeX-arg-insert-right-brace-maybe) ("empheqbigrVert") ("empheqbiglfloor" TeX-arg-insert-right-brace-maybe) ("empheqbigrfloor") ("empheqbiglceil" TeX-arg-insert-right-brace-maybe) ("empheqbigrceil") make-local-variable TeX-braces-association (("\\empheqlbrace" . "\\empheqrbrace") ("\\empheqlbrack" . "\\empheqrbrack") ("\\empheqlangle" . "\\empheqrangle") ("\\empheqlparen" . "\\empheqrparen") ("\\empheqlvert" . "\\empheqrvert") ("\\empheqlVert" . "\\empheqrVert") ("\\empheqlfloor" . "\\empheqrfloor") ("\\empheqlceil" . "\\empheqrceil") ("\\empheqbiglbrace" . "\\empheqbigrbrace") ("\\empheqbiglbrack" . "\\empheqbigrbrack") ("\\empheqbiglangle" . "\\empheqbigrangle") ("\\empheqbiglparen" . "\\empheqbigrparen") ("\\empheqbiglvert" . "\\empheqbigrvert") ("\\empheqbiglVert" . "\\empheqbigrVert") ("\\empheqbiglfloor" . "\\empheqbigrfloor") ("\\empheqbiglceil" . "\\empheqbigrceil")) LaTeX-provided-package-options-member "empheq" "oldmultline" ("MTmultlined" LaTeX-mathtools-env-multlined) "overload" "overload2" ("align" LaTeX-empheq-env-overload) ("alignat" LaTeX-empheq-env-overload) ("equation" LaTeX-empheq-env-overload) ("flalign" LaTeX-empheq-env-overload) ("gather" LaTeX-empheq-env-overload) ("multline" LaTeX-empheq-env-overload) ("align*" LaTeX-env-args [TeX-arg-key-val LaTeX-empheq-key-val-options-local]) ("alignat*" LaTeX-empheq-env-overload) ("equation*" LaTeX-env-args [TeX-arg-key-val LaTeX-empheq-key-val-options-local]) ("flalign*" LaTeX-env-args [TeX-arg-key-val LaTeX-empheq-key-val-options-local]) ("gather*" LaTeX-env-args [TeX-arg-key-val LaTeX-empheq-key-val-options-local]) ("multline*" LaTeX-env-args [TeX-arg-key-val LaTeX-empheq-key-val-options-local]) ("AmSalign" LaTeX-env-label) ("AmSalignat" LaTeX-amsmath-env-alignat) ("AmSequation" LaTeX-env-label) ("AmSflalign" LaTeX-env-label) ("AmSgather" LaTeX-env-label) ("AmSmultline" LaTeX-env-label) ("AmSalign*") ("AmSalignat*" LaTeX-amsmath-env-alignat) ("AmSequation*") ("AmSflalign*") ("AmSgather*") ("AmSmultline*") ("AmSalign" "AmSalignat" "AmSequation" "AmSflalign" "AmSgather" "AmSmultline") LaTeX-label-alist LaTeX-amsmath-label (("AmSalign" 101 nil nil eqnarray-like) ("AmSequation" 101 nil nil t) ("AmSgather" 101 nil nil eqnarray-like) ("AmSmultline" 101 nil nil t) ("AmSflalign" 101 nil nil eqnarray-like) ("AmSalignat" 101 nil nil alignat-like)) (("AmSalign" . LaTeX-item-equation) ("AmSalign*" . LaTeX-item-equation) ("AmSflalign" . LaTeX-item-equation) ("AmSalignat" . LaTeX-item-equation-alignat) ("AmSalignat*" . LaTeX-item-equation-alignat) ("AmSflalign*" . LaTeX-item-equation) ("AmSgather" . LaTeX-item-equation) ("AmSgather*" . LaTeX-item-equation) ("AmSmultline" . LaTeX-item-equation) ("AmSmultline*" . LaTeX-item-equation)) TeX-ispell-skip-setcdr "\\(AmS\\(?:align\\(?:\\*\\|at\\*?\\)?\\|equation\\*?\\|flalign\\*?\\|gather\\*?\\|multline\\*?\\)\\)" "\\\\end{\\(AmS\\(?:align\\(?:\\*\\|at\\*?\\)?\\|equation\\*?\\|flalign\\*?\\|gather\\*?\\|multline\\*?\\)\\)}" LaTeX-add-lengths "mintagvsep" ("DeclareLeftDelimiter" ["Space adjustment"] (TeX-arg-eval (lambda nil (let ((delim (TeX-read-string (concat "Delimiter: " TeX-esc)))) (TeX-add-symbols (concat "empheq" delim) (concat "empheqbig" delim)) (LaTeX-add-empheq-declaredelimiters `(,delim "Left")) (LaTeX-empheq-update-key-val-options) (concat TeX-esc delim))))) ("DeclareRightDelimiter" ["Space adjustment"] (TeX-arg-eval (lambda nil (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))))) "EmphEqdelimitershortfall" LaTeX-add-counters "EmphEqdelimiterfactor" ("EmphEqdisplayheight" 0) ("EmphEqdisplaydepth" 0) ("EmphEqMainEnv" 0) ("endEmphEqMainEnv" 0) featurep font-latex font-latex-setup font-latex-add-keywords (("empheqset" "{") ("DeclareLeftDelimiter" "[{") ("DeclareRightDelimiter" "[{")) function] 34] TeX-dialect)