[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: turn off super/subscripts in `tex-mode'
From: |
Reiner Steib |
Subject: |
Re: turn off super/subscripts in `tex-mode' |
Date: |
Tue, 19 Oct 2004 10:59:12 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
On Tue, Oct 19 2004, Joe Corneli wrote:
> These new super/sub scripts are cute, but what is the best way to
> turn them off?
Those are in `tex-font-lock-keywords-3'. Setting the decoration
level to 2 (or lower) in tex-mode should disable it:
(setq font-lock-maximum-decoration '((tex-mode . 2) (t . t)))
> It would be nice to have a `toggle-suscripts' function that would
> take care of turning them on and off.
In AUCTeX (font-latex.el) there is a variable
`font-latex-fontify-script' for this, but not in Emacs' tex-mode.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/