[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Syntax color in math-mode
From: |
Colin Baxter |
Subject: |
Re: [AUCTeX] Syntax color in math-mode |
Date: |
Fri, 13 Jan 2017 11:29:53 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
On Fri, Jan 13 2017, Mosè Giordano wrote:
> Hi Colin,
>
> 2017-01-13 10:49 GMT+01:00 Colin Baxter <address@hidden>:
>>
>> Hello,
>>
>> Has the syntax coloring in math mode changed recently? I notice that the
>> exponent symbol ^ is now colored a very dark red, which makes it difficult to
>> read against my black background. How can I get back to the original
>> lighter coloring?
>>
>> I am using the latest git pull version of auctex and emacs-25.1.1.
>
> Yes, that changed a few days ago and this is described in the news
> section of the manual
> (https://www.gnu.org/software/auctex/manual/auctex.html#Changes):
>
> * AUCTeX is able to display several levels of super- and subscripts,
> each one raised above and a bit smaller than its basis. For this
> feature, have a look at the customize options
> 'font-latex-fontify-script' (especially the new values
> 'multi-level' and 'invisible') and
> 'font-latex-fontify-script-max-level'. Also, the script characters
> '^' and '_' are also fontified with a special face named
> 'font-latex-script-char-face'. See Fontification of math, for
> details.
>
> So you may want to customize `font-latex-script-char-face'. I suggest
> you to keep it different from the rest of the equation, in order to
> better highlight those characters.
>
> Bye,
> Mosè
>
Dear Mosè,
Thank you for the information.
Colin.