Marcin Borkowski
2016-02-27 18:18:11 UTC
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?
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.
TIA,
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?
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.
TIA,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University