2

I'm trying to find a way of writing $\gamma$, and possible other lower-case Greek letters, in a mathbb-like style. What command/package should I use for that?

I tried the solution mentioned in one of the answers of this question but this does not seem to work.

The solution proposed in the accepted answer to this question technically works. But the font is not satisfactory.

So is there a package where the black-board version of a $\gamma$ looks good?

verifying
  • 465
  • 2
  • Thanks for the link. Technically speaking yes. But the $\bbgamma$ in the package looks so ugly, that I will need to keep searching. I will edit the question. – verifying Mar 14 '20 at 09:31
  • 2
    There are various (math) fonts that support this character, which you can use with unicode-math. See https://www.fileformat.info/info/unicode/char/213d/fontsupport.htm for a list (click on View All to see the actual character rendering). There are many different approaches in the design of this character, maybe you find one that you like. – Marijn Mar 14 '20 at 14:05
  • @Marijn Thank you for posting this link. The site is a gem. – CampanIgnis Mar 14 '20 at 14:15
  • @Marijn -- rather than closing this as a duplicate, your linked reference is worth an answer. – barbara beeton Mar 14 '20 at 15:01
  • 1
    @CampanIgnis I see that my comment-converted-into-answer is basically the same as your answer in the linked question, including the link to fileformat.info - but I used more fonts :) – Marijn Mar 14 '20 at 21:20
  • 1
    @Marijn I added the link after reading the comment so that future readers of my answer can benefit from it, too. – CampanIgnis Mar 14 '20 at 21:39

1 Answers1

2

The double struck (blackboard bold) lower case gamma is part of Unicode, as well as the upper case gamma, lower and upper case pi, and upper case sigma (but actually that is the double struck sum symbol, that happens to be a sigma).

If you have a (math) font that defines these characters then you can use them with the unicode-math package with XeLaTeX or LuaLaTeX. Various fonts have a different design for these characters, so you can choose which one you like best.

Code with some examples:

\documentclass{article}
\usepackage{fontspec}
\usepackage{unicode-math}
\begin{document}
\setmathfont{Symbola}
Symbola: $\mathbb{\Gamma\gamma\Pi\pi\sum}$

\setmathfont{DejaVu Sans}
DejaVu Sans: $\mathbb{\Gamma\gamma\Pi\pi\sum}$

\setmathfont{DejaVu Serif}
DejaVu Serif: $\mathbb{\Gamma\gamma\Pi\pi\sum}$

\setmathfont{Code2000-rdLO.ttf}
Code2000: $\mathbb{\Gamma\gamma\Pi\pi\sum}$

\setmathfont{STIX}
STIX: $\mathbb{\Gamma\gamma\Pi\pi\sum}$

\setmathfont{seguisym.ttf}
Segoe UI Symbol: $\mathbb{\Gamma\gamma\Pi\pi\sum}$

\setmathfont{Asana Math}
Asana Math: $\mathbb{\Gamma\gamma\Pi\pi\sum}$

\setmathfont{Latin Modern Math}
Latin Modern: $\mathbb{\Gamma\gamma\Pi\pi\sum}$

\setmathfont{STIX}[range={\Bbbgamma}]
Latin Modern + STIX: $\mathbb{\Gamma\gamma\Pi\pi\sum}$

\end{document}

enter image description here

This example is largely based on https://www.fileformat.info/info/unicode/char/213d/fontsupport.htm (click 'View All' to see the gamma character in the fonts that I did not include in the code above).

Note that \setmathfont changes the font for all math characters, however you can also set the font for just a single character using the range parameter, as shown in the last example. The codes for the range can be found in the file unicode-math-table.tex.

Marijn
  • 37,699