[Top][All Lists]

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

Re: [AUCTeX-devel] sub and superscripts: without «_» and «^»

From: Tassilo Horn
Subject: Re: [AUCTeX-devel] sub and superscripts: without «_» and «^»
Date: Thu, 03 Sep 2015 13:49:59 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Uwe Brauer <address@hidden> writes:

> I strongly recommend to include the code in Auctex, maybe with a
> additional variable, something like this

It's far from perfect.  For example, if you have some spurious ^ or _
somewhere in your text (not in some math) you won't see it at all.  And
AUCTeX's font-latex does not raise/lower scripts on multiple levels,
e.g., with x^y^z the y and the z have the same size and are equally
raised.  If the ^ were not displayed, you couldn't see that the z is a

Anyway, to make you happy I've just implemented that feature in an
improved way.  `font-latex-fontify-script' used to be a plain boolean
option, now it has two new possible values:

  - `multi-level': raise/lower scripts recursively like stock

  - `invisible': also do the multi-level raising/lowering and hide the
    script chars altogether (and only in math text)


reply via email to

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