help-gnu-emacs
[Top][All Lists]
Advanced

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

tex-mode.el code that decides what to do for superscripts and subsripts


From: michael-franzese
Subject: tex-mode.el code that decides what to do for superscripts and subsripts
Date: Wed, 13 Jan 2021 20:41:20 +0100

I am trying to find the code that decides what to do for
superscripts "^", "^{}" and subsripts "_", "_{}" in tex-mode.el.

I copied over the following, but there has to be other stuff to
make the smaller font take effect.

(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 via email to

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