sebschub / FontPro

LaTeX support for Adobe's Pro opentype fonts: Minion Pro, Myriad Pro, Cronos Pro and possibly more
231 stars 43 forks source link

Poor placement of math accents with \boldsymbol #54

Open jburtscher opened 8 years ago

jburtscher commented 8 years ago

If I use the \boldsymbol command, the placement of math accents is rather poor: boldsymbol Interestingly, this does not happen if the mathversion is switched to bold (but so are the accents): mathversion Is there any way to get the "correct" placement also for single bold symbols?

\documentclass{article}

\usepackage{MinionPro}
\usepackage[sansmath]{MyriadPro}

\let\bm\boldsymbol
\def\foo{$\dot{\bm{I}}$ $\dot{\bm{J}}$ $\dot{\bm{K}}$ $\dot{\bm{L}}$}
\def\bar{$\dot{I}$ $\dot{J}$ $\dot{K}$ $\dot{L}$}

\begin{document}
\foo\par
{\mathversion{sans}\foo}

\bigskip
{\mathversion{bold}\bar}\par
{\mathversion{sansbold}\bar}
\end{document}

And by the way: thanks for the awesome project!

svenper commented 6 years ago

Could this be an issue with boldsymbol itself? https://github.com/sebschub/FontPro/blob/master/tex/MyriadPro.dtx#L1130 YMMV with bm: https://tex.stackexchange.com/questions/3238/bm-package-versus-boldsymbol