]> git.lyx.org Git - lyx.git/blob - lib/layouts/theorems-sec.module
LyXHTML: add explicit HTMLTag for titles.
[lyx.git] / lib / layouts / theorems-sec.module
1 #\DeclareLyXModule{Standard Theorems (Numbered by Section)}
2 #\DeclareCategory{Maths}
3 #DescriptionBegin
4 #Numbers theorems and the like by section (i.e., the counter is reset at
5 #each section start).
6 #DescriptionEnd
7 #Requires: theorems-std | theorems-ams
8 #Excludes: theorems-chap
9
10 # Author: Richard Kimberly Heck <rikiheck@lyx.org>
11
12 Format 99
13
14 Counter theorem
15         GuiName Theorem
16         Within section
17         LaTeXName thm
18 End
19
20 Style Theorem
21         Preamble
22                 \theoremstyle{plain}
23                 \newtheorem{thm}{\protect\theoremname}[section]
24         EndPreamble
25 End