I realize similar questions have been asked before but I am not satisfied with any of the answers I've seen. I would like to use the Cyrillic letter Ш to denote a particular group in mathematics. Most solutions involve using OT2 or T2A encoding; for example, at http://math.berkeley.edu/~vojta/tex/samp-l/sha.html. However, this makes the other text in the document look bad.
For example, using the solution above, I get

while I would like to have

The first seems to be shaded strangely and the characters don't seem to align right.
Does anyone know how I can write the character Ш (in math mode) without changing the default font for the rest of the text?


amsfontspackage. – egreg Jul 19 '13 at 20:43wncyfonts, there is a "recipe" for exactly this in the ams author faq. no extra packages needed. if you are happy with this suggestion, i will post the actual code as an answer. – barbara beeton Jul 19 '13 at 21:01\DeclareFontEncoding{OT2}{}{} % to enable usage of cyrillic fonts \newcommand{\textcyr}[1]{% {\fontencoding{OT2}\fontfamily{wncyr}\fontseries{m}\fontshape{n}% \selectfont #1}} \newcommand{\Sha}{{\mbox{\textcyr{Sh}}}}(works both in text and math modes). – Watson Feb 02 '21 at 19:55