help-texinfo
[Top][All Lists]
Advanced

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

Re: tex-mode.el for setting superscript and subscript face


From: Christopher Dimech
Subject: Re: tex-mode.el for setting superscript and subscript face
Date: Thu, 14 Jan 2021 11:29:34 +0100

I am working on a minor mode that will use the superscipt and subscript
functionality for texinfo-mode.

> Sent: Thursday, January 14, 2021 at 8:34 PM
> From: "Robert Pluim" <rpluim@gmail.com>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "help-texinfo gnu" <help-texinfo@gnu.org>
> Subject: Re: tex-mode.el for setting superscript and subscript face
>
> >>>>> On Wed, 13 Jan 2021 23:19:02 +0100, Christopher Dimech <dimech@gmx.com> 
> >>>>> said:
>
>     Christopher> I am trying to find the part of the code in tex-mode.el that 
> recognises
>     Christopher> the superscript parts "^{}" and the subscript part "_{}" so 
> as to use
>     Christopher> a different face.
>
> Why do you need the code?
>
>     (defface superscript
>       '((t :height tex-suscript-height)) ;; :raise 0.2
>       "Face used for superscripts."
>       :group 'tex)
>     (defface subscript
>       '((t :height tex-suscript-height)) ;; :raise -0.2
>       "Face used for subscripts."
>       :group 'tex)
>
> Robert
>
>



reply via email to

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