Now some volunteer contacts me and the project begins. Thanks go to all the readers.

Sometimes we need to call for upright Greek lowercase letters compatible with the computer modern italic ones in shapes. Here is a solution for which XeLaTeX couldn't be used. And as follows @David Carlisle also gives a solution involving the unicode-math package which may be clashed with some other packages, for example, the mathspec package. So it's necessary to create a single and smart package to invoke computer modern upright greek lowercase letters as mathematical symbols.

Now I've created the regular and bold OTF font files for them, then who can write a package maybe called cmupgreek (there is already a upgreek package for upright Greek letters from the Euler or Adobe Symbol fonts)?

The following is the screen shots for shapes of them.

enter image description here

enter image description here

The commands for them are as follows, and we could get the bold ones if we use \mathbf{}, \boldmath and so on.

Command Unicode
\upalpha 03B1
\upbeta 03B2
\upgamma 03B3
\updelta 03B4
\upepsilon 03B5
\upzeta 03B6
\upeta 03B7
\uptheta 03B8
\upiota 03B9
\upkappa 03BA
\uplambda 03BB
\upmu 03BC
\upnu 03BD
\upxi 03BE
\upomicron 03BF
\uppi 03C0
\uprho 03C1
\upsigma 03C3
\uptao 03C4
\upupsilon 03C5
\upphi 03C6
\upchi 03C7
\uppsi 03C8
\upomega 03C9
\upvartheta 03D1
\upvarphi 03D5
\upvarpi 03D6
\upvarsigma 03D8
\upvarkappa 03F0
\upvarrho 03F1
\upvarepsilon 03F5
  • Maybe a stupid question, but what does this provide that is not in latin modern math and/or computer modern book, for example? Are the glyphs different? How?
    – mickep
    Jul 7, 2022 at 16:35
  • @mickep These up Greek lowercase letters are not in LaTeX, but sometimes we need them.
    – M. Logic
    Jul 7, 2022 at 16:41
  • Why not using, for example, the options given in the answers to this question?
    – Vincent
    Jul 7, 2022 at 16:42
  • @Vincent 1. XeLaTeX could not be used; 2. the slant angles are different that it's not convenient to do that while I have adjusted them in the font files uniformly.
    – M. Logic
    Jul 7, 2022 at 16:45
  • And \mupalpha and so on (using unicode-math) is not what you want? I assume you use luatex/xetex.
    – mickep
    Jul 7, 2022 at 16:48

1 Answer 1


enter image description here

Any Unicode Math font includes Greek in upright, italic, bold upright, bold italic, bold sans serif and slanted bold sans serif. unicode-math makes these available using \sym... commands, or you can simply type the characters directly: Ξ±Ξ²Ξ³π›‚π›ƒπ›„π›Όπ›½π›ΎπœΆπœ·πœΈπ°π±π²πžͺ𝞫𝞬 (which also works in other contexts such as web pages).







this shows the Latin Modern font, so in the style of Computer Modern, but the same input works with any font. Adding \setmathfont{Stix Two Math} produces

enter image description here

As requested, an example not using unicode-math and showing how you can use any font with Unicode Mathematical Greek with no special package support needed. (I loaded the fonts by font name, you may need to use the file name if you have not configured fontconfig).

The example loads (but does not use) mathspec so you need xelatex here (otherwise the example would also work in lualatex)

enter image description here


\usepackage{mathspec}% not needed here but just to show it is compatible

% _Any_ Font with Mathmatical Greek in Unicode positions will work here
% I am using some standard ones but you could use your new font

\newfontfamily\lmfont{Latin Modern Math}[NFSSFamily=lmmath]


\newfontfamily\stxfont{STIX Two Math}[NFSSFamily=stix2math]








  • But sometimes some package is clashed with the unicode-math package, for example, the mathespec package. So it's necessary to create a single and smart package to invoke computer modern up greek lowercase letters as mathematical symbols, f.
    – M. Logic
    Jul 8, 2022 at 2:40
  • @M.Logic No sorry you are mistaken. Latin Modern Math and NewComputerModernMath are both fonts in Computer modern style, with upper/lowercase Greek in upright,italic, bold upright and bold italic, you don't need any package at all (or even math mode) Just load the font with fontspec (or a primitive \font command and use the standard Unicode characters for Mathematical Greek: Ξ±Ξ²Ξ³π›‚π›ƒπ›„π›Όπ›½π›ΎπœΆπœ·πœΈπ°π±π²πžͺ𝞫𝞬 . As shown in this comment, you don't need to change fonts for the different styles. If you are using a package incompatible with loading a font, I am not sure what answer to give Jul 8, 2022 at 7:59
  • But sometimes we indeed invoke packages such as mathspec which may be clashed with unicode-math. Anyway, thanks very much.
    – M. Logic
    Jul 8, 2022 at 8:47
  • Looking around a bit there's mathspec - How to use .otf font file as math font in XeLaTeX? - TeX - LaTeX Stack Exchange but (annoyingly) there's no real solution there.
    – user202729
    Jul 8, 2022 at 8:49
  • 1
    @user202729 example added Jul 8, 2022 at 9:23

Not the answer you're looking for? Browse other questions tagged .