1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
#\DeclareLyXModule{Standard Theorems (Numbered by Section)}
#\DeclareCategory{Maths}
#DescriptionBegin
#Numbers theorems and the like by section (i.e., the counter is reset at
#each section start).
#DescriptionEnd
#Requires: theorems-std | theorems-ams
#Excludes: theorems-chap
# Author: Richard Kimberly Heck <rikiheck@lyx.org>
Format 111
Counter theorem
GuiName Theorem
Within section
LaTeXName thm
RefFormat thm "Theorem|Theorems \thesection.\arabic{theorem}"
RefFormat cor "Corollary|Corollaries \thesection.\arabic{theorem}"
RefFormat lem "Lemma|Lemmas \thesection.\arabic{theorem}"
RefFormat prop "Proposition|Propositions \thesection.\arabic{theorem}"
RefFormat conj "Conjecture|Conjectures \thesection.\arabic{theorem}"
RefFormat def "Definition|Definitions \thesection.\arabic{theorem}"
RefFormat exa "Example|Examples \thesection.\arabic{theorem}"
RefFormat prob "Problem|Problems \thesection.\arabic{theorem}"
RefFormat exer "Exercise|Exercises \thesection.\arabic{theorem}"
RefFormat solu "Solution|Solutions \thesection.\arabic{theorem}"
RefFormat rem "Remark|Remarks \thesection.\arabic{theorem}"
RefFormat claim "Claim|Claims \thesection.\arabic{theorem}"
RefFormat fact "Fact|Facts \thesection.\arabic{theorem}"
RefFormat cri "Criterion|Criteria \thesection.\arabic{theorem}"
RefFormat alg "Algorithm|Algorithms \thesection.\arabic{theorem}"
End
Style Theorem
TheoremParentCounter section
End
|