On 2009-02-05, Pascal Francq wrote:

> Does anybody know if it is possible to create macro in Lyx 

No. But a key-binding.

> In practice, I want to add some shortcuts to action such as "putting the te=
> xt=20
> in red" or "the text is in English".

After selecting an action from the menu/toolbars, LyX will show the used
lyx-function (lfun) and arguments for a while in the status bar.

You can test if this is really the needed command by writing it into the 
M-x (Alt-x) command buffer and if it's correct add it to your keybindings
file.

Günter

Reply via email to