File: theorems-sec.module

package info (click to toggle)
lyx 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 138,444 kB
  • sloc: cpp: 244,268; ansic: 106,398; xml: 72,791; python: 39,384; sh: 7,666; makefile: 6,584; pascal: 2,143; perl: 2,101; objc: 1,084; tcl: 163; sed: 16
file content (37 lines) | stat: -rw-r--r-- 1,433 bytes parent folder | download
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