Why do I get a false integral symbol when I do \bm{\int(2x}? I've just loaded the package bm in a usual way, and I'm not using any other different font in the preamble.

Why do I get a false integral symbol when I do \bm{\int(2x}? I've just loaded the package bm in a usual way, and I'm not using any other different font in the preamble.

The range of symbols available depends on the fonts used, and the classic Computer Modern collection doesn't have a bold version of the symbol extension font used for integral signs.
Assuming you don't want to change font setup globally there are a couple of choices. Use an extra set of {..} so \bm sees this as a complex expression and just uses \boldmath internally. This will make the other symbols bold but leave the integral sign from the standard font. or you could modify the poor man's bold to offset the symbols by a smaller amount so the gaps don't show. The original used an arbitrary value of .4mu here I use .2mu.

\documentclass{article}
\usepackage{bm}
\begin{document}
\showoutput
$\bm{\int(2x)}$
$\bm{{\int(2x)}}$
\makeatletter
\def\bm@pmb@#1{{%
\setbox\tw@\hbox{$\m@th\mkern.2mu$}%
\mathchoice
\bm@pmb@@\displaystyle\@empty{#1}%
\bm@pmb@@\textstyle\@empty{#1}%
\bm@pmb@@\scriptstyle\defaultscriptratio{#1}%
\bm@pmb@@\scriptscriptstyle\defaultscriptscriptratio{#1}}}
\makeatother
$\bm{\int(2x)}$
\end{document}
\bm{\int}_{\mkern-9mu 0}^n
– David Carlisle
Jan 08 '15 at 20:25
bmwas written the majority of people were using bitmap fonts:-) – David Carlisle Apr 28 '13 at 10:14bmtries several approaches to get bold and the poor man's bold you show is it's last alternative. But the code path depends on what other font packages you are using, and the order they are loaded – David Carlisle Apr 28 '13 at 10:16