On 02/19/2013 04:18 PM, celano wrote:
Hy,
I create the command in the preamble:
\newcommand\MADAM[1]{Madam #1}
I'd like to set this command in my own user interface toolbar
(example.ui) :
Menuset
Menu "PhD"
Submenu "commands" "insert_commands"
End
Menu "commands"
Item "MADAM" "?????"
End
End
What should I insert instead of ????? to make \MADAM{} inserted?
Do you mean for this to be in ERT, or ...? If you want this to be a real
LyX inset, like the footnote inset or something like that, you first
need to make a flex inset that encapsulates it, which we can help you
do.....
Richard