The upgreek package for LATEX2ε

Walter Schmidt

(v2.0 – 2003/02/12)

 

The default CM math fonts used by TEX do not include upright lowercase Greek characters, and many alternative math font sets don’t, either. (There are math fonts providing only an upright Greek alphabet, but that’s a different story.) However, mathematical constants such as π = 3.14... are sometimes required to be typeset in roman (i.e., upright) style, or one may need upright Greek to designate elementary particles.

As a workaround, the LATEX package upgreek makes the upright Greek characters from the ‘Euler’ or ‘Adobe Symbol’ typefaces available as math symbols. The lowercase letters are named \upalpha, \upbeta etc., whereas \Updelta, \Upgamma etc. create upper case.

Just like \alpha, \beta etc., these symbols work only in math mode, and their size is properly adjusted, when they are used in superscripts, subscripts or fractions.

At first sight, providing also the uppercase letters seems pointless, since \Delta, \Gamma, etc. are also upright by default. However, it may be useful to have all upright Greek letters available in the same style. Note that the uppercase letters were intentionally not named \upDelta etc., so as not to clash with other existent macro packages.

The typeface is selected using a package option, so you can choose what blends best with the other fonts used in your document:

[Euler]  Euler Roman/Bold (default)

[Symbol]  Adobe Symbol

[Symbolsmallscale]  Adobe Symbol, scaled down to 90% of its natural size. (New feature in version 2.0 !)

Note that \upmu should normally not be used as the prefix for physical units, meaning 10−6. The mu symbol to be used there is to be taken from the text font, and most Latin text fonts do actually include a suitable Greek mu, which can be accessed as \textmu. Most likely – depending on the encoding of your text fonts – you need to load the package textcomp for this purpose. If, however, there is no mu in your text fonts, using \upmu is still better than nothing. See also the gensymb package, which is distributed from the same CTAN directory than upgreek: It provides a command for ‘micro’ that works in both text and math mode and uses either \textmu or \upmu, depending on the available character sets.

用户登录