auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Carets and underscores become red occasionally in math mode


From: Kourosh Kalayeh
Subject: Re: [AUCTeX] Carets and underscores become red occasionally in math mode .
Date: Thu, 23 Aug 2018 15:32:27 -0400



On 22 Aug 2018, at 21:04, Ivan Andrus wrote:

Sorry, that's in the cl-extra package. You can change it to cl-map and it should work (it's autoloaded). Alternately you can run (require 'cl) before running the function. I've had that in my .emacs for so long, that I forgot about it. I should have tested in emacs -q. I apologize.

Ivan and Arash,

Thank you for your emails.

Ivan,
I was able to get information about the font faces using Arash’s tip (i.e., C-u C-x =).

Using the above, I was able to check font faces of normally and abnormally behaved carets and underscores;

Normal (regular orange color):  font-latex-math-face
Abnormal (red color): font-latex-script-char-face font-latex-math-face

So based on the above, it seems that for some reason AUCTeX uses font-latex-script-char-face for some of the carets and underscores.

Thanks
Kourosh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]