I am having problems trying in declaring a theorem style. I would like the first row of the definition to be on a new line with the normal indent. If I try to add \par
instead of \newline
for postheadspace
, I am getting error. Also postheadhook
doesn't seem to work.
Thank you in advance :)
\documentclass[12pt,reqno]{amsbook}
\usepackage{thmtools}
\declaretheoremstyle[
headfont=\scshape\bfseries,
headindent = \parindent,
postheadhook = {\hspace{0mm}\newline},
postheadspace = \newline,
spaceabove = 0.5cm,
spacebelow = 0.5cm]{mydef}
\newtheorem{Theorem}{Theorem}[chapter]
\theoremstyle{mydef}
\newtheorem{Definition}[Theorem]{Definition}
\begin{document}
\begin{Definition}
This is a very long definition which i want to start with indent on the next row instead of from the beggining
Like this
\end{Definition}
\end{document}