[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tex-mode.el code that decides what to do for superscripts and subsri
From: |
michael-franzese |
Subject: |
Re: tex-mode.el code that decides what to do for superscripts and subsripts |
Date: |
Wed, 13 Jan 2021 23:12:41 +0100 |
Am trying to find the part of the code I need to call from tex-mode.el
to put superscripts and subscripts at a different face font when it
recognizes "^{}" and "_{}".
> Sent: Thursday, January 14, 2021 at 7:53 AM
> From: "Stefan Möding" <s.moeding@gmail.com>
> To: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: tex-mode.el code that decides what to do for superscripts and
> subsripts
>
> michael-franzese@gmx.com writes:
>
> > I am trying to find the code that decides what to do for
> > superscripts "^", "^{}" and subsripts "_", "_{}" in tex-mode.el.
>
> I'm setting `tex-fontify-script' to `nil' in my setup to prevent the special
> formatting. This variable is referenced in the function
> `tex-font-lock-match-suscript'. Maybe this is what you are looking for?
>
> --
> Stefan
>
>