This is my MWE:
% !TEX program = xelatex
\documentclass{article}
\usepackage{amsmath,bm}
\usepackage{mathspec}
\setmainfont{Times New Roman}
\setmathfont(Digits,Latin,Greek){Minion Pro}
\setmathrm{Minion Pro}
\begin{document}
This is MWE for testing.
A vector $\bm{d}$, a stress tensor $\bm{\sigma}$.
A vector $\mathbf{d}$, a stress tensor $\mathbf{\sigma}$.
A vector $\pmb{d}$, a stress tensor $\pmb{\sigma}$.
\end{document}
Output:
I want to get a Bold and Italic letter for Latin in Minion Pro font (or other customized fonts). The command \pmb in 'amsbsy' package can meet my need, but it looks like two letters overlapping together when you zoom in the file. And \mathbf cannot get the italic form although it can bold the letters. I can remove the option 'Greek' to let this set be CM font, so is there any other way except for \pmb to solve such problem? I have tried a command,
\SetSymbolFont{Digits:m:n}{bold}{EU1}{\eu@mathrm}{bx}{n}
from Getting bold digits with XeLaTeX and mathspec, but not working neither(error when running).
Could anyone give me a good solution?
\bm
would use the font set up for\boldmath
but I;m not sure if minion pro math setup has bold math? (I don't have the fonts to check)\usepackage[varg]{txfonts}
instead of\setmathfont{<some fonts name>}
, because this doesn't change the Latin letters from the default font (Computer Modern) to other fonts. I just want to keep the Greek letters in Computer Modern and change the Latin and Digits letters to my wanted fonts, which can be bold-italic.