I want some symbols/text in math mode to be Arial? This cannot ve done by changing the settings for various kinds of text in math mode like the default italic text or the default bold text. Put another way, I want something like \arial{text} the same there is stuff like \mathbb{text} and \mathcal{text}. How do I do this?
Asked
Active
Viewed 1,641 times
1
Melab
- 181
1 Answers
2
With unicode-math, you can:
\DeclareMathAlphabet{\matharial}{Arial}[
Ligatures={Common, Tex} ,
Scale = MatchLowercase ]
In legacy NFSS, you can load uarial or winfonts along with amsmath and then select the font inside a \text command, e.g.
\newcommand\matharial[1]{\text{\normalfont\itshape\fontfamily{arial}\selectfont #1}}
Davislor
- 44,045
newtxsfpackage and the answers to this question: https://tex.stackexchange.com/questions/24035/typeset-mathematical-symbols-also-in-sans-serif-font – Jasper Habicht Feb 12 '18 at 17:33sansmath.stymay helps you... – MadyYuvi Oct 05 '19 at 01:15