How about using cmbright
to get sans serif math and rotating the \partial
?
\documentclass{article}
\usepackage{cmbright}
\usepackage{graphicx}
\newcommand{\upartial}{\rotatebox[origin=c]{15}{\ensuremath{\partial\mkern-2mu}}}
\begin{document}
\[\frac{\partial x}{\partial t}\quad\textnormal{vs.}\quad\frac{\upartial x}{\upartial t}\]
\end{document}
Edit:
One can get cmbright
only in math mode with the following code. However, in doing so I discovered this solution is not very robust. As you can see in the image, the upright \partial
gets typeset in \displaystyle
despite being inside \(...\)
.
Code:
\documentclass{amsart}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern,cmbright}
\renewcommand*\familydefault{\rmdefault}
\usepackage{graphicx}
\newcommand{\upartial}{\mathsurround=0pt \rotatebox[origin=c]{15}{$\partial\mkern-2mu$}}
\begin{document}
Normal vs.\ upright partial: \(\frac{\partial x}{\partial t}\) vs.\ \(\frac{\upartial x}{\upartial t}\)
\end{document}
Note: I've also changed the definition of \upartial
after reading @egreg's answer here, but the inline math problem persists.
tipa
, but it wouldn't be sans-serif.