[OS X Emacs] highlighting underscore and caret in aquamacs in latexmode

Win Treese treese at acm.org
Tue Nov 3 20:19:47 EST 2020


> On Nov 3, 2020, at 10:46 AM, Chris Judge <cjudge2 at gmail.com> wrote:
> 
> Aquamacs 3.5 in latexmode highlights underscore and caret characters.
> Is there any way to turn this off ?
> 
> By comparison, Emacs24 on Linux treats underscore and carets like other characters in math environment.

Hi, Chris. In the out-of-the-box configuration, Emacs 24 on Linux uses the standard Emacs latex-mode and Aquamacs uses AUCTeX (https://www.gnu.org/software/auctex/), and the highlighting is different between the two.

With Aquamacs, you can turn off the highlighting by customizing the variable font-latex-fontify-script and setting it to nil. That may leave the underscore and caret in a different color; if you want to change that, you can customize the face  font-latex-script-char-face.

Does that do what you want?

- Win



More information about the MacOSX-Emacs mailing list