On Fri, 7 Mar 2003, Andre Poenitz wrote: > On Thu, Mar 06, 2003 at 03:15:38PM -0800, James Frye wrote: > > Now another question from a lazy new user: would it be possible to > > somehow define a macro to do that, and assign it to a key? It would work > > sort of like importing Lex math formulas: mark the desired text, then hit > > the key, and an ERT and the Lex command text are wrapped around it. > > There is no way I know of to make this work with selected text. > You could have two bindings to insert the two kinds of ERT, though.
This works: http://ev-en.org/wiki/moin.cgi/LyxCommandSequences#line46 /Christian -- Christian Ridderström http://www.md.kth.se/~chr