Andre Poenitz wrote: > What's wrong with binding > > "command-sequence ert-insert ; self-insert \macro ; escape ; " > > to some key? If you insist on creating a collapsed inset you could > try something like: > > "command-sequence ert-insert ; self-insert \macro ; escape ; > word-backward ; inset-toggle ; char-forward ; " > > (everything on one line, some of the spaces are essential)
Well, that's no solution for the common user, I guess. > > Or he can even define > > his own LaTeX commands in the preamble and create a macro for this. > > With the new LaTeX inset this would even look nice ;-) But of > > course I do not know if this is possible like this, just an idea. > > I think I'll try to replace math macros with some more general macro > facility some day just to show off what non-math-LyX-users have been > missing all the time ;-) But that's certainly nothing for 1.2. Yes! Definitely a good idea (even if I belong to those mistreated non-math-LyX-users who have never seen math macros ;-) Juergen. > Andre'