emacs-devel
[Top][All Lists]
Advanced

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

Re: port x-symbol to GNU emacs 24.


From: Tassilo Horn
Subject: Re: port x-symbol to GNU emacs 24.
Date: Mon, 17 Aug 2015 09:29:28 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Uwe Brauer <address@hidden> writes:

>    > Well, I guess you could use Emacs' built-in
>    > `prettify-symbols-mode' in order to display TeX macros using some
>    > unicode characters (or preview-latex of course).
> I just switched `prettify-symbols-mode' on in a latex buffer but
> nothing happens to \int or \alpha

You have to define the symbols in `prettify-symbols-alist', e.g., define
some `ub/prettify-symbols-alist-latex' as

  (("\\\\alpha" . ?𝛼)
   ("\\\\beta"  . ?𝛽)
   ...)

and then do

  (setq prettify-symbols-alist ub/prettify-symbols-alist-latex)

in TeX-mode-hook.

Bye,
Tassilo



reply via email to

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