I write most of my text using a sans-serif font using the following code in my preamble:
1 |
\renewcommand{\familydefault}{\sfdefault} |
Text looks than like this:
![](https://blog.modelworks.ch/wp-content/uploads/2019/09/image-1024x156.png)
However, the equations are shown in a serif-font:
![](https://blog.modelworks.ch/wp-content/uploads/2019/09/2019-09-26-14_31_11-modeldocu.pdf-SumatraPDF-1024x151.png)
Although no big issue for me, I looked for a solution that produces my equations also in sans-serif format. There is a package for this called newtxsf that does exactly that:
![](https://blog.modelworks.ch/wp-content/uploads/2019/09/2019-09-26-14_44_42-modeldocu.pdf-SumatraPDF-1024x142.png)
Just add the package in your preamble:
1 |
\usepackage{newtxsf} |