I use 'mathtoolspackage to define my theorem styles and
cleveref` to be able to re-enumerate it. But this package does my old code
\makeatletter
\AtBeginEnvironment{remark}{%
\patchcmd\@thm{\trivlist}{\list{}{\leftmargin\parindent\rightmargin
\parindent}}{}{}
\patchcmd\thmt@original@endremark{\endtrivlist}{\endlist}{}{}
}
useless.
Is there a way to get indentation of the body text of the theorem ''remark''?
Here is my mwe
\documentclass{article}
\usepackage{amsmath}
\usepackage{amsthm,thmtools}
\usepackage{lipsum}
\usepackage{cleveref}
\declaretheoremstyle[%
spaceabove=\topsep,
spacebelow=\topsep,
headfont=\small\itshape,
bodyfont=\normalfont\small,
headpunct={.---},
postheadspace=1em,
headformat=\NAME\space\NUMBER,
headindent=\parindent
% qed=$\blacktriangleleft$
]{remark}
\declaretheorem[style=remark]{remark}
\begin{document}
\begin{remark}
\lipsum[1}
\end{remark}
\end{document}