]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-chap.module
Fix typos in comments
[lyx.git] / lib / layouts / theorems-chap.module
index 9026484430ac50502fe4af8b0771a0ccb78e68f7..73966247ed7106da5cff1cc41d31a02f485f3b4a 100644 (file)
@@ -1,4 +1,5 @@
-#\DeclareLyXModule{Theorems (Numbered by Chapter)}
+#\DeclareLyXModule{Standard Theorems (Numbered by Chapter)}
+#\DeclareCategory{Maths}
 #DescriptionBegin
 #Numbers theorems and the like by chapter (i.e., the counter is reset at
 #each chapter start). Use this module only with document classes that provide a chapter
@@ -6,14 +7,15 @@
 #DescriptionEnd
 #Requires: theorems-std | theorems-ams
 #Excludes: theorems-sec
-#Category: theorems
 
-# Author: Richard Heck <rgheck@comcast.net>
+# Author: Richard Kimberly Heck <rikiheck@lyx.org>
 
-Format 21
+Format 98
 
 Counter theorem
-       Within         chapter
+       GuiName Theorem
+       Within chapter
+       LaTeXName thm
 End
 
 Style Theorem
@@ -25,10 +27,4 @@ Style Theorem
                        \newtheorem{thm}{\protect\theoremname}[chapter]
                \fi
        EndPreamble
-       LangPreamble
-               \providecommand{\theoremname}{_(Theorem)}
-       EndLangPreamble
-       BabelPreamble
-               \addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
-       EndBabelPreamble
 End