> Uwe Brauer <[email protected]> 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 

_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to