Variable: reftex-section-prefixes
reftex-section-prefixes is a customizable variable defined in
reftex-vars.el.gz.
Value
((0 . "part:") (1 . "cha:") (t . "sec:"))
Documentation
Prefixes for section labels.
When the label prefix given in an entry in reftex-label-alist contains %S,
this list is used to determine the correct prefix string depending on the
current section level.
The list is an alist, with each entry of the form (KEY . PREFIX)
Possible keys are sectioning macro names like chapter, section levels
(as given in reftex-section-levels), and t for the default.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/reftex-vars.el.gz
(defcustom reftex-section-prefixes '((0 . "part:") (1 . "cha:") (t . "sec:"))
"Prefixes for section labels.
When the label prefix given in an entry in `reftex-label-alist' contains `%S',
this list is used to determine the correct prefix string depending on the
current section level.
The list is an alist, with each entry of the form (KEY . PREFIX)
Possible keys are sectioning macro names like `chapter', section levels
\(as given in `reftex-section-levels'), and t for the default."
:group 'reftex-defining-label-environments
:type '(repeat
(cons :value (0 . "")
(choice
(string :tag "macro name")
(integer :tag "section level")
(const :tag "default" t))
(string :tag "Prefix"))))