> ----file my.layout----------
> # Examle style
> Style myExample
> Margin First_Dynamic
> LatexType Environment
> LatexName myExample
> NextNoIndent 1
> LeftMargin MMN
> LabelSep xx
> # ParSkip 0.0
> ItemSep 0.2
> TopSep 0.7
> BottomSep 0.7
> ParSep 0.3
> Align Block
> AlignPossible Block, Left
> LabelType Static
> LabelString "Example #:"
> LabelFont
> series bold
> EndFont
> Preamble
> \usepackage{ntheorem}
> \newtheorem{myExample}{Example}[chapter]
> EndPreamble
> End
Sorry to say: but this is not exactly what I want! Whenever a paragraph of
Type 'myExample' is followed immediately by another parapraph of the same
type I do not get the static label as described but the second paragraph is
indented instead!
As with the 'Description'-environment I want an environment that shows the
static label 'Example #' every time regardless of what type of paragraph is
just before that paragraph!
Is that possible within Lyx?
Claus