In Emacs version 24.4 and later, this is controlled by the variable org-highlight-latex-and-related :
Non-nil means the allocation of LaTeX-related syntax in the buffer. When not nil, the value must be a list containing any of the following characters:
- `latex 'Highlight LaTeX fragments and environments.
- `script 'Highlight the index and superscript.
- `entity 'Select objects.
So something like
(eval-after-load 'org '(setf org-highlight-latex-and-related '(latex)))
in your init should help. Such code is formatted according to the org-latex-and-related .
In earlier versions, the variable org-highlight-latex-fragments-and-specials , which is the simpler variable nil / non-nil:
(eval-after-load 'org '(setf org-highlight-latex-fragments-and-specials t))
In this case, the org-latex-and-export-specials facet is used.
Chris source share