Variable: font-latex-fontify-script
font-latex-fontify-script is a customizable variable defined in
font-latex.el.
Value
t
Documentation
If non-nil, fontify subscript and superscript strings.
By default, super/subscripts are raised/lowered if this variable is non-nil. This fontification only affects one level of scripts, for example in x^{y^z}, the y and the z have the same size and are equally raised over x.
If this variable is set to the symbol multi-level, then y is
raised above x, and z is raised above y. With many script
levels, the text might become too small to be readable, thus
there is the option font-latex-fontify-script-max-level. (The
factors for text shrinking are defined in the faces
font-latex-superscript-face and font-latex-subscript-face and
the raise/lower factor in font-latex-script-display.)
If this variable is set to the symbol invisible, then the
effect is essentially like multi-level but additionally the
script operators ^ and _ are not displayed.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/font-latex.el
;;; Subscript and superscript
(defcustom font-latex-fontify-script t
"If non-nil, fontify subscript and superscript strings.
By default, super/subscripts are raised/lowered if this variable
is non-nil. This fontification only affects one level of
scripts, for example in x^{y^z}, the y and the z have the same
size and are equally raised over x.
If this variable is set to the symbol `multi-level', then y is
raised above x, and z is raised above y. With many script
levels, the text might become too small to be readable, thus
there is the option `font-latex-fontify-script-max-level'. (The
factors for text shrinking are defined in the faces
`font-latex-superscript-face' and `font-latex-subscript-face' and
the raise/lower factor in `font-latex-script-display'.)
If this variable is set to the symbol `invisible', then the
effect is essentially like `multi-level' but additionally the
script operators ^ and _ are not displayed."
:type '(choice (boolean :tag "Enabled")
(const :tag "Multiple levels" multi-level)
(const :tag "Hide ^ and _" invisible))
:group 'font-latex
:safe (lambda (val)
(or (booleanp val)
(memq val '(multi-level invisible)))))