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?

13
  • 1
    You could have a look at the newtxsf package and the answers to this question: tex.stackexchange.com/questions/24035/… Feb 12, 2018 at 17:33
  • Welcome to TeX.SX anyways! Feb 12, 2018 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, 2018 at 0:45
  • @TeXnician Please unlock this question as I have edited such that it is no longer a duplicate.
    – Melab
    Mar 26, 2018 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, 2018 at 0:32

1 Answer 1

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}}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .