I'm looking for an upright Greek font for single Greek characters (like "β-decay" or "µ-metal") which fits to the default CM/latin style, i.e. the upright version of the default italic math mode Greek letters (\beta
, \mu
).
The "default" upright Greek font (should be cbgreek
), which is used when writing with babel
or with the textgreek
package (\textbeta
, \textmu
), doesn't quite fit to the CM/latin font, especially the µ symbol. There are packages replacing the entire font families, e.g. mathdesign
or kpfonts
, providing a complete set of Greek, but none of them was made for CM/latin. upgreek
uses another font for math mode Greek (euler
I guess, also accessible through textgreek
with the respective option) which also doesn't quite fit with CM/latin.
I would already give up if it wasn't for the µ used by the siunitx
package. Its default "micro" prefix (\si{\micro}
) fits perfectly with CM/latin (see comparison below) and I wanted to know whether that µ is just a unique character of the CM font or whether there's a chance to also get an upright β and other letters in exactly that font. Also, how does the siunitx
package get that µ? The characters µ (micro symbol) and μ (greek letter mu) print by default with the same character in cbgreek
with UTF-8 encoding (see below)…
Here's a MWE (pdflatex):
\documentclass{minimal}
\usepackage[utf8]{inputenc}
\usepackage{siunitx}
\usepackage{textgreek}
\usepackage{upgreek}
\begin{document}
m\si{\micro}\textmu $\mu$
\textbeta $\beta$
$\upmu \upbeta$
µμβ % U+00B5 (micro symbol) U+03BC (greek lower case mu) U+03B2 (greek lower case beta)
\end{document}
Result:
Best Answer
I realize I’m a few years late here, but as of 2018, we can stop doing workarounds like the earlier answers, clever and impressive as they are.
The simplest approach is just to load
unicode-math
and use\symup{\alpha}
and so on, or to get that by default, loadunicode-math
with the[math-style=upright]
option. Latin Modern Math, the default math font forunicode-math
, contains an upright Greek math alphabet, and so so most other OpenType math fonts.The Computer Modern Unicode project has a font very similar to the unslanted italics: CMU Serif Upright Italic. (It does not come in bold, but you might fall back on the
FakeBold=
feature fromfontspec
or use the defaults.) You can load this only for upright math letters, as follows:You can also load this font with the
fontspec
package, and there’s an option to load it to replace the italic font in the CMU family, or load it as the normal font and the slanted italic as its companion.