I would like to create the following formatting for summing up hypotheses (I am using the report
documentclass):
Body text. Body text. Body text. Body text. Body text. Body text. Body text. Body text.
Hypothesis 1 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Phasellus iaculis imperdiet blandit.
Body text. Body text. Body text. Body text. Body text. Body text. Body text. Body text.
So far this is what I have managed to come up with (I'm trying to do it with the amsthm
package):
\documentclass[11pt]{report}
\usepackage[bottom=2cm, top=2cm, left=3cm, right=2cm]{geometry}
\usepackage{lipsum}
\usepackage{amsthm}
\newtheoremstyle{hypothesis}
{5pt}
{5pt}
{\itshape}
{1cm}
{\bfseries}
{}
{.5em}
{}
\theoremstyle{hypothesis}
\newtheorem{hypo}{Hypothesis}
\begin{document}
\lipsum[1]
\begin{hypo}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus iaculis imperdiet blandit.
\end{hypo}
\lipsum[2]
\end{document}
Which produces the following:
As you can see I'm almost there. The only thing I still need now is that the hypothesis body text has the same indentation as the hypothesis head (i.e. when the hypothesis body continues on a new line, that line has to begin at the same point that the hypothesis head begins).
I feel like it has to be something very simple, but I can't seem to figure it out. Any help would be greatly appreciated.
Best Answer
A modification of https://tex.stackexchange.com/a/106582/4427
As usual,
showframe
is just for showing the text block boundaries.