On Mon, 14 Feb 2005 20:21:41 +0100, Herbert Voss <[EMAIL PROTECTED]> wrote:
> put the following in ~/.lyx/layouts/stdlayouts.inc
> 
> # Proof style definition
> Style Proof
>    Margin                Static
>    LatexType             Environment
>    LatexName             proof
>    NextNoIndent          1
>    LeftMargin            MMM
>    RightMargin           MMM
>    TopSep                0.5
>    ParSep                0.5
>    BottomSep             0.5
>    Align                 Block
>    AlignPossible         Block, Left, Right, Center
>    LabelType             No_Label
>    Preamble
> \usepackage[thmmarks]{ntheorem}
> \theoremheaderfont{\itshape\bfseries}
> \theorembodyfont{\normalfont}
> \theoremstyle{nonumberplain}
> \theoremsymbol{\rule{1ex}{1ex}}
> \newtheorem{proof}{Proof}
>    Endpreamble
> End

Thanks, Herbert. I have two questions:

(1) can we have a tag for the above, so that we can see within LyX
that it is a proof?

(2) does this solution conflict with other classes when I use LyX to
work with other documents?

Paul

Reply via email to