I am trying to define a new theorem style that is identical to the standard remark provided by the amsart class, except for its color. As far as I understood, it is a good idea to use the thmtools package. However, I do not know what options I should include in the command \declaretheoremstyle to produce the usual remark style from amsart.
Below is my attempt. As you can see, the result is not satisfactory because the vertical spacing before and after the remark changes slightly. Does anybody know how to solve this?
\documentclass{amsart}
\usepackage{xcolor}
\usepackage{thmtools}
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}
\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}
\declaretheoremstyle[headfont = \color{red}\normalfont\itshape, bodyfont = \color{red}\normalfont\itshape]{colored}
\declaretheorem[sibling = theorem, style = colored, name = Remark]{coloredremark}
\begin{document}
\begin{theorem}
Body of first theorem.
\end{theorem}
\begin{coloredremark}
Body of colored remark.
\end{coloredremark}
\begin{theorem}
Body of second theorem.
\end{theorem}
\begin{remark}
Body of normal remark.
\end{remark}
\begin{theorem}
Body of last theorem.
\end{theorem}
\end{document}


thmtoolswould be even better. The problem is that when I try to color also the body font, extra vertical spaces appear. One should thus set appropriate values for the space above and the space below. – Matteo Raffaelli Jun 07 '21 at 21:16\itshape\color{red}in the third argument and leave the first two blank, then extra vertical spaces appear. Am I missing something? – Matteo Raffaelli Jun 08 '21 at 07:25.5\topsepin the first and second arguments. That is the default value of theremarkstyle, as indicated in this answer. – Matteo Raffaelli Jun 08 '21 at 08:15