all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: port x-symbol to GNU emacs 24.
Date: Mon, 17 Aug 2015 09:29:28 +0200	[thread overview]
Message-ID: <87mvxqxtif.fsf@gnu.org> (raw)
In-Reply-To: <87wpwx68cn.fsf@mat.ucm.es> (Uwe Brauer's message of "Fri, 14 Aug 2015 18:19:36 +0000")

Uwe Brauer <oub@mat.ucm.es> 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	other threads:[~2015-08-17  7:29 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-14 14:43 port x-symbol to GNU emacs 24 Uwe Brauer
2015-08-14 14:58 ` Eli Zaretskii
2015-08-14 15:16   ` Uwe Brauer
2015-08-14 15:30     ` David Kastrup
2015-08-14 18:15       ` Uwe Brauer
2015-08-14 16:05     ` Tassilo Horn
2015-08-14 17:21       ` Stefan Monnier
2015-08-14 18:19       ` Uwe Brauer
2015-08-17  7:29         ` Tassilo Horn [this message]
2015-08-17 15:10           ` Eli Zaretskii
2015-08-17 15:20             ` David Kastrup
2015-08-17 15:36               ` Eli Zaretskii
2015-08-18  8:38               ` Tassilo Horn
2015-08-18 15:52                 ` Stefan Monnier
2015-08-19  7:33                   ` Tassilo Horn
2015-08-19 12:33                     ` Tassilo Horn
2015-08-19 16:34                       ` Tassilo Horn
2015-08-19 17:29                     ` Stefan Monnier
2015-08-19 19:05                       ` Tassilo Horn
2015-08-19 21:43                         ` Stefan Monnier
2015-08-21  6:21                           ` Tassilo Horn
2015-08-21  7:28                             ` David Kastrup
2015-08-21  8:44                               ` Tassilo Horn
2015-08-21  9:51                                 ` David Kastrup
2015-08-21 13:08                                   ` Tassilo Horn
2015-08-20  8:11                       ` Generalizing prettify-symbols-mode (was: port x-symbol to GNU emacs 24.) Tassilo Horn
2015-08-20 14:15                         ` Generalizing prettify-symbols-mode Stefan Monnier
2015-08-21  6:48                           ` Tassilo Horn
2015-08-21  7:43                             ` Tassilo Horn
2015-08-21 13:19                               ` Stefan Monnier
2015-08-14 18:38       ` port x-symbol to GNU emacs 24 Uwe Brauer
2015-08-17  1:59     ` Stephen J. Turnbull
2015-08-17  9:20       ` Uwe Brauer
2015-08-17 10:50         ` Stephen J. Turnbull
2015-08-17 11:12           ` David Kastrup

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mvxqxtif.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.