# [texhax] ntheorem[amsthm] and amsthm discrepancy

Tue Apr 20 15:10:12 CEST 2010

Victor Ivrii wrote:
> On Tue, Apr 20, 2010 at 8:54 AM, Lars Madsen <daleif at imf.au.dk> wrote:
>> my mistake, sorry, you are right, it seems to be an error in ntheorem
>>
>> though I'm not sure if it is maintained anymore.
>>
>> --
> OK, I found solution (not sure if it is the best one as it is
> modification of something found over internet); other solution is just
> to hack ntheorem (in two lines)
>
> \renewtheoremstyle{definition}%
> {\item[\hskip\labelsep \bfseries{##1 ##2}]}%
> {\item[\hskip\labelsep \bfseries{##1 ##2}: {##3} ]}
> \theoremstyle{definition}
> \theorembodyfont{\upshape}
>
>
> Victor
>

but why do you need \thereomstyle{definition}?

the output is the same as

\theoremstyle{plain}
\theorembodyfont{\upshape}