1 #\DeclareLyXModule{Theorems (Numbered by Type)}
3 #Defines some theorem environments for use with non-AMS classes. Contrary to the
4 #plain Theorem module, the different theorem types provided here each have a separate
5 #counter (e.g., theorem 1, theorem 2, lemma 1, proposition 1, theorem 3, lemma 2, ...,
6 #as opposed to theorem 1, theorem 2, lemma 3, proposition 4, ...).
7 #The numbering's scope is the whole document. For chapter- and section-wide numbering,
8 #use one of the 'within Sections'/'within Chapters' modules, respectively.
10 #Excludes: theorems-std | theorems-ams | theorems-starred | theorems-ams-bytype
12 # Author: Paul Rubin <rubin@msu.edu> (hacked from Richard Heck's theorems-std.module)
16 # We need separate counters for each theorem-like style.
42 Input theorems-bytype.inc
43 Input theorems-proof.inc
45 #This is just a hacked version of the AMS proof environment
49 \newenvironment{proof}[1][\proofname]{\par
50 \normalfont\topsep6\p@\@plus6\p@\relax
57 \endtrivlist\@endpefalse
59 \providecommand{\proofname}{Proof}