Variable: org-cdlatex-mode

org-cdlatex-mode is a buffer-local variable defined in org.el.gz.

Documentation

Non-nil if Org-Cdlatex mode is enabled.

Use the command org-cdlatex-mode(var)/org-cdlatex-mode(fun) to change this variable.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(define-minor-mode org-cdlatex-mode
  "Toggle the minor `org-cdlatex-mode'.
This mode supports entering LaTeX environment and math in LaTeX fragments
in Org mode.
\\{org-cdlatex-mode-map}"
  :lighter " OCDL"
  (when org-cdlatex-mode
    ;; Try to load texmathp before cdlatex.  Otherwise, cdlatex can
    ;; bind `cdlatex--texmathp' to `ignore', not using `texmathp' at
    ;; all.
    (org-require-package 'texmathp "Auctex")
    (org-require-package 'cdlatex)
    (run-hooks 'cdlatex-mode-hook)
    (cdlatex-compute-tables))
  (unless org-cdlatex-texmathp-advice-is-done
    (setq org-cdlatex-texmathp-advice-is-done t)
    (advice-add 'texmathp :around #'org--math-p)))