5

I'm looking for a math font to be used in . Right now I use Asana Math, which actually looks nice, but is too bold for my purposes. For normal text I use the Roboto font, if I write

normal vs. $\mathsf{math}$

I get:

enter image description here

I tried many different math fonts, but they all look bolder than the normal font. Is there either a way to tell to use a thinner font or is there a math font which is thinner innately?

4
  • 2
    Roboto font is available under Apache License from here: developer.android.com/design/style/typography.html Apr 9, 2014 at 8:26
  • This does not address my question.
    – pfnuesel
    Apr 9, 2014 at 8:28
  • 2
    Yes, it doesn't but you didn't provide a source for the font in your question. I'm pretty sure that not everybody has Roboto installed by default. Also this is a comment rather than an answer and comments are not always on topic. Furthermore you could just read the mathspec manual. Apr 9, 2014 at 8:32
  • 1
    You really ought not use any sans serif font for 'normal text'. It is harder to read than a serif when used for text blocks. (Fine for headings and titles if it matches the body font.)
    – cfr
    Apr 10, 2014 at 0:19

1 Answer 1

6

Just use the scaling feature of fontspec (inherited by unicode-math):

\documentclass{article}
\usepackage{unicode-math}
\setmainfont[Ligatures=TeX]{Roboto}
\setmathfont[Scale=MatchLowercase]{Asana Math}

\begin{document}
normal vs. $\mathsf{math}$
\end{document}

enter image description here

On the other hand, mixing Asana Math for math and the Roboto font doesn't seem a good choice; a math intensive document shouldn't be typeset in a sans serif font for which there's no real matching math font available.

1
  • 5
    No document should be typeset entirely in sans serif regardless of whether it is maths-intensive or whether a matching maths font is available ;).
    – cfr
    Apr 10, 2014 at 0:17

You must log in to answer this question.

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