I am having some troubles producing numbers in math mode in bold. \mathbf{}
command worked with the mathptmx
package, producing bold numbers that looked like numbers in math mode, but bold. Then I started using the newtxmath
package alongside the bm
and now they look not like I want to.
mathbf{1}
produces a symbol which looks like number 1, but like a text-mode 1. While \bm{}
and \boldsymbol
won't work. Here is an output of
$\bm{1}$\\
$\boldsymbol{1}$\\
$\mathbf{1}$\\
\textbf{1}
Am am using Georgia
font with its "low" numbers, so you can definitively tell the difference between math mode and text mode.
Is there any solution for this problem?
Here is the full code (you need Lua or Xe LaTex to compile):
\documentclass[10pt]{article}
\usepackage{newtxmath}
\usepackage{bm}
\usepackage{polyglossia}
\defaultfontfeatures{Ligatures=TeX}
\setmainfont{Georgia}
\newfontfamily\cyrillicfont{Georgia}
\setmainlanguage{russian}
\begin{document}
\noindent
$\bm{1}$\\
$\boldsymbol{1}$\\
$\mathbf{1}$\\
\textbf{1}
\end{document}
UPDATE: The thing finally worked, when I have compiled the file on another PC. Which is strange, because as I get it, TexLive updates the packages and compilers automatically, so it doesn't seem to be a matter of version.
It would be great if somebody explains me what is going on here.
tlmgr update
, you can add\listfiles
to the document preamble and compare the package version at the end of each log. (there were some updates tobm
last year to be a bit less broken in luatex, for example)