;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\207" [require tex latex] 2) #@106 Information about thmtools-declaretheoremstyles in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-auto-thmtools-declaretheoremstyle nil (#$ . 151)) #@106 Information about thmtools-declaretheoremstyles in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-thmtools-declaretheoremstyle-list nil (#$ . 327)) (make-variable-buffer-local 'LaTeX-thmtools-declaretheoremstyle-list) #@106 Information about thmtools-declaretheoremstyles in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-thmtools-declaretheoremstyle-changed nil (#$ . 573)) (make-variable-buffer-local 'LaTeX-thmtools-declaretheoremstyle-changed) #@152 Add information about THMTOOLS-DECLARETHEOREMSTYLES to the current buffer. Generated by `TeX-auto-add-type'. (fn &rest THMTOOLS-DECLARETHEOREMSTYLES) (defalias 'LaTeX-add-thmtools-declaretheoremstyles #[128 "\300\301\"\207" [TeX-auto-add-information "thmtools-declaretheoremstyle"] 4 (#$ . 825)]) #@103 List of thmtools-declaretheoremstyles active in the current buffer. Generated by `TeX-auto-add-type'. (defalias 'LaTeX-thmtools-declaretheoremstyle-list #[0 "\300\301!\207" [TeX-auto-list-information "thmtools-declaretheoremstyle"] 2 (#$ . 1131)]) (byte-code "\300\301\302\303#\210\304\305\306\"\207" [add-to-list TeX-auto-parser ("thmtools-declaretheoremstyle" LaTeX-auto-thmtools-declaretheoremstyle LaTeX-add-thmtools-declaretheoremstyles LaTeX-thmtools-declaretheoremstyle-list LaTeX-thmtools-declaretheoremstyle-changed) t add-hook TeX-remove-style-hook #[0 "\301\211\207" [LaTeX-thmtools-declaretheoremstyle-list nil] 2]] 4) #@69 Matches the argument of \declaretheoremstyle from thmtools package. (defvar LaTeX-thmtools-declaretheoremstyle-regexp (byte-code "\300\301\302!\303Q\304B\207" ["\\\\declaretheoremstyle[ \n %]*\\(?:" LaTeX-extract-key-value-label none "\\)?[ \n %]*{\\([^}]+\\)}" (1 LaTeX-auto-thmtools-declaretheoremstyle)] 3) (#$ . 1769)) #@101 Information about thmtools-declaretheorems in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-auto-thmtools-declaretheorem nil (#$ . 2101)) #@101 Information about thmtools-declaretheorems in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-thmtools-declaretheorem-list nil (#$ . 2268)) (make-variable-buffer-local 'LaTeX-thmtools-declaretheorem-list) #@101 Information about thmtools-declaretheorems in the current buffer. Generated by `TeX-auto-add-type'. (defvar LaTeX-thmtools-declaretheorem-changed nil (#$ . 2500)) (make-variable-buffer-local 'LaTeX-thmtools-declaretheorem-changed) #@142 Add information about THMTOOLS-DECLARETHEOREMS to the current buffer. Generated by `TeX-auto-add-type'. (fn &rest THMTOOLS-DECLARETHEOREMS) (defalias 'LaTeX-add-thmtools-declaretheorems #[128 "\300\301\"\207" [TeX-auto-add-information "thmtools-declaretheorem"] 4 (#$ . 2738)]) #@98 List of thmtools-declaretheorems active in the current buffer. Generated by `TeX-auto-add-type'. (defalias 'LaTeX-thmtools-declaretheorem-list #[0 "\300\301!\207" [TeX-auto-list-information "thmtools-declaretheorem"] 2 (#$ . 3024)]) (byte-code "\300\301\302\303#\210\304\305\306\"\207" [add-to-list TeX-auto-parser ("thmtools-declaretheorem" LaTeX-auto-thmtools-declaretheorem LaTeX-add-thmtools-declaretheorems LaTeX-thmtools-declaretheorem-list LaTeX-thmtools-declaretheorem-changed) t add-hook TeX-remove-style-hook #[0 "\301\211\207" [LaTeX-thmtools-declaretheorem-list nil] 2]] 4) #@64 Matches the argument of \declaretheorem from thmtools package. (defvar LaTeX-thmtools-declaretheorem-regexp (byte-code "\300\301\302!\303Q\304B\207" ["\\\\declaretheorem[ \n %]*\\(?:" LaTeX-extract-key-value-label none "\\)?[ \n %]*{\\([^}]+\\)}" (1 LaTeX-auto-thmtools-declaretheorem)] 3) (#$ . 3617)) #@47 Clear `LaTeX-auto-thmtools-*' before parsing. (defalias 'LaTeX-thmtools-auto-prepare #[0 "\302\211\211\207" [LaTeX-auto-thmtools-declaretheoremstyle LaTeX-auto-thmtools-declaretheorem nil] 3 (#$ . 3928)]) #@48 Process parsed elements from thmtools package. (defalias 'LaTeX-thmtools-auto-cleanup #[0 "\300\301\302 \"\211\205\211@\303\304B!\210A\266\202\202\207" [mapcar car LaTeX-thmtools-declaretheorem-list LaTeX-add-environments (LaTeX-thmtools-env-label)] 5 (#$ . 4141)]) (byte-code "\300\301\302\303#\210\300\304\305\303#\210\300\306\307\303#\207" [add-hook TeX-auto-prepare-hook LaTeX-thmtools-auto-prepare t TeX-auto-cleanup-hook LaTeX-thmtools-auto-cleanup TeX-update-style-hook TeX-auto-parse] 4) #@203 Query and return a key=val string for \declaretheoremstyle macro. If OPTIONAL is non-nil, indicate an optional argument in minibuffer. PROMPT replaces the standard one. (fn OPTIONAL &optional PROMPT) (defalias 'LaTeX-thmtools-declaretheoremstyle-key-val #[513 "\300\301\300\302\303 \"\"\300\304\305\"\306\307D\310D\311D\312D\313D\314\315\316 D\317\320 D\257\n#\207" [mapcar #[257 "P\207" [TeX-esc] 3 "\n\n(fn X)"] car LaTeX-length-list #[257 "P\207" [TeX-esc] 3 "\n\n(fn X)"] ("rmfamily" "sffamily" "ttfamily" "mdseries" "bfseries" "upshape" "itshape" "slshape" "scshape" "tiny" "scriptsize" "footnotesize" "small" "normalsize" "large" "Large" "LARGE" "huge" "Huge" "normalfont") TeX-read-key-val "spaceabove" "spacebelow" "headfont" "notefont" "bodyfont" ("headpunct") ("notebraces") "postheadspace" ("headformat" ("margin" "swapnumber" "\\NUMBER" "\\NAME" "\\NOTE")) "headindent"] 17 (#$ . 4650)]) #@235 Insert the key=val and style name defined by \declaretheoremstyle. If OPTIONAL is non-nil, also insert the second argument in square brackets. PROMPT replaces the standard one for the second argument. (fn OPTIONAL &optional PROMPT) (defalias 'LaTeX-arg-thmtools-declaretheoremstyle #[513 "\302\303\304\305\306!\306\"\210*\307\310\311#!\312!\210\304\"\207" [TeX-arg-closing-brace TeX-arg-opening-brace "[" "]" TeX-argument-insert LaTeX-thmtools-declaretheoremstyle-key-val t TeX-read-string TeX-argument-prompt "Style" LaTeX-add-thmtools-declaretheoremstyles] 7 (#$ . 5574)]) #@198 Query and return a key=val string for \declaretheorem macro. If OPTIONAL is non-nil, indicate an optional argument in minibuffer. PROMPT replaces the standard one. (fn OPTIONAL &optional PROMPT) (defalias 'LaTeX-thmtools-declaretheorem-key-val #[513 "\300\301\302 \"\303\304D\305D\306D\307D\310D\311D\312\313\314\315\316\317\320\321!\2052\321 \2052\300\301\321 \"\320\322!\205B\322 \205B\300\301\322 \"\300\301\323 \"#D\324BBBBBBBBBBB#\207" [mapcar car LaTeX-counter-list TeX-read-key-val "parent" "numberwithin" "within" "sibling" "numberlike" "sharenumber" ("title") ("name") ("heading") ("numbered" ("yes" "no" "unless unique")) "style" append fboundp LaTeX-amsthm-newtheoremstyle-list LaTeX-ntheorem-newtheoremstyle-list LaTeX-thmtools-declaretheoremstyle-list (("preheadhook") ("postheadhook") ("prefoothook") ("postfoothook") ("refname") ("Refname") ("shaded" ("textwidth" "bgcolor" "rulecolor" "rulewidth" "margin")) ("thmbox" ("L" "M" "S")))] 22 (#$ . 6165)]) #@236 Insert the key=val and environment name defined by \declaretheorem. If OPTIONAL is non-nil, also insert the second argument in square brackets. PROMPT replaces the standard one for the second argument. (fn OPTIONAL &optional PROMPT) (defalias 'LaTeX-arg-thmtools-declaretheorem #[513 "\302\303\304#!\305\306B!\210\307\"\266\310\311\307\312\313!\313\"*\207" [TeX-arg-closing-brace TeX-arg-opening-brace TeX-read-string TeX-argument-prompt "Environment" LaTeX-add-environments (LaTeX-thmtools-env-label) TeX-argument-insert "[" "]" LaTeX-thmtools-declaretheorem-key-val t] 7 (#$ . 7157)]) #@198 Query and return a key=val string for \listoftheorems macro. If OPTIONAL is non-nil, indicate an optional argument in minibuffer. PROMPT replaces the standard one. (fn OPTIONAL &optional PROMPT) (defalias 'LaTeX-thmtools-listoftheorems-key-val #[513 "\300\301\300\302\303 \"\"\304\305\306!\205\306 \205\300\302\306 \"\305\307!\205)\307 \205)\300\302\307 \"\300\302\310 \"#\311\312\313D\314\315D\316\317D\320\321 D\257#\207" [mapcar #[257 "P\207" [TeX-esc] 3 "\n\n(fn X)"] car LaTeX-length-list append fboundp LaTeX-amsthm-newtheorem-list LaTeX-ntheorem-newtheorem-list LaTeX-thmtools-declaretheorem-list TeX-read-key-val ("title") "ignore" ("ignoreall" ("true" "false")) "show" ("showall" ("true" "false")) "onlynamed" ("swapnumber" ("true" "false")) "numwidth"] 15 (#$ . 7761)]) #@212 Insert the key=val to \listoftheorems macro. If OPTIONAL is non-nil, insert the result square brackets. OPTIONAL and PROMPT are passed to `LaTeX-thmtools-listoftheorems-key-val'. (fn OPTIONAL &optional PROMPT) (defalias 'LaTeX-arg-thmtools-listoftheorems #[513 "\300\301\"\"\207" [TeX-argument-insert LaTeX-thmtools-listoftheorems-key-val] 6 (#$ . 8567)]) #@550 Insert thmtools ENVIRONMENT, query for an optional argument and label. AUCTeX users should add ENVIRONMENT to `LaTeX-label-alist' via customize or in init-file with: (add-to-list \='LaTeX-label-alist \='("theorem" . "thm:")) RefTeX users should customize or add ENVIRONMENT to `LaTeX-label-alist' and `reftex-label-alist', e.g. (add-to-list \='LaTeX-label-alist \='("theorem" . "thm:")) (add-to-list \='reftex-label-alist \='("theorem" ?m "thm:" "~\ref{%s}" nil ("Theorem" "theorem") nil)) (fn ENVIRONMENT) (defalias 'LaTeX-thmtools-env-label #[257 "\301\302\303\304\211\305#\306\"\211\307U\203\310\303\311\304\312#!\202:\211\313U\2039\314\311\315\316\317\320\321 \"D\322\317\320\321 \"D\323BBB\"\202:\324\325\205K\324\230?\205K\326\327\"\"\210)\266\330\331\"\205\\\332 \210\333 \207" [help-form "Select the content of the optional argument with a key:\n'h' in order to insert a plain heading,\n'k' in order to insert key=value pairs with completion,\nRET in order to leave it empty." read-char-choice TeX-argument-prompt nil "Heading (h), Key=val (k), Empty (RET)" (104 107) 104 TeX-read-string t "Heading" 107 TeX-read-key-val ("name") "continues" mapcar car LaTeX-label-list "restate" (("listhack" ("true" "false"))) "" LaTeX-insert-environment format "[%s]" LaTeX-label environment LaTeX-newline indent-according-to-mode] 10 (#$ . 8934)]) (TeX-add-style-hook "thmtools" #[0 "\303!\210\303 !\210\304\305\306\307\310\311%\210\312\313!\205 \n\314=\205 \315\316\317\"\207" [LaTeX-thmtools-declaretheoremstyle-regexp LaTeX-thmtools-declaretheorem-regexp TeX-install-font-lock TeX-auto-add-regexp TeX-add-symbols ("declaretheoremstyle" LaTeX-arg-thmtools-declaretheoremstyle) ("declaretheorem" LaTeX-arg-thmtools-declaretheorem) ("listoftheorems" [LaTeX-arg-thmtools-listoftheorems]) ("ignoretheorems" (TeX-arg-eval mapconcat #'identity (TeX-completing-read-multiple (TeX-argument-prompt nil nil "Environment(s)") (append (when (and (fboundp 'LaTeX-amsthm-newtheorem-list) (LaTeX-amsthm-newtheorem-list)) (mapcar #'car (LaTeX-amsthm-newtheorem-list))) (when (and (fboundp 'LaTeX-ntheorem-newtheorem-list) (LaTeX-ntheorem-newtheorem-list)) (mapcar #'car (LaTeX-ntheorem-newtheorem-list))) (mapcar #'car (LaTeX-thmtools-declaretheorem-list)))) ",")) ("listtheoremname" 0) featurep font-latex font-latex-setup font-latex-add-keywords (("declaretheoremstyle" "[{") ("declaretheorem" "[{[") ("listoftheorems" "[") ("ignoretheorems" "{")) function] 6] TeX-dialect) #@43 Package options for the thmtools package. (defvar LaTeX-thmtools-package-options nil (#$ . 11457))