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'
    Commented Feb 2, 2015 at 14:24

1 Answer 1

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'
    Commented Feb 2, 2015 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 Commented Feb 2, 2015 at 14:35
  • Ah, I always miss something with \mathop, thanks for clarifying.
    – yo'
    Commented Feb 2, 2015 at 14:35
  • 2
    best customer service ever:-)
    – user33869
    Commented Feb 2, 2015 at 14:44
  • 2
    @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? Commented Nov 13, 2015 at 21:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .