[Top][All Lists]

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

Re: AucTeX: shortcut for a font-specifier

From: Kai Großjohann
Subject: Re: AucTeX: shortcut for a font-specifier
Date: Tue, 10 Sep 2002 11:08:01 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Dani Martí <address@hidden> writes:

> I would like to define a shortcut to insert a '\textcolor{color}{text}'
> in my LaTeX document with 'color' package, in the same we can easily
> insert standard font specifiers like '\emph{text}' just by typing `C-c
> C-f C-e'. In other words, how to implement this?

See the variable TeX-font-list.  But that doesn't support prompts out
of the box.  Dunno how to do that.  Maybe you have to use the macro
insertion support for that.  (C-c C-m textcolor RET will insert that
macro, if AUC-TeX knows about it.  You can use completion to enter
the macro name.  Maybe that's sufficient?)

A large number of young women don't trust men with beards.  (BFBS Radio)

reply via email to

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