2019-04-07 09:21:21 +00:00
|
|
|
#\DeclareLyXModule{Standard Theorems (Numbered by Section)}
|
2019-04-18 12:00:00 +00:00
|
|
|
#\DeclareCategory{Maths}
|
2008-01-10 04:58:20 +00:00
|
|
|
#DescriptionBegin
|
2009-11-07 10:44:08 +00:00
|
|
|
#Numbers theorems and the like by section (i.e., the counter is reset at
|
|
|
|
#each section start).
|
2008-01-10 04:58:20 +00:00
|
|
|
#DescriptionEnd
|
2022-12-31 10:28:56 +00:00
|
|
|
#Requires: theorems-std | theorems-ams
|
2008-10-20 21:09:11 +00:00
|
|
|
#Excludes: theorems-chap
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2020-12-05 22:09:17 +00:00
|
|
|
# Author: Richard Kimberly Heck <rikiheck@lyx.org>
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2023-07-28 22:21:47 +00:00
|
|
|
Format 104
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2008-10-06 14:58:22 +00:00
|
|
|
Counter theorem
|
2020-05-03 02:37:18 +00:00
|
|
|
GuiName Theorem
|
2020-12-05 22:05:30 +00:00
|
|
|
Within section
|
|
|
|
LaTeXName thm
|
2023-07-28 22:22:14 +00:00
|
|
|
RefFormat thm "Theorem \thesection.\arabic{theorem}"
|
|
|
|
RefFormat cor "Corollary \thesection.\arabic{theorem}"
|
|
|
|
RefFormat lem "Lemma \thesection.\arabic{theorem}"
|
|
|
|
RefFormat prop "Lemma \thesection.\arabic{theorem}"
|
|
|
|
RefFormat conj "Conjecture \thesection.\arabic{theorem}"
|
|
|
|
RefFormat def "Definition \thesection.\arabic{theorem}"
|
|
|
|
RefFormat exa "Example \thesection.\arabic{theorem}"
|
|
|
|
RefFormat prob "Problem \thesection.\arabic{theorem}"
|
|
|
|
RefFormat exer "Exercise \thesection.\arabic{theorem}"
|
|
|
|
RefFormat solu "Solution \thesection.\arabic{theorem}"
|
|
|
|
RefFormat rem "Remark \thesection.\arabic{theorem}"
|
|
|
|
RefFormat claim "Claim \thesection.\arabic{theorem}"
|
|
|
|
RefFormat fact "Fact \thesection.\arabic{theorem}"
|
|
|
|
RefFormat cri "Criterion \thesection.\arabic{theorem}"
|
|
|
|
RefFormat alg "Algorithm \thesection.\arabic{theorem}"
|
2008-01-10 04:58:20 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
Style Theorem
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{plain}
|
2022-12-31 10:28:56 +00:00
|
|
|
\newtheorem{thm}{\protect\theoremname}[section]
|
2008-01-10 04:58:20 +00:00
|
|
|
EndPreamble
|
|
|
|
End
|