I am trying to number my theorems, corollaries, Lemmas, Propositions, Definitions, Remarks etc. I put the following code:
\theoremstyle{theorem}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{corollary}{Corollary}[theorem]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\theoremstyle{definition}
\newtheorem{definition}{Definition}[section]
\newtheorem{example}{Example}[definition]
\theoremstyle{remark}
\newtheorem{remark}{Remark}[section]
I want to produce the following:
theorem 1.1
proposition 1.2
definition 1.3
example 1.4
remark 1.5
lemma 1.6
but the code above gives me
theorem 1.1
definition 1.1
remark 1.1
lemma 1.2
Can anyone tell me if there is a code that numbers all these respectively?