all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* tex-mode.el code that decides what to do for superscripts and subsripts
@ 2021-01-13 19:41 michael-franzese
  2021-01-13 19:53 ` Stefan Möding
  0 siblings, 1 reply; 4+ messages in thread
From: michael-franzese @ 2021-01-13 19:41 UTC (permalink / raw)
  To: Help Gnu Emacs

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









^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-13 22:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.