[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
- port x-symbol to GNU emacs 24., Uwe Brauer, 2015/08/14
- Re: port x-symbol to GNU emacs 24., Eli Zaretskii, 2015/08/14
- Re: port x-symbol to GNU emacs 24., Uwe Brauer, 2015/08/14
- Re: port x-symbol to GNU emacs 24., Tassilo Horn, 2015/08/14
- Re: port x-symbol to GNU emacs 24., Stefan Monnier, 2015/08/14
- Re: port x-symbol to GNU emacs 24., Uwe Brauer, 2015/08/14
- Re: port x-symbol to GNU emacs 24.,
Tassilo Horn <=
- Re: port x-symbol to GNU emacs 24., Eli Zaretskii, 2015/08/17
- Re: port x-symbol to GNU emacs 24., David Kastrup, 2015/08/17
- Re: port x-symbol to GNU emacs 24., Eli Zaretskii, 2015/08/17
- Re: port x-symbol to GNU emacs 24., Tassilo Horn, 2015/08/18
- Re: port x-symbol to GNU emacs 24., Stefan Monnier, 2015/08/18
- Re: port x-symbol to GNU emacs 24., Tassilo Horn, 2015/08/19
- Re: port x-symbol to GNU emacs 24., Tassilo Horn, 2015/08/19
- Re: port x-symbol to GNU emacs 24., Tassilo Horn, 2015/08/19
- Re: port x-symbol to GNU emacs 24., Stefan Monnier, 2015/08/19
- Generalizing prettify-symbols-mode (was: port x-symbol to GNU emacs 24.), Tassilo Horn, 2015/08/20