here is what I have done. I am only doing this minimal example just to make sure that I have not done any customization to override the default setting. However, in the output I get the name of the theorem is not bold. Could anyone please let me know why this happens or maybe how I can resolve this? Thank you very much
Clarification: Thanks to guys who pointed this out; what I meant was that I want the "Name" to be in bold (and overleaf says this is what my tex should generate).
\documentclass{article}
\usepackage{amsthm}
\newtheorem{theorem}{Theorem}
\begin{document}
\begin{theorem}[Name]
This is a theorem with a bold name.
\end{theorem}
\end{document}
(Name)in regular weight is expected. – cfr Oct 12 '23 at 11:54