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

Chris Judge cjudge2 at gmail.com
Tue Nov 3 21:45:32 EST 2020

Hi Win,

Thank you!   font-latex-script-char-face  is what I was looking for.

But is there any way to turn off Auctex in Aquamacs?


On 11/3/20 8:19 PM, Win Treese wrote:
>> 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
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> https://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx

More information about the MacOSX-Emacs mailing list