I'm typesetting both text and math in Latin Modern, except for the figures, where I would like to use a sans serif font for both text and math.
I need to follow the ISO recommendations for math typesetting. That incorporates the need to typeset vectors in boldface italics. Within the document, I'm using \bm from the bm package for that purpose. It works fine.
Now I started using the sansmath environment from the sansmath package to get my figures in sans serif. For simplification, I did not put a figure in the following example.
\documentclass{scrartcl}
\usepackage{lmodern}
\usepackage{bm}
\usepackage{sansmath}
\begin{document}
$\bm{d} = (d_1, d_2)$
$\mathbf{d} = (d_1, d_2)$
\begin{sansmath}
$\bm{d} = (d_1, d_2)$
$\mathbf{d} = (d_1, d_2)$
\end{sansmath}
\end{document}
As the example shows, I could also use mathbf, which also does its job within the sansmath environment. However, I mustn't have upright letters for the vectors.
Is the another combination of packages available that both does sans serif math and supports boldface italics?


sansmathenvironment just for my figures without changing them. Greek letters are a mess anyway, it's getting even more funny if it comes to upright lowercase and slanted uppercase Greek letters. I intentionally did not ask for the Greek letters... so much better you mention it in your answer. And you are right, the look of the Greek letters does not match the Latin one very well. At least, the lowercase Greek letters do not have serifs :). – Christoph Dec 11 '11 at 21:48