]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-named.module
Extend unicodesymbols force flag
[lyx.git] / lib / layouts / theorems-named.module
index 6dbdc899104c8386bd01e6d96493548b7ff5211a..407c1f56b27b0c81ac2809cb45a78d696d2d4bbd 100644 (file)
@@ -7,17 +7,17 @@
 #Requires: theorems-ams | theorems-starred
 #Original Author: John Perry
 
-Format 34
+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}{\protect\theoremname}
+    \newtheorem*{namedtheorem}{\thmsname}
     \newenvironment{namedthm}[1][Undefined Theorem Name]{
       \ifx{#1}{Undefined Theorem Name}\renewcommand\nm@thmtype{theorem*}
       \else\renewcommand\thmsname{#1}\renewcommand\nm@thmtype{namedtheorem}