]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-named.module
Merge branch 'master' of git.lyx.org:lyx
[lyx.git] / lib / layouts / theorems-named.module
index 52bcb77238552698c0b329ed0110ae3aa754f275..044530d7772c9dadbdb6da714d393563f9cc5a84 100644 (file)
@@ -7,14 +7,14 @@
 #Requires: theorems-ams | theorems-starred
 #Original Author: John Perry
 
-Format 34
+Format 41
 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}