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