On Tue, 16 Oct 2001 18:17:01 +0200 wrote "Saalfeld, Christoph" <[EMAIL PROTECTED]>:
> > > > > 1) I need ERT quite frequently. It would be cool to have > > a special box for latex code. I mean a box like the one for > > footnotes, which supports cut and paste and everything like > > normal text. Every text in this box should be automatically > > understood as red text, and if you close the box, your screen > > is clean (except of a small label). Of course that has > > nothing to do with functionality, it's just a way to hide ERT. > > > > > > This is in version 1.2. > > > > > That's good news > > Yeah, really. Is it possible to give these boxes a name, that will be > displayed in LyX only ? > E.g. "List of Listings" for inserting the list of listings > (\lstlistoflistings) included with "listings.sty" > > Christoph This is what you do by writing a .layout file. An example for the seminar style would be Style ListOfSlides KeepEmpty 1 NextNoIndent 1 LatexType Command LatexName listofslides LabelType Centered_Top_Environment LabelString "List Of Slides" LabelBottomSep 0 End See the files in the /layout dir of LyX and the Customization guide. Guenter -- [EMAIL PROTECTED]
