]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-named.module
* revtex4.layout : Adapt fonts and numbering to better reflect the pdf output.
[lyx.git] / lib / layouts / theorems-named.module
index 6dbdc899104c8386bd01e6d96493548b7ff5211a..899ae72742975a40f2be35e5cc586942a7b95782 100644 (file)
@@ -7,17 +7,17 @@
 #Requires: theorems-ams | theorems-starred
 #Original Author: John Perry
 
-Format 34
+Format 35
 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}{\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}