I like to use the text font Libertine and math font LibertinusT1Math.
Is there a way to setup the math font LibertinusT1Math globally to sans serif?
In my example I tried out a local switch
\begin{equation*}
\sf 3^{x^2}-\ln(x)+\sqrt[5]{x\cdot 6-3}=\ell_{av}
\end{equation*}
However the "x" within the root isn't sans serif and the operator "ln" neither.
Any ideas how to correct that and set this mathfont globally to sans serif?
Any help appreciated.
Kind regards,
\documentclass{article}
\usepackage[sb,sfdefault]{libertine} % use sb in place of bold
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{libertinust1math}
\thickmuskip 2.5mu plus 2mu minus 0.5mu \thinmuskip 2mu \medmuskip 2.5mu plus 1.5mu minus 0.5mu\relax
\begin{document}
Dies ist ein kleiner Test zur Schrift LibertinusT1Math,
\begin{equation*}
\sf 3^{x^2}-\ln(x)+\sqrt[5]{x\cdot 6-3}=\ell_{av}
\end{equation*}
\begin{equation*}
\mathsf{ 3^{x^2}-\ln(x)+\sqrt[6]{x\cdot 6-3}=\ell_{av}}
\end{equation*}
\end{document}
\sf
is 20+ years obsolete. It ought not be used in LaTeX, even in text mode. – cfr Jul 24 '17 at 13:20