6

I am using Lualatex with Latin Modern as math font. I want to produce mathsf greek symbols. However, it seems that it doesn't work for greek symbols (Using \setmathfont[\range=mathsf]{Latin Modern Math}). In regular pdflatex \mathsf{\greekletter} produces an sans serif greek symbol. So I wonder, is this also possible in lualatex? Preferably the same font as regular pdflatex (I think it's CM).

Kind Regards

  • Welcome to TeX.SX! As far as I can see, there is no sans serif mathematical Gamma in Unicode, just the bold version. :( – egreg Sep 10 '15 at 20:24
6

For reasons that I find very mysterious, Unicode has the full range of Greek in sans serif bold, upright and italic, but it doesn't cover sans serif Greek in medium weight; to wit, there are

MATHEMATICAL SANS-SERIF BOLD CAPITAL GAMMA (U+1D758)
MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL GAMMA (U+1D792)

and the other Greek letters (upper and lower case), but no medium weight ones.

So it's not surprising that \symsf{\Gamma} (or \mathsf{\Gamma} in an older version of unicode-math) gives no different symbol: there's none that satisfies the request.

You can get through with \textsf:

\documentclass{article}
\usepackage{amsmath}
\usepackage{unicode-math}

\begin{document}
$\Gamma\ne\textsf{\upshape Γ}\ne\symbfsf{\Gamma}$

$Γ\ne\textsf{\upshape Γ}\ne\symbfsf{Γ}$
\end{document}

enter image description here

A kludge, I know, but I can't offer any better. Of course the sans serif font defined in the document should support Greek.

  • 5
    the unicode technical committee has a somewhat misguided fixation that symbols need to be assigned in nicely defined blocks, and they therefore assigned a single 2(hex)k block to the math alphanumerics. i'm not really sure how they managed to decide to omit the lightface sans greek (i'm pretty sure i was there when they did it!), but i'm doing the best i can to get the omission reversed. (i've provided documentation citing nist on the international system of units; if anyone has better documentation than that, please let me know.) – barbara beeton Sep 10 '15 at 20:52

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.