Function: LaTeX-make-inline

LaTeX-make-inline is an interactive and byte-compiled function defined in latex.el.

Signature

(LaTeX-make-inline)

Documentation

Convert LaTeX display math construct at point to inline math.

Remove the enclosing math construct (such as \[...\] or
\begin{equation}...\end{equation}) and replace it with inline math
surrounded by TeX-electric-math if non-nil, or "$...$". Leave any trailing punctuation outside the math delimiters.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defun LaTeX-make-inline ()
  "Convert LaTeX display math construct at point to inline math.
Remove the enclosing math construct (such as \\=\\[...\\] or
\\begin{equation}...\\end{equation}) and replace it with inline math
surrounded by `TeX-electric-math' if non-nil, or \"$...$\".  Leave any
trailing punctuation outside the math delimiters."
  ;; FIXME: this function may not work correctly in docTeX
  (declare (modes LaTeX-mode))
  (interactive "*")
  (LaTeX-modify-math
   (if TeX-electric-math
       (cons TeX-electric-math 'inline)
     "$")))