help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: adding C-c C-f C-p shortcut for \textipa


From: Stephen Berman
Subject: Re: adding C-c C-f C-p shortcut for \textipa
Date: Tue, 22 Jan 2008 18:54:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

On Mon, 21 Jan 2008 15:18:13 -0800 (PST) Roger Levy <sinoslav@gmail.com> wrote:

> I am a linguist who uses AucTeX and I would like to add a key binding
> for C-c C-f C-p that behaves exactly like other C-c C-f * commands
> (e.g., C-c C-f C-e for \emph), but introduces the textfont \textipa
> (for the International Phonetic Alphabet).  How would I do this?  It
> looks to me like I need to customize TeX-font-list but I'm not sure
> the best way to do it (I'd prefer to doing this in my .emacs file
> directly to using Emacs customization menus).

Does this work?

(add-to-list 'TeX-font-list '(?\C-p "\\textipa{" "}"))

Steve Berman





reply via email to

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