Using the amsthm package, I have customized a theorem environment for my notes. The theorem head is bold and slanted. But I also want the number slanted. (It is already bold, but it's upright.) In code, the heading should be like this:

\textbf{\textsl{Theorem 1}.}.

You have to override the head specification.


% see https://tex.stackexchange.com/a/17555/4427
  {\topsep}   % ABOVESPACE
  {\topsep}   % BELOWSPACE
  {\itshape}  % BODYFONT
  {0pt}       % INDENT (empty value is the same as 0pt)
  {\bfseries\slshape} % HEADFONT
  {.}         % HEADPUNCT
  {5pt plus 1pt minus 1pt} % HEADSPACE
  {\thmname{#1}\ \thmnumber{#2}{\thmnote{\normalfont\ (#3)}}} % CUSTOM-HEAD-SPEC



This is a difficult theorem.

This is an easy theorem.


enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.