unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: michael-franzese@gmx.com
To: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: subscript and superscript taken from  tex-mode.el
Date: Tue, 12 Jan 2021 16:06:05 +0100	[thread overview]
Message-ID: <trinity-f0ce8436-0094-4854-8714-0cab661b481a-1610463965241@3c-app-mailcom-bs06> (raw)


Am trying to implement subscript and superscript mode (i.e. subscripts
displayed downwards, superscripts displayed upwards) taken from
tex-mode.el.  What else do I have to do?


(defun tex-font-lock-suscript (pos)
(defun tex-font-lock-match-suscript (limit)
(defun tex-font-lock-unfontify-region (beg end)
(defcustom tex-suscript-height-ratio 0.8
(defcustom tex-suscript-height-minimum 0.0
(defun tex-suscript-height (height)
(defface superscript
(defface subscript




                 reply	other threads:[~2021-01-12 15:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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-f0ce8436-0094-4854-8714-0cab661b481a-1610463965241@3c-app-mailcom-bs06 \
    --to=michael-franzese@gmx.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).