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: Sat, 16 Jan 2021 12:38:35 +0100

I do nat think that I would need most of the contents in
tex-font-lock-keywords-*

> Sent: Saturday, January 16, 2021 at 11:35 PM
> From: "Christopher Dimech" <dimech@gmx.com>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "Robert Pluim" <rpluim@gmail.com>, "help-texinfo gnu" 
> <help-texinfo@gnu.org>
> Subject: Re: tex-mode.el for setting superscript and subscript face
>
> I am still trying to take only the minimal code for the superscript
> and subscript option  from tex-font-lock-keywords-*
> 
> 
> 
> > Sent: Friday, January 15, 2021 at 9:35 PM
> > From: "Christopher Dimech" <dimech@gmx.com>
> > To: "Robert Pluim" <rpluim@gmail.com>
> > Cc: "help-texinfo gnu" <help-texinfo@gnu.org>
> > Subject: Re: tex-mode.el for setting superscript and subscript face
> >
> > Have tried using tex-font-lock-keywords-3.  But tex-font-lock-keywords-2 
> > and tex-font-lock-keywords-1 seem to be doing too many things.  I only
> > require the part where the superscripts and subscripts are shown in smaller
> > font and placed at a different height level. 
> > 
> > (defconst tex-font-lock-keywords-3
> >   (append tex-font-lock-keywords-2
> >       '((tex-font-lock-match-suscript
> >          (1 (tex-font-lock-suscript (match-beginning 0)) append))))
> >   "Experimental expressions to highlight in TeX modes.")
> > 
> > > Sent: Friday, January 15, 2021 at 9:09 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 Thu, 14 Jan 2021 17:19:54 +0100, Christopher Dimech 
> > > >>>>> <dimech@gmx.com> said:
> > > 
> > >     Christopher> I am having a problem introducing the 
> > > tex-font-lock-keywords
> > >     Christopher> and get the superscript-subscript functionality to work.
> > > 
> > > Show us what you tried, and people will help (although Iʼm not sure
> > > help-texinfo is the right place for this)
> > > 
> > > Robert
> > > 
> > >
> > 
> >
>



reply via email to

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