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'm not quite sure if this counts as a bug or a feature but I have the following problem with the ntheorem package. The theorem title is bold face, which I like, but in math formulas setting some (or all) letters to bold may change the meaning of the mathematical quantities (vectors are bold, scalars are normal etc)

So my question: how can I avoid that the mathematical formulas in the title of the theorem are changed but the rest of the title is still set in bold?

As far as I can see the problem does not occur in the (obsolete) theorem package.

share|improve this question
3  
this is, at the very least, a design flaw for the reason you mention. this problem does not occur in the amsthm package. (the [optional] part of the theorem header there isn't normally bold at all, which some non-ams people feel is a design flaw. but even if this is overcome by a \newtheoremstyle, the math still won't be bold.) –  barbara beeton Jun 28 '12 at 13:55
add comment

1 Answer

up vote 7 down vote accepted

The boldmath is inserted by

\def\theorem@checkbold{\if b\expandafter\@car\f@series\@nil\boldmath\fi}

so it looks as if you could go

\makeatletter

\def\theorem@checkbold{}

\makeatother

to disable that feature

share|improve this answer
    
thanks that does the job! –  Stefan Waldmann Jun 28 '12 at 14:09
    
@StefanWaldmann: If that does the job, you can accept the answer given by David. –  Count Zero Jun 28 '12 at 15:49
add comment

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.