I am trying to construct a theorem environment which roughly looks like this:
1.1 Theorem Statement of the theorem. Here is some extra text so you can see how the
theorem body text should be indented (aligned with theorem head).
The theorem head should be bold, with no punctuation after. The spacing between thmnumber
and thmname
should be adjustable. Body text normal.
I want to be able to use the environment for definitions as well (which won't be numbered), so it should be possible to remove the number without affecting the alignment of the theorem head. Example:
Definition Statement of the definition. It should be aligned the same way as a
theorem.
Here is some body text in the document. Note that the theorem numbers are not in the
margin.
1.1 Theorem Statement of the theorem. Here is some extra text so you can see how the
theorem body text should be indented (aligned with theorem head).
thmnumber
andthmname
, its the alignments that I don't know how to do.