wspr/unicode-math — Issue #230: Populate bold math version by default
Author: khaledhosny
Created: 2012-02-21 17:21:47+00:00
State: open

Currently bold math version is kept set to CM fonts, but it should just use the regular font by default. Without uncomments the second `\setmathfont` line, the second formula will be empty:

\documentclass{article}
\usepackage{amsmath}
\usepackage{unicode-math}
\setmathfont{XITS Math}
%\setmathfont[version=bold]{XITS Math}

\begin{document}

\[t^{\mu} \coloneq \prod t_i^{\mu_i}\]

\boldmath

\[t^{\mu} \coloneq \prod t_i^{\mu_i}\]

\end{document}

Also, when font is loaded by name it would be nice to use the equivalent of `Font Name/B` so if there is a bold companion of the specified font it would loaded.