1 #\DeclareLyXModule{Standard Theorems (Numbered by Section)}
2 #\DeclareCategory{Maths}
4 #Numbers theorems and the like by section (i.e., the counter is reset at
7 #Requires: theorems-std | theorems-ams
8 #Excludes: theorems-chap
10 # Author: Richard Kimberly Heck <rikiheck@lyx.org>
18 RefFormat thm "Theorem \thesection.\arabic{theorem}"
19 RefFormat cor "Corollary \thesection.\arabic{theorem}"
20 RefFormat lem "Lemma \thesection.\arabic{theorem}"
21 RefFormat prop "Proposition \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}"
38 \newtheorem{thm}{\protect\theoremname}[section]