17

As stated in the question title, is there any sans-serif font that fully supports the unicode-math package? Alternatively, is there a list that shows the different levels of support for (preferably many) different fonts (e.g. Latin Modern Sans has numbers, Latin letters and uppercase Greek letters, but no lowercase Greek letters and no/not all symbols)?

The fonts that are commonly advertised to fully work with unicode-math are Latin Modern Math, Asana Math and XITS Math. However, these are all serif fonts.

7

At the time of writing, there is no Unicode math font available which is sanserif across all of the range. There have been discussions about this (presentations and the like would benefit from availability, particularly for those people not in pure mathematics but using mathematical notation).

19

I'm now doing one: https://github.com/firamath/firamath, which is based on FiraSans.

Here is a showcase (use beamer theme metropolis):

showcase

Of course, this work is far away from finished. For example, most of the relation symbols haven't been drawn. By the way, I'm a newbie to font design and creation, so if you have any suggestions, please tell me.

Update:

Now it's available in CTAN as firamath.

  • 3
    Great work — hope it goes well! – Will Robertson Jan 20 '18 at 12:05
  • @stone-zeng Nice design and style! – Cicada Sep 29 at 7:26
0

The Mathematical Alphanumeric Symbols unicode block defines 996 symbols: bold, italic, fraktur, serif, sans-serif, double-struck, latin/greek, script, etc, in various combinations. 𝐀𝐚 𝐴𝑎 𝑨𝒂 𝒜𝒶 𝓐𝓪 𝔄𝔞 𝔸𝕒 𝕬𝖆 𝖠𝖺 𝗔𝗮 𝘈𝘢 𝘼𝙖 𝙰𝚊 𝚪𝛄 𝛤𝛾 𝜞𝜸 𝝘𝝲 𝞒𝞬 𝟏𝟐𝟑 𝟙𝟚𝟛 𝟣𝟤𝟥 𝟭𝟮𝟯 𝟷𝟸𝟹.

The MAS block definitions are built-in, separate to the font, and the MAS is also separate from the Latin and Greek blocks used for normal text. So that implies that any (math) font implementing the MAS, whether serif or sans, would have all those combinations, 𝕽 like bold capital fraktur etc.

The MAS

Code

\documentclass[12pt]{article}
\usepackage{xcolor}
\usepackage{unicode-math}
\setmathfont{DejaVu Math}
\setmainfont{Noto Serif}

\newcommand\mlatin{𝐀𝐚 𝐴𝑎 𝑨𝒂 𝒜𝒶 𝓐𝓪 𝔄𝔞 \\ 𝔸𝕒 𝕬𝖆 𝖠𝖺 𝗔𝗮 𝘈𝘢 𝘼𝙖 𝙰𝚊}
\newcommand\mgreek{𝚪𝛄 𝛤𝛾 𝜞𝜸 𝝘𝝲 𝞒𝞬}
\newcommand\mdigits{𝟏𝟐𝟑 𝟙𝟚𝟛 𝟣𝟤𝟥 𝟭𝟮𝟯 𝟷𝟸𝟹}

\begin{document}

{\normalsize Text mode (Noto Serif)}:
Plain characters here, abc ABC ΓΣΤ αβγ, then glyphs from unicode block Mathematical Alphamumeric Symbols:

\noindent\mlatin

\noindent\mgreek

\noindent\mdigits

{\normalsize Maths mode (DejaVu Math)}:
MAS glyphs:

\noindent$\mlatin \\
\mgreek \\
\mdigits$
\end{document}

So to do everything in sans, it should be a case of selecting a sans for the text mode, and in unicode-math mapping all the math styles to sans (range XX -> sf), I would expect. I'll do an experiment.

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.