]> git.lyx.org Git - lyx.git/blob - lib/layouts/theorems-std.module
stdletter.inc, letter.lyx: fix http://bugzilla.lyx.org/show_bug.cgi?id=5684
[lyx.git] / lib / layouts / theorems-std.module
1 #\DeclareLyXModule{Theorems}
2 #DescriptionBegin
3 #Defines some theorem environments for use with non-AMS classes. By default, 
4 #the theorems are numbered consecutively throughout the document. This can be
5 #changed by loading one of the Theorems (Ordered By ...) modules.
6 #DescriptionEnd
7 #Excludes: theorems-ams | theorems-starred
8
9 # Author: Richard Heck <rgheck@comcast.net>
10
11 Format 11
12
13 Counter theorem
14 End
15
16 Input theorems.inc
17 Input theorems-proof.inc
18
19 #This is just a hacked version of the AMS proof environment
20 Style Proof
21   Preamble
22     \ifx\proof\undefined\
23       \newenvironment{proof}[1][\proofname]{\par
24         \normalfont\topsep6\p@\@plus6\p@\relax
25         \trivlist
26         \itemindent\parindent
27         \item[\hskip\labelsep
28               \scshape
29           #1]\ignorespaces
30       }{%
31         \endtrivlist\@endpefalse
32       }
33       \providecommand{\proofname}{Proof}
34     \fi
35   EndPreamble
36 End