X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-sec-bytype.module;h=70c549ca73069cde85a8e0cbe96684a8505183c0;hb=a830e51c8ae7d3ab0da4694a7c1d3499db66878f;hp=ebcd927d5ab0ce49e8651f00834113f9d16e16e4;hpb=5142d1c86ada8df7451534402e2a1716678ee8b7;p=lyx.git diff --git a/lib/layouts/theorems-sec-bytype.module b/lib/layouts/theorems-sec-bytype.module index ebcd927d5a..70c549ca73 100644 --- a/lib/layouts/theorems-sec-bytype.module +++ b/lib/layouts/theorems-sec-bytype.module @@ -11,7 +11,7 @@ # Author: Paul Rubin (hacked from Richard Heck's various modules) -Format 29 +Format 54 # We need separate counters for each theorem-like style. Counter theorem @@ -54,7 +54,7 @@ End Style Theorem Preamble \theoremstyle{plain} - \newtheorem{thm}{Theorem}[section] + \newtheorem{thm}{\protect\theoremname}[section] EndPreamble End @@ -62,7 +62,7 @@ End Style Corollary Preamble \theoremstyle{plain} - \newtheorem{cor}{Corollary}[section] + \newtheorem{cor}{\protect\corollaryname}[section] EndPreamble End @@ -70,7 +70,7 @@ End Style Lemma Preamble \theoremstyle{plain} - \newtheorem{lem}{Lemma}[section] + \newtheorem{lem}{\protect\lemmaname}[section] EndPreamble End @@ -78,7 +78,7 @@ End Style Proposition Preamble \theoremstyle{plain} - \newtheorem{prop}{Proposition}[section] + \newtheorem{prop}{\protect\propositionname}[section] EndPreamble End @@ -86,7 +86,7 @@ End Style Conjecture Preamble \theoremstyle{plain} - \newtheorem{conjecture}{Conjecture}[section] + \newtheorem{conjecture}{\protect\conjecturename}[section] EndPreamble End @@ -94,7 +94,7 @@ End Style Fact Preamble \theoremstyle{plain} - \newtheorem{fact}{Fact}[section] + \newtheorem{fact}{\protect\factname}[section] EndPreamble End @@ -102,7 +102,7 @@ End Style Definition Preamble \theoremstyle{definition} - \newtheorem{defn}{Definition}[section] + \newtheorem{defn}{\protect\definitionname}[section] EndPreamble End @@ -110,7 +110,7 @@ End Style Example Preamble \theoremstyle{definition} - \newtheorem{example}{Example}[section] + \newtheorem{example}{\protect\examplename}[section] EndPreamble End @@ -118,7 +118,7 @@ End Style Problem Preamble \theoremstyle{definition} - \newtheorem{problem}{Problem}[section] + \newtheorem{problem}{\protect\problemname}[section] EndPreamble End @@ -126,7 +126,7 @@ End Style Exercise Preamble \theoremstyle{definition} - \newtheorem{xca}{Exercise}[section] + \newtheorem{xca}{\protect\exercisename}[section] EndPreamble End @@ -134,7 +134,7 @@ End Style Remark Preamble \theoremstyle{remark} - \newtheorem{rem}{Remark}[section] + \newtheorem{rem}{\protect\remarkname}[section] EndPreamble End @@ -142,6 +142,6 @@ End Style Claim Preamble \theoremstyle{remark} - \newtheorem{claim}{Claim}[section] + \newtheorem{claim}{\protect\claimname}[section] EndPreamble End