Make a heavier math font

boldmath-mode

I want to make a heavier math font by using the command \hm which is from bm package. But it doesn't work well and give a same font like the one made by \bm. Could you help me find out where the wrong is, or show me another way to make a heavier math font?

The following is the code and what I get:

\documentclass{article}
\usepackage{amsmath,amssymb,amsfonts,mathtools,bm}

\begin{document}
    
\[
    \hm{a} \quad \bm{a} \quad a
\]
\end{document}

enter image description here

Best Answer

This is because there are no heavy fonts for the \hm command in the default Computer Modern series. The following comes from the documentation of the bm package.

If there is a ‘heavy’ math version defined (usually accessed by a user-command \heavymath) then a similar command \hm is defined which access these ‘ultra bold’ fonts. Currently this is probably only useful with the ‘mathtime plus’ font collection.

Note that 'hm' is a short hand for 'heavy math font' which has a bigger line weights than 'bold math font' abbreviated as 'bm'.