Variable: font-latex-fontify-sectioning

font-latex-fontify-sectioning is a customizable variable defined in font-latex.el.

Value

1.1

Documentation

Whether to fontify sectioning macros with varying height or a color face.

If it is a number, use varying height faces. The number is used for scaling starting from font-latex-sectioning-5-face. Typically values from 1.05 to 1.3 give best results, depending on your font setup. If it is the symbol color, use font-lock-type-face.

Caveats: Customizing the scaling factor applies to all sectioning faces unless those face have been saved by customize. Setting this variable directly does not take effect unless you call font-latex-update-sectioning-faces or restart Emacs.

Switching from color to a number or vice versa does not take effect unless you call M-x font-lock-fontify-buffer (font-lock-fontify-buffer) or restart Emacs.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/font-latex.el
(defcustom font-latex-fontify-sectioning 1.1
  "Whether to fontify sectioning macros with varying height or a color face.

If it is a number, use varying height faces.  The number is used
for scaling starting from `font-latex-sectioning-5-face'.  Typically
values from 1.05 to 1.3 give best results, depending on your font
setup.  If it is the symbol `color', use `font-lock-type-face'.

Caveats: Customizing the scaling factor applies to all sectioning
faces unless those face have been saved by customize.  Setting
this variable directly does not take effect unless you call
`font-latex-update-sectioning-faces' or restart Emacs.

Switching from `color' to a number or vice versa does not take
effect unless you call \\[font-lock-fontify-buffer] or restart
Emacs."
  :type '(choice (number :tag "Scale factor")
                 (const color))
  :initialize #'custom-initialize-default
  :set (lambda (symbol value)
         (set-default symbol value)
         (unless (eq value 'color)
           (font-latex-update-sectioning-faces font-latex-sectioning-max value)))
  :group 'font-latex)