On Thu, Mar 06, 2003 at 03:15:38PM -0800, James Frye wrote:
> > {\addtolength{\leftskip}{amount} %in ERT
> > 
> > your text...
> > your text...
> > your text...
> > 
> > } %in ERT
> 
> Thanks, that looks like just what I want.   
> 
> 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.

The correct way to do this is to define a new layout in the .layout file.
Customization.lyx covers this issue.

Reply via email to