The package thmtools offers the parameter 'continues' for theorems as shown in the example.
\documentclass{article}
\usepackage{amsthm}
\usepackage{thmtools}
\usepackage{hyperref}
\declaretheoremstyle[
headfont=\bfseries\itshape,
notefont=\bfseries\itshape
]{foostyle}
\declaretheorem{foo}[
style=foostyle
]
\begin{document}
\begin{foo}[Bold note]\label{foo}
This is the first part.
\end{foo}
\begin{foo}[continues=foo]
This is the second part.
\end{foo}
\end{document}
I would like to customize this 'continues' parameter. Particularly I want to "unbold" the 'continuing from p. 1' (without removing italic or other attributes). I tried to modify \thmcontinues which is defined as
\providecommand\thmcontinues[1]{%
\ifcsname hyperref\endcsname
\hyperref[#1]{continuing}
\else
continuing
\fi
from p.\,\pageref{#1}%
}
however renewing did not work (at least the following):
\renewcommand\thmcontinues[1]{
\mdseries\thmcontinues{#1}
}
Any solutions?

renewcommand{\thmcontinues}{...}I cannot use\thmcontinuesinside the second brackets anymore? – FriedeFreudeEierkuchen Feb 04 '21 at 13:35\thmcontinuesin definition of\renewcommand{\thmcontinues}{...}you will a recursion error, as in the second pair of brackets when you use\thmcontinuesit will look for the definition which is in the\renewcommandwhich then calls\thmcontinuesagain, etc. until LaTeX gives up. This is the difference between\letand\def. You can still access\thmcontinuesbehaviour if you use\thmcontiuesTEMP– Willoughby Feb 04 '21 at 16:53