1

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?

  • 1
    You could have a look at the newtxsf package and the answers to this question: tex.stackexchange.com/questions/24035/… – Jasper Habicht Feb 12 '18 at 17:33
  • Welcome to TeX.SX anyways! – Jasper Habicht Feb 12 '18 at 19:47
  • @JasperHabicht Nope. That question's answers involve changing the particular defaults for whatever kind of text is used in math mode (i.e., italic, bold, non-italic, etc.). That is not what I want. – Melab Mar 26 '18 at 0:45
  • @TeXnician Please unlock this question as I have edited such that it is no longer a duplicate. – Melab Mar 26 '18 at 0:51
  • 1
    Please provide an MWE which shows any font configuration you have for text/maths, any symbols packages you are loading etc. If your MWE does not make it obvious, please specify your compiler also. Question: what do you mean by Arial? Arial? Or a clone? You also need to tell us the scope of your request: what exactly do you want to access in this way? Note that TeX is limited to 16 maths fonts. Depending on your current configuration, you may need to prioritise what you want to access in Arial. Or do you just want to access Arial/clone text, rather than maths symbols etc.? That's more open. – cfr Mar 27 '18 at 0:32
0

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{\fontfamily{arial}\selectfont #1}}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.