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.
44 Input theorems-bytype.inc
45 Input theorems-proof.inc
47 #This is just a hacked version of the AMS proof environment
51 \newenvironment{proof}[1][\proofname]{\par
52 \normalfont\topsep6\p@\@plus6\p@\relax
59 \endtrivlist\@endpefalse
61 \providecommand{\proofname}{Proof}
64 # No LangPreamble or BabelPreamble, since babel knows \proofname already.