Variable: latex-block-body-alist

latex-block-body-alist is a variable defined in tex-mode.el.gz.

Value

(("enumerate" nil
  '(latex-insert-item)
  > _)
 ("itemize" nil
  '(latex-insert-item)
  > _)
 ("table" nil "\\caption{" >
  (skeleton-read "Caption: ")
  "}" > n
  '(if
       (and
	(boundp 'reftex-mode)
	reftex-mode)
       (reftex-label "table"))
  n _)
 ("figure" nil > _ n "\\caption{" >
  (skeleton-read "Caption: ")
  "}" > n
  '(if
       (and
	(boundp 'reftex-mode)
	reftex-mode)
       (reftex-label "table"))))

Documentation

Skeleton element to use for the body of particular environments.

Every element of the list has the form (NAME . SKEL-ELEM) where NAME is the name of the environment and SKEL-ELEM is an element to use in a skeleton (see skeleton-insert).

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/tex-mode.el.gz
(defvar latex-block-body-alist
  '(("enumerate" nil '(latex-insert-item) > _)
    ("itemize" nil '(latex-insert-item) > _)
    ("table" nil "\\caption{" > (skeleton-read "Caption: ") "}" > \n
     '(if (and (boundp 'reftex-mode) reftex-mode) (reftex-label "table"))
     \n _)
    ("figure" nil  > _ \n "\\caption{" > (skeleton-read "Caption: ") "}" > \n
     '(if (and (boundp 'reftex-mode) reftex-mode) (reftex-label "table"))))
  "Skeleton element to use for the body of particular environments.
Every element of the list has the form (NAME . SKEL-ELEM) where NAME is
the name of the environment and SKEL-ELEM is an element to use in
a skeleton (see `skeleton-insert').")