Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I defined and used a new theormestyle using amsmath package:

\newtheoremstyle{standard}
  {\topsep}      % ABOVESPACE
  {\topsep}      % BELOWSPACE
  {\normalfont}  % BODYFONT % \itshape
  {0pt}          % INDENT (empty value is the same as 0pt)
  {\itshape}     % HEADFONT
  {.\ }          % HEADPUNCT
  {0pt}          % HEADSPACE. `plain` default: {5pt plus 1pt minus 1pt}
  {}             % CUSTOM-HEAD-SPEC

When I see it correctly this leads e.g. to Remark 1. instead of Remark 1.
So the number is not italized. How should I do that?
Maybe internally the \emph environment is applied to the number, neutralizing italics already in place.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Use

{\thmname{#1} \thmnumber{#2}}             % CUSTOM-HEAD-SPEC

MWE:

\documentclass{article}
\usepackage{mathtools,amsthm,amsfonts}
\newtheoremstyle{standard}
  {\topsep}      % ABOVESPACE
  {\topsep}      % BELOWSPACE
  {\normalfont}  % BODYFONT % \itshape
  {0pt}          % INDENT (empty value is the same as 0pt)
  {\itshape}     % HEADFONT
  {.\ }          % HEADPUNCT
  {0pt}          % HEADSPACE. `plain` default: {5pt plus 1pt minus 1pt}
  {\thmname{#1} \thmnumber{#2}}             % CUSTOM-HEAD-SPEC

\theoremstyle{standard}
\newtheorem{thm}{Remark}
\begin{document}
  \begin{thm}
    Let $I \subset \mathbb{R}$ be an interval.
  \end{thm}
\end{document}

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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