]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-std.module
Spanish EmbeddedObjects.lyx: translation update by Ignacio
[lyx.git] / lib / layouts / theorems-std.module
index 43529111a55aad8355ce43c6c260d13a94ca66e0..dafbeab455421d05817893f570163bc5c82fc5ab 100644 (file)
@@ -1,18 +1,36 @@
 #\DeclareLyXModule{Theorems}
 #DescriptionBegin
-#Defines some theorem environments for use with non-AMS classes. The theorems are 
-#numbered consecutively throughout the document. 
+#Defines some theorem environments for use with non-AMS classes. By default, 
+#the theorems are numbered consecutively throughout the document. This can be
+#changed by loading one of the Theorems (Ordered By ...) modules.
 #DescriptionEnd
-#Excludes: Theorems (AMS, By Section) | Theorems (AMS) | Theorems (By Chapter) | Theorems (By Section)
+#Excludes: theorems-ams | theorems-starred
 
 # Author: Richard Heck <rgheck@comcast.net>
-# Adapted from amsmaths.inc
 
-Format 6
+Format 7
 
 Counter
        Name                 theorem
 End
 
 Input theorems.inc
+Input theorems-proof.inc
 
+#This is just a hacked version of the AMS proof environment
+Style Proof
+  Preamble
+    \newenvironment{proof}[1][\proofname]{\par
+      \normalfont\topsep6\p@\@plus6\p@\relax
+      \trivlist
+      \itemindent\parindent
+      \item[\hskip\labelsep
+            \scshape
+        #1]\ignorespaces
+    }{%
+      \endtrivlist\@endpefalse
+    }
+\providecommand{\proofname}{Proof}
+
+  EndPreamble
+End
\ No newline at end of file