I'm very new to LaTeX (a couple of days ago I didn't know how to use \newtheorem
) and was hoping someone could help me with the following problem.
If I'm using \usepackage{amsthm}
, how do I obtain control over the vertical gap between Theorems, Propositions etc and their respective proofs? In particular, I am looking for the proof to follow on like a normal line. This is the best I have come up with so far:
\usepackage{amthm}
\newtheoremstyle{newstyle}
{} %Aboveskip
{-.25pt} %Below skip
{\mdseries} %Body font e.g.\mdseries,\bfseries,\scshape,\itshape
{} %Indent
{\bfseries} %Head font e.g.\bfseries,\scshape,\itshape
{.} %Punctuation afer theorem header
{ } %Space after theorem header
{} %Heading
\theoremstyle{newstyle}
\newtheorem{thm}{Theorem}[section]
\newtheorem{prop}{Proposition}[thm]
\newtheorem{lem}{Lemma}
\newtheorem{cor}{Corollary}
\newenvironment{pf}
{\n\textit{Proof.}\begin{mdseries}}
{\end{mdseries}}\
However, I have two main problems with it. Firstly, the %Below skip
doesn't seem to give me much control - there's a pretty substantial jump between {}
and when I type any negative value in. Secondly, the numbering is mucked up e.g. if I was to type \begin{thm}...\end{thm}
and then \begin{prop}...\end{prop}
(in section 1 say) I would get as my out put:
Theorem 1.1
Proposition 1.1.1
Thanks for any help.
proof
environment provided by theamsthm
package? Among other things, it does a very nice job of placing and end-of-proof ("qed") symbol at the end of the environment.