]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-named.module
update layout format
[lyx.git] / lib / layouts / theorems-named.module
index 02aa2e848ce4466d6d9d44a3d44480c294f04cf8..629325c5ab74239fd3cfc876a6cac2ff8679deca 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 43
 Style "Named Theorem"
   CopyStyle Theorem*
   Category Theorem
   LabelString "Named Theorem."
   LatexName namedthm
   Preamble
-    \newcommand\thmsname{Theorem}
+    \newcommand\thmsname{\protect\theoremname}
     \newcommand\nm@thmtype{theorem}
     \theoremstyle{plain}
     \newtheorem*{namedtheorem}{\thmsname}