Function: org-cdlatex-mode
org-cdlatex-mode is an interactive and byte-compiled function defined
in org.el.gz.
Signature
(org-cdlatex-mode &optional ARG)
Documentation
Toggle the minor org-cdlatex-mode(var)/org-cdlatex-mode(fun).
This mode supports entering LaTeX environment and math in LaTeX fragments
in Org mode.
' org-cdlatex-math-modify
C-c { org-cdlatex-environment-indent
^ org-cdlatex-underscore-caret
_ org-cdlatex-underscore-caret
` cdlatex-math-symbol
This is a minor mode. If called interactively, toggle the
Org-Cdlatex mode mode. If the prefix argument is positive,
enable the mode, and if it is zero or negative, disable the mode.
If called from Lisp, toggle the mode if ARG is toggle. Enable
the mode if ARG is nil, omitted, or is a positive number.
Disable the mode if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate org-cdlatex-mode(var)/org-cdlatex-mode(fun).
The mode's hook is called both when the mode is enabled and when it is disabled.
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
(require '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-always-on)))