]> git.lyx.org Git - lyx.git/blob - lib/layouts/theorems-sec.module
de.po
[lyx.git] / lib / layouts / theorems-sec.module
1 #\DeclareLyXModule{Standard Theorems (Numbered by Section)}
2 #\DeclareCategory{Maths}
3 #DescriptionBegin
4 #Numbers theorems and the like by section (i.e., the counter is reset at
5 #each section start).
6 #DescriptionEnd
7 #Requires: theorems-std | theorems-ams
8 #Excludes: theorems-chap
9
10 # Author: Richard Kimberly Heck <rikiheck@lyx.org>
11
12 Format 104
13
14 Counter theorem
15         GuiName Theorem
16         Within section
17         LaTeXName thm
18         RefFormat thm "Theorem \thesection.\arabic{theorem}"
19         RefFormat cor "Corollary \thesection.\arabic{theorem}"
20         RefFormat lem "Lemma \thesection.\arabic{theorem}"
21         RefFormat prop "Lemma \thesection.\arabic{theorem}"
22         RefFormat conj "Conjecture \thesection.\arabic{theorem}"
23         RefFormat def "Definition \thesection.\arabic{theorem}"
24         RefFormat exa "Example \thesection.\arabic{theorem}"
25         RefFormat prob "Problem \thesection.\arabic{theorem}"
26         RefFormat exer "Exercise \thesection.\arabic{theorem}"
27         RefFormat solu "Solution \thesection.\arabic{theorem}"
28         RefFormat rem "Remark \thesection.\arabic{theorem}"
29         RefFormat claim "Claim \thesection.\arabic{theorem}"
30         RefFormat fact "Fact \thesection.\arabic{theorem}"
31         RefFormat cri "Criterion \thesection.\arabic{theorem}"
32         RefFormat alg "Algorithm \thesection.\arabic{theorem}"
33 End
34
35 Style Theorem
36         Preamble
37                 \theoremstyle{plain}
38                 \newtheorem{thm}{\protect\theoremname}[section]
39         EndPreamble
40 End