6

I like the bm package. However, it seems to me the line

\DeclareMathOperator{\curl}{\bm{curl}}

won't make curl bold. Although changing bm to mathbf will do the job, I have to use mathbf everytime afterwards to keep consistency, which is something I'd like to avoid. Are there any solutions to that?

1
  • Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – yo'
    Feb 2 '15 at 14:24
12

The definitions are the wrong way round.

You want something like

\DeclareMathOperator{\curlinternal}{curl}
\bmdefine\curl{\bm{\curlinternal}}

Or you could save TeX some work figuring out what that means and do

\newcommand\curl{\mathop{\mathbf{curl}}}

instead.

PS of course you like the bm package:-)

5
  • 1
    Isn't it \mathop{{}\mathbf{curl}}?
    – yo'
    Feb 2 '15 at 14:31
  • 1
    @yo' my eyes are not as good as they once were, but I reckon there is more than 1 letter in curl Feb 2 '15 at 14:35
  • Ah, I always miss something with \mathop, thanks for clarifying.
    – yo'
    Feb 2 '15 at 14:35
  • 2
    best customer service ever:-)
    – user33869
    Feb 2 '15 at 14:44
  • 1
    @DavidCarlisle -- this construction isn't blindingly obvious. in fact, reading the output of texdoc bm it still is neither blindingly obvious, nor even hinted at. why don't you do a good deed and add it. please? Nov 13 '15 at 21:26

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.