1 #\DeclareLyXModule{Standard Theorems (Numbered by Type)}
2 #\DeclareCategory{Maths}
4 #Defines some theorem environments for use with non-AMS classes. Contrary to the
5 #plain Theorem module, the different theorem types provided here each have a separate
6 #counter (e.g., theorem 1, theorem 2, lemma 1, proposition 1, theorem 3, lemma 2, ...,
7 #as opposed to theorem 1, theorem 2, lemma 3, proposition 4, ...).
8 #The numbering's scope is the whole document. For chapter- and section-wide numbering,
9 #use one of the 'within Sections'/'within Chapters' modules, respectively.
11 #Excludes: theorems-std | theorems-ams | theorems-starred | theorems-ams-bytype
13 # Author: Paul Rubin <rubin@msu.edu> (hacked from Richard Heck's theorems-std.module)
17 # We need separate counters for each theorem-like style.
58 Input theorems-bytype.inc
59 Input theorems-proof.inc
61 #This is just a hacked version of the AMS proof environment
65 \newenvironment{proof}[1][\proofname]{\par
66 \normalfont\topsep6\p@\@plus6\p@\relax
73 \endtrivlist\@endpefalse
75 \providecommand{\proofname}{Proof}
78 # No LangPreamble or BabelPreamble, since babel knows \proofname already.