[texhax] getting Cyrillic math characters

Phillip E. Parker phil at math.wichita.edu
Wed Dec 12 18:55:43 CET 2007


On 07/18/2007 at 05:35 AM, "Phil Parker"<phil at math.wichita.edu> wrote:
>I tried looking in the places I know about, especially the FAQ, but came up
>empty -- probably because I don't know how to find it.

As far as I can tell now, actually because it doesn't exist.

>What's the easiest way to use single Cyrillic characters (e.g., "sha" for the
>Shafarevich-Tate group) as operator-like entities in math mode in LaTeX?

It turned out none of the answers I got were correct. The correct solution is a mere four lines of code:

 \DeclareFontFamily{U}{wncy}{}
 \DeclareFontShape{U}{wncy}{m}{it}{<->wncyi10}{}
 \DeclareSymbolFont{UWCyr}{U}{wncy}{m}{it}
 \DeclareMathSymbol{\hol}{\mathalpha}{UWCyr}{"10}

This sets up the "Yu" character as \hol. Consulting a font table (e.g., in the AMS manual for AMSFonts 2.2) one can set up others.

Thanks to Barbara Beeton for providing me with an "obsolete" AMS style file (not distributed with AMSFonts currently) that provided half the answer.

It's too bad the present font scheme is so arcane. Doing the same thing required only one line of code under NFSS 1 (c. 1992).

-- 
    Phil Parker
--------------------------------------------
URL http://www.math.wichita.edu/~pparker/
Random quote:
  Amusement is the happiness of those who cannot think.
  ---Alexander Pope




More information about the texhax mailing list