Michael Grubb wrote:
> First these are the features that I'm really interested in (or  
> alternatives/compromises to these):
>
> Ability to have short code/command examples in-line with normal text,  
> preferably set off with a monospaced font.
> Ability to have longer code/command examples in a verbatim environment  
> (possible surrounded by a box and a shaded background)
> Ability to have longer code/command examples labled and indexed  
> (similar to figures and tables)

As of 1.5.0, LyX supports the listings package. It has both an inline and a 
displayed listings "inset" which should provide what you're looking for.

Jürgen

Reply via email to