I need to typeset a whole document sans serif with sourcesanspro
, including formulas. I know that there are a lot of arguments against doing this, but in this particular case it makes sense.
My problem is (as often asked at several places of the web), that I don't find a proper sans serif math font. I searched the web for hours and tested a lot of possibilities (arec
. cmbright
, iwona
...) but ended up using sansmath
.
As far as I understood sansmath
, it uses the default sans serif family for typesetting formulas. The problem is, that sourcesanspro
doesn't include greek letters or symbols like blackboard fonts.
Is it possible to replace several symbols of the math font, e. g. greek letters, by the greek letters of other fonts manually?
That's my MWE, so far:
\documentclass{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath, amssymb}
\usepackage[default]{sourcesanspro}
\usepackage{sansmath}
\sansmath
\begin{document}
\noindent
ABCDEFGHIJKLMNOPQRSTUVWXYZ \\
abcdefghijklmnopqrstuvwxyz \\
$abcdefghijklmnopqrstuvwxyz$ \\
$ABCDEFGHIJKLMNOPQRSTUVWXYZ$ \\
$\alpha\beta\gamma\delta\epsilon\varepsilon\zeta\eta\theta\vartheta\iota\kappa\varkappa\lambda\mu\nu\xi o\pi\varpi\rho\varrho\sigma\varsigma\tau\upsilon\phi\varphi\chi\psi\omega$ \\
$\Gamma\Delta\Theta\Lambda\Xi\Pi\Sigma\Upsilon\Phi\Psi\Omega$ \\
$\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$
\[
\frac{1}{2\pi i}\int_\gamma f = \sum_{k=1}^m n(\gamma;a_k) \cdot \text{Res}(f;a_k).
\]
\end{document}