bug-auctex
[Top][All Lists]
Advanced

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

bug#25309: 11.89.8; multi-level script fontification stacks incorrectly


From: Tassilo Horn
Subject: bug#25309: 11.89.8; multi-level script fontification stacks incorrectly
Date: Tue, 03 Jan 2017 09:27:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Gennady Uraltsev <address@hidden> writes:

> 2) LaTeX (or at least AMS) forbids expressions of the type $a_b_c$ and
> $a^b^c$.
>
>
> ERROR: Double subscript.
>
> --- TeX said ---
> l.106 $a_b_
>            c$
> --- HELP ---
> There are two subscripts in a row in a mathematical
> formula---something like x_{2}_{3}, which makes no sense.
>
> The only acceptable syntax is:
>
> $a_{b_c}$

Ah, right.  That makes things a bit easier.  Basically, we can assume
that in $a^{b^c}$ the {b^c} part is already fontified and risen, so in
the case where we are going to fontify ^c we would need to
increment/decrement the `raise' value.  I'll play around with this.

Bye,
Tassilo

Attachment: signature.asc
Description: PGP signature


reply via email to

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