]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-sec.module
Autoconf: use included boost when system boost is not available
[lyx.git] / lib / layouts / theorems-sec.module
index 6494a2c010a0db4d6b4757f67ccce3a324765497..295d026410e37e5802f243053aa34ce35f72492e 100644 (file)
@@ -1,18 +1,20 @@
-#\DeclareLyXModule{Theorems (Numbered by Section)}
+#\DeclareLyXModule{Standard Theorems (Numbered by Section)}
+#\DeclareCategory{Maths}
 #DescriptionBegin
 #Numbers theorems and the like by section (i.e., the counter is reset at
 #each section start).
 #DescriptionEnd
 #Requires: theorems-std | theorems-ams
 #Excludes: theorems-chap
-#Category: theorems
 
-# Author: Richard Heck <rgheck@comcast.net>
+# Author: Richard Kimberly Heck <rikiheck@lyx.org>
 
-Format 19
+Format 89
 
 Counter theorem
-       Within         section
+       GuiName Theorem
+       Within section
+       LaTeXName thm
 End
 
 Style Theorem
@@ -20,10 +22,4 @@ Style Theorem
                \theoremstyle{plain}
                \newtheorem{thm}{\protect\theoremname}[section]
        EndPreamble
-       LangPreamble
-               \providecommand{\theoremname}{_(Theorem)}
-       EndLangPreamble
-       BabelPreamble
-               \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
-       EndBabelPreamble
 End