[texhax] ntheorem[amsthm] and amsthm discrepancy

Victor Ivrii vivrii at gmail.com
Tue Apr 20 12:43:32 CEST 2010


It looks like ntheorem[amsthm] does not honour
\theoremstyle{definition}: as body should be normal text

\documentclass[12pt]{article}
%\usepackage{amsthm}
\usepackage[amsthm,thmmarks]{ntheorem}
%
\theoremstyle{definition}
\newtheorem{definition}{Definition}

\begin{document}

\begin{definition}
blah
\end{definition}


\end{document}


Sure, there are two offending lines in ntheorem.sty

\gdef\th at definition{%
  \th at plain\def\theorem at headerfont{\normalfont\bfseries}\itshape}
\gdef\th at nonumberdefinition{%
  \th at nonumberplain\def\theorem at headerfont{\normalfont\bfseries}\itshape}

(one should replace \itshape by \normalfont to fix)


Victor


More information about the texhax mailing list