unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: michael-franzese@gmx.com
To: "Stefan Möding" <s.moeding@gmail.com>
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: tex-mode.el code that decides what to do for superscripts and subsripts
Date: Wed, 13 Jan 2021 23:12:41 +0100	[thread overview]
Message-ID: <trinity-f74c376a-994e-4621-af1f-bd57487a6599-1610575961282@3c-app-mailcom-bs06> (raw)
In-Reply-To: <m28s8wlij7.fsf@athena.moeding.net>


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
> 
>



      parent reply	other threads:[~2021-01-13 22:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-13 19:41 tex-mode.el code that decides what to do for superscripts and subsripts michael-franzese
2021-01-13 19:53 ` Stefan Möding
2021-01-13 20:12   ` michael-franzese
2021-01-13 22:12   ` michael-franzese [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trinity-f74c376a-994e-4621-af1f-bd57487a6599-1610575961282@3c-app-mailcom-bs06 \
    --to=michael-franzese@gmx.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=s.moeding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).