]> git.lyx.org Git - lyx.git/blob - lib/layouts/theorems-std.module
Update layout format.
[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 8
12
13 Counter
14         Name                 theorem
15 End
16
17 Input theorems.inc
18 Input theorems-proof.inc
19
20 #This is just a hacked version of the AMS proof environment
21 Style Proof
22   Preamble
23     \ifx\proof\undefined\
24       \newenvironment{proof}[1][\proofname]{\par
25         \normalfont\topsep6\p@\@plus6\p@\relax
26         \trivlist
27         \itemindent\parindent
28         \item[\hskip\labelsep
29               \scshape
30           #1]\ignorespaces
31       }{%
32         \endtrivlist\@endpefalse
33       }
34       \providecommand{\proofname}{Proof}
35     \fi
36   EndPreamble
37 End