Function: LaTeX-section-level

LaTeX-section-level is a byte-compiled function defined in latex.el.

Signature

(LaTeX-section-level NAME)

Documentation

Return the level of the section NAME.

NAME can be starred variant.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defun LaTeX-section-level (name)
  "Return the level of the section NAME.
NAME can be starred variant."
  (if (string-suffix-p "*" name)
      (setq name (substring-no-properties name 0 -1)))
  (cadr (assoc name LaTeX-section-list)))