I wish to have my theorem environments (theorem, lemma, corollary, definition) etc have a hanging indentation as follows:
Theorem 1: This is the one, It should be emphasized that an option gives the holder the
right to do something.The holder does not have to exercise this right. This
is what distinguishes options from forwards and futures, where the holder is
obligated to buy or sell the underlying asset.
However, I am failing to produce this type of hanging indentation and below is the MWE which I got from How can I change the typeface used in my theorem environments :
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amsthm}
\usepackage{xcolor}
\newtheoremstyle{mytheoremstyle} % name
{\topsep} % Space above
{\topsep} % Space below
{\itshape\fontfamily{ptm}\selectfont} % Body font
{} % Indent amount
{\fontfamily{ptm}\selectfont\scshape\color{blue}} % Theorem head font
{:} % Punctuation after theorem head
{.5em} % Space after theorem head
{} % Theorem head spec (can be left empty, meaning ‘normal’)
\theoremstyle{mytheoremstyle}
\newtheorem{lemma}{Lemma}
\usepackage{lipsum}
\begin{document}
\begin{lemma}[foo bar]
\lipsum[3]
\end{lemma}
\end{document}