On 2009-08-25, Vincent van Ravesteijn - TNW wrote:

>>> I don't know what boxes are, 

With "boxes" I mean the LyX insets like they are used for minipages,
comments, notes, etc. They are an established tool for "container" or
"separable" environments that ususally contain several paragraphs but
should stay separate.

Example for the definition in a layout file (local version of seminar.layout)

InsetLayout LandscapeSlide
   LyXType      custom
   LatexType    Environment
   LatexName    slide
   Decoration classic
   LabelFont
     Size       Small
   EndFont
   MultiPar true
   LabelString  "Landscape Slide"
End

The problem is that you cannot define a conversion à la

Style Slide
        Obsoletedby             LandscapeSlide
End

as Styles and Insets live in different namespaces.


> but I do have a proposed behavior for LyX.

...

> Ben means pressing Enter on a _blank_ line could start a new theorem.
> So, that means two enters right after each other. I think it's a very
> interesting idea.

The new feature would be helpful for the power user, but hidden to the
uninitiated. 

Insets are a clearly visible and established metaphor. They are
especially useful for environments that usually include paragraphs
of different type/style as you get the nesting for free.

Günter

Reply via email to