On 2016-02-27, at 19:18, Marcin Borkowski <[email protected]> wrote:

> Hi folks,
>
> I did (setq prettify-symbols-alist tex--prettify-symbols-alist), and
> enabled prettify-symbols-mode.  However, things do not look as well as
> I would like them to.
>
> 1. Math between $...$ doesn't get prettified; \(...\) and other
> constructs work.  Also, symbols outside math mode /do/ work!  Why?
>
> 2. \(\infty\) does not get prettified; \( \infty\) does.  Why?  Is that
> because prettify-symbols-mode surrounds the regex with the "symbol"
> delimiters?
>
> 3. I tried adding this to prettify-symbols-alist:
>    ("\\mathbb{R}" . 8477).  It didn't work, though.  Why is that so?

OK, this one /did/ work; I was a bit impatient and had a glance into the
code, and it turns out that disabling and enabling the mode helped.

The other questions are still a bit of a mystery for me, though.

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

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

Reply via email to