]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-named.module
IEEEtran-CompSoc.layout: use the new NoInsetLayout tag
[lyx.git] / lib / layouts / theorems-named.module
index b73fc1bd874f636a5105027428e7b91618b4cc4b..407c1f56b27b0c81ac2809cb45a78d696d2d4bbd 100644 (file)
@@ -2,19 +2,19 @@
 #\DeclareLyXModule{Named Theorems}
 #DescriptionBegin
 # Facilitates the use of named theorems. The name of the theorem
-# goes into the "Short Title" inset.
+# goes into the 'Short Title' inset.
 #DescriptionEnd
 #Requires: theorems-ams | theorems-starred
 #Original Author: John Perry
 
-Format 30
+Format 44
 Style "Named Theorem"
   CopyStyle Theorem*
-  Category Theorem
+  Category Reasoning
   LabelString "Named Theorem."
   LatexName namedthm
   Preamble
-    \newcommand\thmsname{Theorem}
+    \newcommand\thmsname{\protect\theoremname}
     \newcommand\nm@thmtype{theorem}
     \theoremstyle{plain}
     \newtheorem*{namedtheorem}{\thmsname}
@@ -24,7 +24,6 @@ Style "Named Theorem"
       \fi
       \begin{\nm@thmtype}}
       {\end{\nm@thmtype}}
-    \makeatother
   EndPreamble
 End