[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] more symbols in pretty
From: |
Uwe Brauer |
Subject: |
Re: [AUCTeX-devel] more symbols in pretty |
Date: |
Thu, 22 Oct 2015 11:41:09 +0300 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.0.50 (gnu/linux) |
> Uwe Brauer <address@hidden> writes:
> To decide if something is to be prettified, there's
> `prettify-symbols-compose-predicate' which is
> `TeX--prettify-symbols-compose-p' in AUCTeX. Basically, that looks at
> the char after the found symbol to decide if it is to be prettified.
> Examples:
> \alpha ;; prettified
> \alphafoo ;; not prettified cause foo is still part of the symbol
> \alpha2 ;; prettified because a number is not part of a macro
> \|U ;; not prettified because the U could be part of the macro
I see. I find the idea that
> \|U ;; not prettified because the U could be part of the macro
Could be a macro a bit odd, I would expect
\|#1
to be a macro, but I will not argue about it.
Uwe