[Top][All Lists]

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

[AUCTeX] How to use tex--prettify-symbols-alist?

From: Marcin Borkowski
Subject: [AUCTeX] How to use tex--prettify-symbols-alist?
Date: Sat, 27 Feb 2016 19:18:11 +0100
User-agent: mu4e 0.9.13; emacs

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"

3. I tried adding this to prettify-symbols-alist:
   ("\\mathbb{R}" . 8477).  It didn't work, though.  Why is that so?

If nobody of you knows exactly the answer, and would need to dig into
the source code, I'd be happy to actually do it myself and report back
about what I found there; but in case someone already has that figured,
I'd prefer not to spend too much time on this.


Marcin Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

reply via email to

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