]> git.lyx.org Git - lyx.git/blob - lib/layouts/theorems-std.module
Spanish EmbeddedObjects.lyx: translation update by Ignacio
[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 7
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     \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
35   EndPreamble
36 End