From 62b33b369e686bc9d1d7e961f6de8844e3e5f1ce Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 6 Apr 2011 12:47:28 +0000 Subject: [PATCH] Last of the math translations. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38292 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/theorems-named.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/layouts/theorems-named.module b/lib/layouts/theorems-named.module index 52bcb77238..6dbdc89910 100644 --- a/lib/layouts/theorems-named.module +++ b/lib/layouts/theorems-named.module @@ -17,7 +17,7 @@ Style "Named Theorem" \newcommand\thmsname{Theorem} \newcommand\nm@thmtype{theorem} \theoremstyle{plain} - \newtheorem*{namedtheorem}{\thmsname} + \newtheorem*{namedtheorem}{\protect\theoremname} \newenvironment{namedthm}[1][Undefined Theorem Name]{ \ifx{#1}{Undefined Theorem Name}\renewcommand\nm@thmtype{theorem*} \else\renewcommand\thmsname{#1}\renewcommand\nm@thmtype{namedtheorem}