;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\207" [require tex latex] 2) #@44 Package options for the mathtools package. (defvar LaTeX-mathtools-package-options '("fixamsmath" "donotfixamsmathbugs" "allowspaces" "disallowspaces" "nonrobust") (#$ . 150)) (byte-code "\302\303!\210\211\203\211@\211 \235\204\211 BA\266\202\202\207" [LaTeX-amsmath-package-options LaTeX-mathtools-package-options TeX-load-style "amsmath"] 4) #@40 Options for the \mathtoolsset command. (defvar LaTeX-mathtools-key-val-options '(("showonlyrefs") ("mathic" ("true" "false")) ("showmanualtags" ("true" "false")) ("smallmatrix-align" ("c" "l" "r")) ("smallmatrix-inner-space") ("firstline-afterskip") ("lastline-preskip") ("multlined-pos" ("c" "b" "t")) ("multlined-width") ("shortvdotsadjustabove") ("shortvdotsadjustbelow") ("original-intertext" ("true" "false")) ("original-shortintertext" ("true" "false")) ("above-intertext-sep") ("below-intertext-sep") ("above-shortintertext-sep") ("below-shortintertext-sep") ("centercolon" ("true" "false")) ("prescript-sub-format") ("prescript-sup-format") ("prescript-arg-format")) (#$ . 509)) #@98 Information about mathtools-newtagforms in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-auto-mathtools-newtagform nil (#$ . 1202)) #@98 Information about mathtools-newtagforms in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-mathtools-newtagform-list nil (#$ . 1362)) (make-variable-buffer-local 'LaTeX-mathtools-newtagform-list) #@98 Information about mathtools-newtagforms in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-mathtools-newtagform-changed nil (#$ . 1584)) (make-variable-buffer-local 'LaTeX-mathtools-newtagform-changed) #@136 Add information about MATHTOOLS-NEWTAGFORMS to the current buffer. Generated by `TeX-auto-add-type'. (fn &rest MATHTOOLS-NEWTAGFORMS) (defalias 'LaTeX-add-mathtools-newtagforms #[128 "\300\301\"\207" [TeX-auto-add-information "mathtools-newtagform"] 4 (#$ . 1813)]) #@95 List of mathtools-newtagforms active in the current buffer. Generated by `TeX-auto-add-type'. (defalias 'LaTeX-mathtools-newtagform-list #[0 "\300\301!\207" [TeX-auto-list-information "mathtools-newtagform"] 2 (#$ . 2087)]) (byte-code "\300\301\302\303#\210\304\305\306\"\207" [add-to-list TeX-auto-parser ("mathtools-newtagform" LaTeX-auto-mathtools-newtagform LaTeX-add-mathtools-newtagforms LaTeX-mathtools-newtagform-list LaTeX-mathtools-newtagform-changed) t add-hook TeX-remove-style-hook #[0 "\301\211\207" [LaTeX-mathtools-newtagform-list nil] 2]] 4) #@67 Matches the first argument of \newtagform from mathtools package. (defvar LaTeX-mathtools-newtagform-regexp '("\\\\newtagform{\\([^}]+\\)}" 1 LaTeX-auto-mathtools-newtagform) (#$ . 2653)) #@110 Information about mathtools-DeclarePairedDelimiters in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-auto-mathtools-DeclarePairedDelimiter nil (#$ . 2848)) #@110 Information about mathtools-DeclarePairedDelimiters in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-mathtools-DeclarePairedDelimiter-list nil (#$ . 3033)) (make-variable-buffer-local 'LaTeX-mathtools-DeclarePairedDelimiter-list) #@110 Information about mathtools-DeclarePairedDelimiters in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-mathtools-DeclarePairedDelimiter-changed nil (#$ . 3292)) (make-variable-buffer-local 'LaTeX-mathtools-DeclarePairedDelimiter-changed) #@160 Add information about MATHTOOLS-DECLAREPAIREDDELIMITERS to the current buffer. Generated by `TeX-auto-add-type'. (fn &rest MATHTOOLS-DECLAREPAIREDDELIMITERS) (defalias 'LaTeX-add-mathtools-DeclarePairedDelimiters #[128 "\300\301\"\207" [TeX-auto-add-information "mathtools-DeclarePairedDelimiter"] 4 (#$ . 3557)]) #@107 List of mathtools-DeclarePairedDelimiters active in the current buffer. Generated by `TeX-auto-add-type'. (defalias 'LaTeX-mathtools-DeclarePairedDelimiter-list #[0 "\300\301!\207" [TeX-auto-list-information "mathtools-DeclarePairedDelimiter"] 2 (#$ . 3880)]) (byte-code "\300\301\302\303#\210\304\305\306\"\207" [add-to-list TeX-auto-parser ("mathtools-DeclarePairedDelimiter" LaTeX-auto-mathtools-DeclarePairedDelimiter LaTeX-add-mathtools-DeclarePairedDelimiters LaTeX-mathtools-DeclarePairedDelimiter-list LaTeX-mathtools-DeclarePairedDelimiter-changed) t add-hook TeX-remove-style-hook #[0 "\301\211\207" [LaTeX-mathtools-DeclarePairedDelimiter-list nil] 2]] 4) #@74 Match the arguments of \DeclarePairedDelimiterX? from mathtools package. (defvar LaTeX-mathtools-DeclarePairedDelimiter-regexp (cons "\\\\DeclarePairedDelimiter\\(?:X\\|XPP\\)?{?\\\\\\([a-zA-Z]+\\)}?\\(?:\\[\\([0-9]+\\)\\]\\)?" '((1 2) LaTeX-auto-mathtools-DeclarePairedDelimiter)) (#$ . 4554)) #@99 Information about mathtools-newgathereds in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-auto-mathtools-newgathered nil (#$ . 4855)) #@99 Information about mathtools-newgathereds in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-mathtools-newgathered-list nil (#$ . 5017)) (make-variable-buffer-local 'LaTeX-mathtools-newgathered-list) #@99 Information about mathtools-newgathereds in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-mathtools-newgathered-changed nil (#$ . 5242)) (make-variable-buffer-local 'LaTeX-mathtools-newgathered-changed) #@138 Add information about MATHTOOLS-NEWGATHEREDS to the current buffer. Generated by `TeX-auto-add-type'. (fn &rest MATHTOOLS-NEWGATHEREDS) (defalias 'LaTeX-add-mathtools-newgathereds #[128 "\300\301\"\207" [TeX-auto-add-information "mathtools-newgathered"] 4 (#$ . 5474)]) #@96 List of mathtools-newgathereds active in the current buffer. Generated by `TeX-auto-add-type'. (defalias 'LaTeX-mathtools-newgathered-list #[0 "\300\301!\207" [TeX-auto-list-information "mathtools-newgathered"] 2 (#$ . 5752)]) (byte-code "\300\301\302\303#\210\304\305\306\"\207" [add-to-list TeX-auto-parser ("mathtools-newgathered" LaTeX-auto-mathtools-newgathered LaTeX-add-mathtools-newgathereds LaTeX-mathtools-newgathered-list LaTeX-mathtools-newgathered-changed) t add-hook TeX-remove-style-hook #[0 "\301\211\207" [LaTeX-mathtools-newgathered-list nil] 2]] 4) #@68 Matches the first argument of \newgathered from mathtools package. (defvar LaTeX-mathtools-newgathered-regexp '("\\\\newgathered{\\([^}]+\\)}" 1 LaTeX-auto-mathtools-newgathered) (#$ . 6327)) #@63 Clear various variables for mathtools package before parsing. (defalias 'LaTeX-mathtools-auto-prepare #[0 "\303\211\303\211\207" [LaTeX-auto-mathtools-newtagform LaTeX-auto-mathtools-DeclarePairedDelimiter LaTeX-auto-mathtools-newgathered nil] 3 (#$ . 6525)]) #@52 Process the parsed elements for mathtools package. (defalias 'LaTeX-mathtools-auto-cleanup #[0 "\300 \203?\300 \211\203>\211@\211@A@\301\302\303\230\203\304\202\"\305!E\306P\303\230\2030\304\2023\305!D\"\266A\266\202\202\210\307 \205y\310\311\307 \"\211\205w\211@\312!\210\313\314\315B\316#\210\313\317\320B\316#\210\321\322!\203p\322\323BC!\210A\266\202\202I\262\207" [LaTeX-mathtools-DeclarePairedDelimiter-list TeX-add-symbols [LaTeX-mathtools-arg-mathsize-completion] "" 1 string-to-number "*" LaTeX-mathtools-newgathered-list mapcar car LaTeX-add-environments add-to-list LaTeX-item-list LaTeX-item-equation t LaTeX-label-alist LaTeX-amsmath-label fboundp reftex-add-label-environments (101 nil nil t)] 9 (#$ . 6794)]) (byte-code "\300\301\302\303#\210\300\304\305\303#\210\300\306\307\303#\207" [add-hook TeX-auto-prepare-hook LaTeX-mathtools-auto-prepare t TeX-auto-cleanup-hook LaTeX-mathtools-auto-cleanup TeX-update-style-hook TeX-auto-parse] 4) #@130 Query and insert mathstyle argument to various commands. If OPTIONAL, insert it as optional argument in brackets. (fn OPTIONAL) (defalias 'LaTeX-mathtools-arg-mathstyle-completion #[257 "\301\302\303\304\305P\306$\307\"#\207" [TeX-esc TeX-argument-insert completing-read TeX-argument-prompt nil "Math style: " t ("displaystyle" "textstyle" "scriptstyle" "scriptscriptstyle")] 8 (#$ . 7785)]) #@130 Query and insert math size argument to various commands. If OPTIONAL, insert it as optional argument in brackets. (fn OPTIONAL) (defalias 'LaTeX-mathtools-arg-mathsize-completion #[257 "\301\302\303\304\305P\306$\307\"#\207" [TeX-esc TeX-argument-insert completing-read TeX-argument-prompt nil "Size command: " t ("big" "Big" "bigg" "Bigg")] 8 (#$ . 8189)]) #@108 Query and insert various \DeclarePairedDelimiter macros from mathtools package. (fn OPTIONAL &optional X) (defalias 'LaTeX-mathtools-arg-declarepaireddelimiter #[513 "\303\304P!\205\303\305\306\307\310#!\311\312\203\313!\202\314E\315P\203,\313!\202-\314D\"\210\316\203:\202;\317D!\210\320#\210\211\205M \nQc\207" [TeX-esc LaTeX-optop LaTeX-optcl TeX-read-string "Command: " TeX-argument-prompt t nil "Number of arguments" TeX-add-symbols [LaTeX-mathtools-arg-mathsize-completion] string-to-number 1 "*" LaTeX-add-mathtools-DeclarePairedDelimiters "" TeX-argument-insert] 9 (#$ . 8559)]) #@201 Query and insert two optional arguments for ENV multlined. If both arguments are given, insert them in brackets. If only a width is given, insert it prefixed with a pair of empty brackets. (fn ENV) (defalias 'LaTeX-mathtools-env-multlined #[257 "\300\301\302\303\304#!\305\301\302\303\306#\307\310\311 \"\"\312\2031\313\230\2041\2031\313\230\2041\314\315#\202`\203H\313\230\204H\313\230\203H\314\316\"\202`\313\230\203_\203_\313\230\204_\314\317\"\202`\303\"\207" [TeX-read-string TeX-argument-prompt t nil "Position (t, b or c (default))" completing-read "Width" mapcar #[257 "@P\207" [TeX-esc] 3 "\n\n(fn X)"] LaTeX-length-list LaTeX-insert-environment "" format "[%s][%s]" "[%s]" "[][%s]"] 9 (#$ . 9180)]) #@80 Insert various cases ENVs incl. an ampersand from mathtools package. (fn ENV) (defalias 'LaTeX-mathtools-env-cases #[257 "\300!\210\212\301c)\207" [LaTeX-insert-environment 38] 3 (#$ . 9927)]) #@137 Insert contents to terminate a line in multi-line cases environment. Put line break macro on the last line. Next, insert an ampersand. (defalias 'LaTeX-mathtools-item-cases #[0 "\300\210\301 \210\302\303!\210\304y\210\212\305c)\207" [0 just-one-space TeX-insert-macro "\\" 1 38] 2 (#$ . 10129)]) (TeX-add-style-hook "mathtools" #[0 "\306!\210\306 !\210\306\n!\210\307\310!\210\311\312!\210\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347&\210\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377\201@\201A\201B\201C\201D\201E\201F\201G\201H\201I\201J\201K\201L\201M\201N\201O\201P\201Q\201R\201S\201T\201U\201V\201W\201X\201Y\201Z\201[\201\\\201]\201^\201_\201`\201a\201b\201c\201d\201e\201f\201g\201h\201i\201j\201k\201l\201m\201n\201o\201p\201q\201r\201s\201t\201u\201v\201w\201x\201y&Q\210\201z\201{!\210\201|\201{\201}\201~#\210\201\201\200 \"\201\201\201\f\"\201\202\201\203!\203I\201\204\211\211\203G\211@\201\203C!\210A\266\202\2023\266\201\205\201\206!\205{ \201\207=\205{\201\210\201\211\201\212\"\210\201\210\201\213\201\214\"\210\201\210\201\215\201\216\"\207" [LaTeX-mathtools-newtagform-regexp LaTeX-mathtools-DeclarePairedDelimiter-regexp LaTeX-mathtools-newgathered-regexp LaTeX-item-list LaTeX-label-alist TeX-install-font-lock TeX-auto-add-regexp LaTeX-add-mathtools-newtagforms "default" TeX-run-style-hooks "amsmath" LaTeX-add-environments ("matrix*" ["Vertical alignment (l, r or c (default))"]) ("pmatrix*" ["Vertical alignment (l, r or c (default))"]) ("bmatrix*" ["Vertical alignment (l, r or c (default))"]) ("Bmatrix*" ["Vertical alignment (l, r or c (default))"]) ("vmatrix*" ["Vertical alignment (l, r or c (default))"]) ("Vmatrix*" ["Vertical alignment (l, r or c (default))"]) ("smallmatrix*" ["Vertical alignment (l, r or c (default))"]) ("psmallmatrix") ("psmallmatrix*" ["Vertical alignment (l, r or c (default))"]) ("bsmallmatrix") ("bsmallmatrix*" ["Vertical alignment (l, r or c (default))"]) ("Bsmallmatrix") ("Bsmallmatrix*" ["Vertical alignment (l, r or c (default))"]) ("vsmallmatrix") ("vsmallmatrix*" ["Vertical alignment (l, r or c (default))"]) ("Vsmallmatrix") ("Vsmallmatrix*" ["Vertical alignment (l, r or c (default))"]) ("multlined" LaTeX-mathtools-env-multlined) ("dcases" LaTeX-mathtools-env-cases) ("dcases*" LaTeX-mathtools-env-cases) ("rcases" LaTeX-mathtools-env-cases) ("rcases*" LaTeX-mathtools-env-cases) ("drcases" LaTeX-mathtools-env-cases) ("drcases*" LaTeX-mathtools-env-cases) ("cases*" LaTeX-mathtools-env-cases) ("spreadlines" "Spacing between lines") ("lgathered" ["Vertical position (t or b)"]) ("rgathered" ["Vertical position (t or b)"]) TeX-add-symbols ("mathtoolsset" (TeX-arg-key-val LaTeX-mathtools-key-val-options)) ("mathllap" [LaTeX-mathtools-arg-mathstyle-completion] t) ("mathrlap" [LaTeX-mathtools-arg-mathstyle-completion] t) ("mathclap" [LaTeX-mathtools-arg-mathstyle-completion] t) ("mathmakebox" [(TeX-arg-length "Width")] ["Position"] 1) ("clap" 1) ("mathmbox" 1) ("cramped" [LaTeX-mathtools-arg-mathstyle-completion] 1) ("crampedllap" [LaTeX-mathtools-arg-mathstyle-completion] t) ("crampedrlap" [LaTeX-mathtools-arg-mathstyle-completion] t) ("crampedclap" [LaTeX-mathtools-arg-mathstyle-completion] t) ("smashoperator" ["Position (l, r or lr (default)"] 1) ("adjustlimits" t (TeX-arg-literal "_") nil nil (TeX-arg-literal "_") nil) ("SwapAboveDisplaySkip" 0) ("newtagform" (TeX-arg-eval (lambda nil (let ((newtag (TeX-read-string (TeX-argument-prompt nil nil "Name")))) (LaTeX-add-mathtools-newtagforms newtag) (format "%s" newtag)))) ["Inner format"] "Left" "Right") ("renewtagform" (TeX-arg-eval completing-read (TeX-argument-prompt nil nil "Name") (LaTeX-mathtools-newtagform-list)) ["Inner format"] "Left" "Right") ("usetagform" (TeX-arg-eval completing-read (TeX-argument-prompt nil nil "Name") (LaTeX-mathtools-newtagform-list))) ("refeq" TeX-arg-ref) ("noeqref" TeX-arg-ref) ("xleftrightarrow" ["Below"] "Above") ("xLeftarrow" ["Below"] "Above") ("xRightarrow" ["Below"] "Above") ("xLeftrightarrow" ["Below"] "Above") ("xhookleftarrow" ["Below"] "Above") ("xhookrightarrow" ["Below"] "Above") ("xmapsto" ["Below"] "Above") ("xrightharpoondown" ["Below"] "Above") ("xrightharpoonup" ["Below"] "Above") ("xleftharpoondown" ["Below"] "Above") ("xleftharpoonup" ["Below"] "Above") ("xrightleftharpoons" ["Below"] "Above") ("xleftrightharpoons" ["Below"] "Above") ("underbracket" [(TeX-arg-length "Rule thickness")] [(TeX-arg-length "Bracket height")] t) ("overbracket" [(TeX-arg-length "Rule thickness")] [(TeX-arg-length "Bracket height")] t) ("underbrace" 1) ("overbrace" 1) ("LaTeXunderbrace" 1) ("LaTeXoverbrace" 1) ("shoveleft" [(TeX-arg-length "Dimension")] 1) ("shoveright" [(TeX-arg-length "Dimension")] 1) ("MoveEqLeft" ["Number"]) ("Aboxed" 1) ("ArrowBetweenLines" [TeX-arg-macro]) ("ArrowBetweenLines*" [TeX-arg-macro]) ("vdotswithin" "Symbol") ("shortvdotswithin" "Symbol") ("shortvdotswithin*" "Symbol") ("MTFlushSpaceAbove") ("MTFlushSpaceBelow") ("shortintertext" t) ("DeclarePairedDelimiter" LaTeX-mathtools-arg-declarepaireddelimiter "Left delimiter" "Right delimiter") ("DeclarePairedDelimiterX" (LaTeX-mathtools-arg-declarepaireddelimiter t) "Left delimiter" "Right delimiter" t) ("DeclarePairedDelimiterXPP" (LaTeX-mathtools-arg-declarepaireddelimiter t) "Pre-code" "Left delimiter" "Right delimiter" 2) ("delimsize" 0) ("reDeclarePairedDelimiterInnerWrapper" (TeX-arg-eval (lambda nil (let ((cmd (completing-read (concat "Command: " TeX-esc) (mapcar #'car (LaTeX-mathtools-DeclarePairedDelimiter-list))))) (concat TeX-esc cmd)))) (TeX-arg-eval completing-read "star or nostar: " '("star" "nostar")) t) ("lparen" TeX-arg-insert-right-brace-maybe) ("rparen") "vcentcolon" "ordinarycolon" "coloneqq" "Coloneqq" "coloneq" "Coloneq" "eqqcolon" "Eqqcolon" "eqcolon" "Eqcolon" "colonapprox" "Colonapprox" "colonsim" "Colonsim" "dblcolon" "nuparrow" "ndownarrow" "bigtimes" ("prescript" "Below" "Above" t) ("DeclareMathSizes" 4) ("newgathered" (TeX-arg-eval (lambda nil (let ((env (TeX-read-string (TeX-argument-prompt nil nil "Name")))) (LaTeX-add-environments env) (LaTeX-add-mathtools-newgathereds env) (add-to-list 'LaTeX-item-list `(,env . LaTeX-item-equation) t) (add-to-list 'LaTeX-label-alist `(,env . LaTeX-amsmath-label) t) (format "%s" env)))) 3) ("renewgathered" (TeX-arg-eval completing-read (TeX-argument-prompt nil nil "Name") (LaTeX-mathtools-newgathered-list)) 3) ("splitfrac" 2) ("splitdfrac" 2) make-local-variable TeX-braces-association add-to-list ("\\lparen" . "\\rparen") t append (("multlined" . LaTeX-item-equation) ("lgathered" . LaTeX-item-equation) ("rgathered" . LaTeX-item-equation) ("spreadlines" . LaTeX-item-equation) ("matrix*" . LaTeX-item-equation) ("pmatrix*" . LaTeX-item-equation) ("bmatrix*" . LaTeX-item-equation) ("Bmatrix*" . LaTeX-item-equation) ("vmatrix*" . LaTeX-item-equation) ("Vmatrix*" . LaTeX-item-equation) ("dcases" . LaTeX-mathtools-item-cases) ("dcases*" . LaTeX-mathtools-item-cases) ("rcases" . LaTeX-mathtools-item-cases) ("rcases*" . LaTeX-mathtools-item-cases) ("drcases" . LaTeX-mathtools-item-cases) ("drcases*" . LaTeX-mathtools-item-cases) ("cases*" . LaTeX-mathtools-item-cases)) (("lgathered" . LaTeX-amsmath-label) ("rgathered" . LaTeX-amsmath-label) ("multlined" . LaTeX-amsmath-label)) fboundp reftex-add-label-environments (("lgathered" 101 nil nil t) ("rgathered" 101 nil nil t) ("multlined" 101 nil nil t)) featurep font-latex font-latex-setup font-latex-add-keywords (("mathtoolsset" "{") ("newtagform" "{[{{") ("renewtagform" "{[{{") ("DeclarePairedDelimiter" "|{\\{{") ("DeclarePairedDelimiterX" "|{\\[{{{") ("DeclarePairedDelimiterXPP" "|{\\[{{{{{") ("reDeclarePairedDelimiterInnerWrapper" "|{\\{{") ("DeclareMathSizes" "{{{{") ("newgathered" "{{{{") ("renewgathered" "{{{{")) function (("usetagform" "{")) variable (("refeq" "{") ("noeqref" "{")) reference] 82] TeX-dialect)