]> git.lyx.org Git - features.git/blobdiff - lib/layouts/theorems-std.module
Fix compilation with gcc 4.9
[features.git] / lib / layouts / theorems-std.module
index 2a0b3b6cdb86dbe793d913d520e293c402068550..ecf9fc7f91c438467e20975249cdb5bfb82b0f6a 100644 (file)
@@ -1,41 +1,21 @@
-#\DeclareLyXModule{Theorems}
+#\DeclareLyXModule{Standard Theorems}
+#\DeclareCategory{Maths}
 #DescriptionBegin
 #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.
+#changed by loading one of the 'Theorems (Numbered by ...)' modules.
 #DescriptionEnd
 #Excludes: theorems-ams | theorems-starred
 
-# Author: Richard Heck <rgheck@comcast.net>
+# Author: Richard Kimberly Heck <rikiheck@lyx.org>
 
-Format 14
+Format 95
 
 Counter theorem
+       GuiName Theorem
+       LaTeXName thm
 End
 
 Input theorems.inc
 Input theorems-proof.inc
-
-#This is just a hacked version of the AMS proof environment
-Style Proof
-  Preamble
-    \ifx\proof\undefined\
-      \newenvironment{proof}[1][\protect\proofname]{\par
-        \normalfont\topsep6\p@\@plus6\p@\relax
-        \trivlist
-        \itemindent\parindent
-        \item[\hskip\labelsep
-              \scshape
-          #1]\ignorespaces
-      }{%
-        \endtrivlist\@endpefalse
-      }
-    \fi
-  EndPreamble
-  LangPreamble
-    \providecommand{\proofname}{_(Proof)}
-  EndLangPreamble
-  BabelPreamble
-    \addto\captions$$lang{\renewcommand{\proofname}{_(Proof)}}
-  EndBabelPreamble
-End
+Input theorems-proof-std.inc