With the standard theorem-like environemnts (at least when using amsthm), one obtains something like
Theorem 2.3.
where "Theorem" is in bold but "2.3." is not. I would like to have the number in bold too. A first solution may look like
\newtheorem{thm}{Theorem}[section]
\renewcommand{\thethm}{\textbf{\arabic{section}.\arabic{thm}}}
The problem with this solution is that every reference to a theorem number will be in bold as well, and I don't want this inside the text.
Is there a way to have only the numbers in theorem headings in bold?
EDIT As it was pointed out, my actual example is slightly more complicated than that. I am using a modified theorem style; a minimal example follows
\documentclass[reqno]{amsart}
\usepackage{amsthm, lipsum}
\swapnumbers
\newtheoremstyle{dotless-thm}
{3pt}
{3pt}
{\it}
{}
{\bfseries}
{}
{.5em}
{}
\theoremstyle{dotless-thm}
\newtheorem{thm}{Theorem}[section]
\begin{document}
\begin{thm}
\lipsum
\end{thm}
\end{document}
Even though I use bfseries for the theorem body font, the number appears in normal font.
plainstyle ofamsthmtypesets both the name and the number boldfaced. – Gonzalo Medina Apr 6 '11 at 12:52\thethmis probably not the way to achieve what you want. amsthm and ntheorem packages provide their own functionality for changing how theorems appear... – Seamus Apr 6 '11 at 13:03\swapnumberscommenting that out makes the number bold. So there's something funny going on with swap numbers and theorem head styling... – Seamus Apr 6 '11 at 14:11