]> gitweb.michael.orlitzky.com - mjotex.git/blob - mjo-theorem.tex
Put \ifx guards on most other package includes, too.
[mjotex.git] / mjo-theorem.tex
1 %
2 % The standard corollary, definition, theorem, etc. that we all define
3 % in every single paper.
4 %
5 \ifx\havemjotheorem\undefined
6 \def\havemjotheorem{1}
7
8 \ifx\theoremstyle\undefined
9 \usepackage{amsthm}
10 \fi
11
12 \theoremstyle{plain}
13 \newtheorem{corollary}{Corollary}
14 \newtheorem{exercise}{Exercise}
15 \newtheorem{lemma}{Lemma}
16 \newtheorem{proposition}{Proposition}
17 \newtheorem{theorem}{Theorem}
18
19 \theoremstyle{definition}
20 \newtheorem{definition}{Definition}
21 \newtheorem{example}{Example}
22
23 \theoremstyle{remark}
24 \newtheorem{remark}{Remark}
25
26
27 \fi