Function: org-toggle-latex-fragment

org-toggle-latex-fragment is a function alias and interactive for org-latex-preview, defined in org.el.gz.

This command is obsolete since 9.3; use org-latex-preview instead.

Signature

(org-toggle-latex-fragment &optional ARG)

Documentation

Toggle preview of the LaTeX fragment at point.

If the cursor is on a LaTeX fragment, create the image and overlay it over the source code, if there is none. Remove it otherwise. If there is no fragment at point, display images for all fragments in the current section. With an active region, display images for all fragments in the region.

With a C-u (universal-argument) prefix argument ARG, clear images for all fragments in the current section.

With a C-u (universal-argument) C-u (universal-argument) prefix argument ARG, display image for all fragments in the buffer.

With a C-u (universal-argument) C-u (universal-argument) C-u (universal-argument) prefix argument ARG, clear image for all fragments in the buffer.

Key Bindings

Aliases

org-preview-latex-fragment (obsolete since 8.3) org-toggle-latex-fragment (obsolete since 9.3)