Rationale
\TeX and \LaTeX were created with the (implicit) goal to create printed documents, mostly in English. In this context, using serif fonts as a default makes sense ; in particular, using serifs for math typefaces was a good default.
The language limitation was soon resolved by the introduction of (problem-specific) encodings which (more or less) solved the problem for alphabetic languages ; this was more awkward for large-glyph-sets languages.
Similarly, the use of various typefaces has been made possible by the creation of ad-hoc packages allowing the use of a lot of typefaces in \LaTeX.
However, \LaTeX is more and more used for the production of documents aimed at display use rather than printed use ; in this context, the use of sans serif typefaces is preferred (rightly or wrongly, I do not know) to serif typefaces . Again, specific packages (e. g. beamer) allow the use of sans typefaces, at east for text ; similarly, various packages allow for the (partial) replacement of serif math typefaces by sans typefaces.
This replacement is only partial : in all packages I am aware of, some symbols still are extracted from serif typefaces : large delimiters, summation and integral operators, various operators. The problem is that some of these operators an symbols "swear" horribly with most of the "sans math" symbols used by these packages.
Furthermore, the introduction of Unicode-enabled \TeX engines solved the encoding problem "the right (orthogonal) way", allowing a much easier use of non-ASCII languages ; they also introduced a set of very interesing new possibilities. Among them, the availability of Opentype "math fonts" (i. e. an Opentype font, with a "MATH" table describing (in exceeedingly fine detail) the available math glyphs and accents, their spacing, their correction(s) and possibly their kerning parameters), greatly simplifying the use of these fonts (while greatly complicating their creation).
However, there are various problems when trying to use the various "sans-math" packages with \XeTeX or \LuaLaTeX ; furthermore, the "serif math symbols" are still with us.
State of the problem
I am not aware of any "fully sans" Opentype font (i. e. a font where all the elements were designed for sans use) currently usable with an Unicode-enabled engine without using various "tricks" :
According to a recent review, there were 15 available "Opentype math fonts" :
- 11 freely available ;
- 1 freely available but abandoned ;
- 3 commercial.
All of them are serif fonts ; most of them directly borrow some of their symbols" from a serif font.
By definition of an "Opentype math font", these fonts already have sans alphabets ; but the other elements (script, fraktur, bbold, typewriter alphabets), math symbols and large symbols) are still serif-based. For post of these elements, the difference may be slight, but some of them jump at the eye of the reader...
Given the growing importance of producing "screen-ready" documents, and postulating that the current dislike for serif typefaces in this context is right, there is clearly a need for at least one sans-designed Opentype typeface. Which currently does not exists...
The question
Are you aware of an "Unicode sans math font" under development ?
EDIT, 9 months later :
Krishna's (GFS Neohellenic Math) and Henri Menke's (Fira Math) answersnow give us two sans-based Opentype typefaces. A very rough first comparison can be done by retyping the example given below by Henri Menke for Fira Math and recompiling it with GFS Neohellenic Math :
This appears readable, with no major problems, although one notes the presence of "serif-like" appendages at the ends of the top bar of the final "T" in Einsein's field equations, as well at the ends of the initial "S" of Einstein-Hilbert action. These appendages, which express a stylistic choice, do not break the readability of the font nor its overall style.
So we have now two possible solutions to compose math-rich consistent documents using a sans-based design. If the GUST stands by its intent to create a Déjà Vù Sans Math (as answered by Ulrike Fisher, and seen on a 2015 BachoTeX poster), we should get three possible bases for such a document. This should help to get rid of those zillions slides/Web pages where "modernist" sans-based designs horribly swear with Latin Modern (or worse, bitmapped Computed Modern....).
Note : I didn't (yet) check the contents of these fonts for completeness (the same work should also be done for the available Math serif fonts, by the way). This could be the subject of another question. Any takers ?
But the most difficult question is to find the right rationale for the use of one of these solutions over the other(s). Ideas ?
EDIT 7 years later (yes !)
It seems that some OpenType font have an "math" layout table, but do not (yet) advertize it. On my Debian system, the call
fc-list : family capability | grep otlayout | grep math | cut -d : -f 1 | sort | uniq | wc shows 26 fonts having an OpenType math layout. Among them, two are sans serif fonts not advertised as math fonts : FreeSans and DejaVu Sans. Furthermore, FreeSerif and DejaVu Serif also have an unadvertisd OpenType math layout. It is tempting to see if these fonts are indeed usable as math fonts.
Using a slight variation of the test case used previously :
\newcommand{\testmymath}[2]{ \setmainfont{#1} \setmathfont{#2} \textbf{(Quick) test of math typesetting of the #2 font.} \begin{itemize} \item Covariant derivative: \[ \nabla \symbf{X} = \tensor{X}{^\alpha_{;\beta}} \pdv{x^\alpha}% \otimes \dd{x^\beta} = \qty(\tensor{X}{^\alpha_{,\beta}} + \Gamma^{\alpha}_{\beta\gamma} \,% X^\gamma) \,\pdv{x^\alpha} \otimes \dd{x^\beta} \] \item Einstein's field equations: \[ G_{\mu\nu} \equiv R_{\mu\nu} - \frac{1}{2} R g_{\mu\nu} = \frac{8\pi G}{c^4} T_{\mu\nu} \] \item Schwarzschild metric: \[ c^2 \dd{\tau}^2 = \qty(1-\frac{r_{\mathrm{s}}}{r}) \, c^2 \ dd{t}^2 - \qty(1-\frac{r_{\mathrm{s}}}{r})^{-1} \dd{r}^2 - r^2 \underbrace{\qty(\dd{\theta}^2 + \sin^2 \theta \dd{\varphi}^2)}_{\dd{\Omega}^2} \] \item Einstein--Hilbert action: \[ S = \frac{1}{2\kappa} \int R \sqrt{-g} \dd[4]{x} \] \end{itemize} \clearpage } The results are as follows :
Reference : Latin Modern Math (along with Latin Modern Roman) :
In this page, all seems correct. One notes that in the last expression, the integral sign has the "right" height.
FreeSans
The results are mostly correct. However, one notes :
bad positioning of the lower part of the underbraced subexpression in the third expression ;
undersized integral sing in the last expression ;
the differentials in the third expression are rendered by serif 'd's.
DejaVu Sans
This is quite incorrect: this font cannot be used this way.
Similar tests on the "serif" variants of these two fonts give parallel results : FreeSerif gives a "mostly correct" typeset page, whereas DejaVu Serif is unusable.
These results suggest that
LuaLaTeX uses variously-sized variants of the integral symbol which are unavailable in FreeSans, where they get replaced by a single, text-sized symbol ;
similarly, the misplacement of the underbrace and its corresponing parts suggest incorrect metrics.
Those results should incite the FreeXxx fonts developpers to develop this aspect of their work : it seems that they are almost there...
On the DejaVu front, it seems that GUST's declaration of intention to build a sans serif DejaVu math font has not (yet) been completed. FWIW, the same test led on the Tex Gyre Pagella / Tex Gyre Pagella Math gives good results.
Any further information on this subject will be welcomed. Similarly, I'd like to have an expert advice on my hypotheses about the reasons of FreeSans failures.
HTH,










kpfontsüackage) yesterday. See also tex.stackexchange.com/questions/19597